FW: [Anthill-pro] Project export & import
Ryan Smith
rws at urbancode.com
Thu Dec 7 09:27:58 CST 2006
Paul, can you email the entire contents of the XML export to
support at urbancode.com?
Are you exporting and importing to the same version of AnthillPro3?
Ryan Smith
Fink, Paul wrote:
> More on that.
>
> Here is the error in the log that kind da shows my point:
> Caused by: org.apache.derby.client.am.SqlException: INSERT on table
> 'STAMP_STYLE' caused a violation of foreign key constraint
> 'SS_STYLE_GROUP_FK' for key (4). The statement has been rolled back.
>
>
> -----Original Message-----
> From: anthill-pro-bounces at caladin.urbancode.com
> [mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Fink,
> Paul
> Sent: Thursday, December 07, 2006 9:08 AM
> To: anthill-pro at caladin.urbancode.com
> Subject: [Anthill-pro] Project export & import
>
>
> I maybe completely nuts but I don't see how this could ever work.
> OK, let's start at the top. I want to export a project from one system
> and import it to another. A quick look at the data shows, what looks
> like hard-coded keys. In the sample below it says the project uses STYLE
> GROUP 4 and ENVIROMENTAL GROUP 3.
>
> Unless I enter this data in the exact same manner that it was entered
> originally there would be no way to assure that the style group and
> environmental groups I want have the same keys they did on the old
> system.
>
> Am I wrong?
> PAul
> More on that.
> Here is the error in the log that shows my point.
>
> Caused by: org.apache.derby.client.am.SqlException: INSERT on table
> 'STAMP_STYLE' caused a violation of foreign key constraint
> 'SS_STYLE_GROUP_FK' for key (4). The statement has been rolled back.
>
>
> [Fink, Paul]
> <ID>31</ID>
> <VERSION>7</VERSION>
> <NAME>EPIC</NAME>
> <DESCRIPTION>EPIC Project builds and deploys</DESCRIPTION>
> <STATUS_GROUP_ID>4</STATUS_GROUP_ID>
> <STAMP_STYLE_GROUP_ID>4</STAMP_STYLE_GROUP_ID>
> <ENVIRONMENT_GROUP_ID>3</ENVIRONMENT_GROUP_ID>
> <DATA><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
> <project>
> <quiet-period-service-selector
> class="com.urbancode.anthill3.domain.project.QuietPeriodConfigChangeLog"
>
> <agent-filter
> class="com.urbancode.anthill3.domain.agentfilter.any.AgentFilterImplAny"
>
> <name/>
> </agent-filter>
> <should-cleanup>true</should-cleanup>
> </quiet-period-service-selector>
> <propertyList/>
> </project>
> ]]></DATA>
> </PROJECT>
>
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
--
===========================================================
Ryan Smith. 2044 Euclid Ave., Suite 600
Lead Developer Cleveland, Ohio 44115
Urbancode, Inc.
email: rws at urbancode.com
web: www.urbancode.com phone: 216-858-9000
web: www.anthillpro.com fax: 216-858-9602
===========================================================
More information about the Anthill-pro
mailing list