continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wim Deblauwe <wim.debla...@gmail.com>
Subject Re: Multiproject with maven 2
Date Thu, 10 Nov 2005 16:25:39 GMT
Hmmm... not so fine. The builds starts but then I see a problem in the log
file:

jvm 1 | 2005-11-10 17:21:45,984 [Thread-2] WARN SQL - Object with id "32"
not found !
jvm 1 | 2005-11-10 17:21:46,000 [Thread-2] WARN SQL - Object with id
"81[OID]org.apache.maven.continuum.model.project.ProjectDependency" not
found !
jvm 1 | 2005-11-10 17:21:46,015 [Thread-2] WARN SQL - Object with id
"82[OID]org.apache.maven.continuum.model.project.ProjectDependency" not
found !
jvm 1 | 2005-11-10 17:21:46,031 [Thread-2] WARN SQL - Object with id
"83[OID]org.apache.maven.continuum.model.project.ProjectDependency" not
found !
jvm 1 | 2005-11-10 17:21:46,062 [Thread-2] ERROR General - Parameter
RDBMS.SCO.UpdateFkRequestFailed doesn't exist for bundle
java.util.PropertyResourceBundle@ca677f
jvm 1 | 2005-11-10 17:21:46,078 [Thread-2] ERROR
TaskQueueExecutor:check-out-project - Error while executing task.
jvm 1 | org.codehaus.plexus.taskqueue.execution.TaskExecutionException:
Error checking out project.
jvm 1 | at
org.apache.maven.continuum.scm.queue.CheckOutTaskExecutor.executeTask(
CheckOutTaskExecutor.java:69)
jvm 1 | at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run
(ThreadedTaskQueueExecutor.java:103)
jvm 1 | at java.lang.Thread.run(Thread.java:595)
jvm 1 | Caused by: javax.jdo.JDODataStoreException
jvm 1 | NestedThrowables:
jvm 1 | SQL Exception: UPDATE on table 'PROJECTDEPENDENCY' caused a
violation of foreign key constraint 'PROJECTDEPENYB_FK1' for key (32). The
statement has been rolled back.
jvm 1 | at org.jpox.store.rdbms.scostore.InverseListStore.updateElementFk(
InverseListStore.java:436)
jvm 1 | at
org.jpox.store.rdbms.scostore.InverseListStore.validateElementForWriting(
InverseListStore.java:967)
jvm 1 | at org.jpox.store.rdbms.scostore.InverseListStore.internalAdd(
InverseListStore.java:651)
jvm 1 | at org.jpox.store.rdbms.scostore.AbstractListStore.add(
AbstractListStore.java:310)
jvm 1 | at org.jpox.sco.List.add(List.java:662)
jvm 1 | at org.jpox.sco.SCOUtils.updateListWithListElements(SCOUtils.java
:564)
jvm 1 | at org.jpox.sco.List.attachCopy(List.java:335)
jvm 1 | at org.jpox.state.AttachFieldManager.storeObjectField(
AttachFieldManager.java:107)
jvm 1 | at org.jpox.state.StateManagerImpl.providedObjectField(
StateManagerImpl.java:2394)
jvm 1 | at org.apache.maven.continuum.model.project.Project.jdoProvideField(
Project.java)
jvm 1 | at org.apache.maven.continuum.model.project.Project.jdoProvideFields
(Project.java)
jvm 1 | at org.jpox.state.StateManagerImpl.provideFields(
StateManagerImpl.java:2732)
jvm 1 | at org.jpox.state.StateManagerImpl.internalAttachCopy(
StateManagerImpl.java:3518)
jvm 1 | at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java
:3446)
jvm 1 | at org.jpox.AbstractPersistenceManager.attachCopy(
AbstractPersistenceManager.java:1644)
jvm 1 | at org.jpox.sco.List.attachCopy(List.java:326)
jvm 1 | at org.jpox.state.AttachFieldManager.storeObjectField(
AttachFieldManager.java:107)
jvm 1 | at org.jpox.state.StateManagerImpl.providedObjectField(
StateManagerImpl.java:2394)
jvm 1 | at
org.apache.maven.continuum.model.project.ProjectGroup.jdoProvideField(
ProjectGroup.java)
jvm 1 | at
org.apache.maven.continuum.model.project.ProjectGroup.jdoProvideFields(
ProjectGroup.java)
jvm 1 | at org.jpox.state.StateManagerImpl.provideFields(
StateManagerImpl.java:2732)
jvm 1 | at org.jpox.state.StateManagerImpl.internalAttachCopy(
StateManagerImpl.java:3518)
jvm 1 | at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java
:3446)
jvm 1 | at org.jpox.AbstractPersistenceManager.attachCopy(
AbstractPersistenceManager.java:1644)
jvm 1 | at org.jpox.state.AttachFieldManager.storeObjectField(
AttachFieldManager.java:120)
jvm 1 | at org.jpox.state.StateManagerImpl.providedObjectField(
StateManagerImpl.java:2394)
jvm 1 | at org.apache.maven.continuum.model.project.Project.jdoProvideField(
Project.java)
jvm 1 | at org.apache.maven.continuum.model.project.Project.jdoProvideFields
(Project.java)
jvm 1 | at org.jpox.state.StateManagerImpl.provideFields(
StateManagerImpl.java:2732)
jvm 1 | at org.jpox.state.StateManagerImpl.internalAttachCopy(
StateManagerImpl.java:3518)
jvm 1 | at org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java
:3446)
jvm 1 | at org.jpox.AbstractPersistenceManager.attachCopy(
AbstractPersistenceManager.java:1644)
jvm 1 | at org.jpox.AbstractPersistenceManager.attachCopy(
AbstractPersistenceManager.java:1660)
jvm 1 | at org.apache.maven.continuum.store.JdoContinuumStore.updateObject(
JdoContinuumStore.java:475)
jvm 1 | at org.apache.maven.continuum.store.JdoContinuumStore.updateProject(
JdoContinuumStore.java:636)
jvm 1 | at
org.apache.maven.continuum.core.action.CheckoutProjectContinuumAction.execute
(CheckoutProjectContinuumAction.java:97)
jvm 1 | at
org.apache.maven.continuum.scm.queue.CheckOutTaskExecutor.executeTask(
CheckOutTaskExecutor.java:63)
jvm 1 | ... 2 more
jvm 1 | Caused by: SQL Exception: UPDATE on table 'PROJECTDEPENDENCY' caused
a violation of foreign key constraint 'PROJECTDEPENYB_FK1' for key (32). The
statement has been rolled back.
jvm 1 | at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
jvm 1 | at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
jvm 1 | at
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)
jvm 1 | at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source)
jvm 1 | at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source)
jvm 1 | at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
jvm 1 | at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
jvm 1 | at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
jvm 1 | at org.jpox.store.rdbms.scostore.BaseContainerStore.executeUpdate(
BaseContainerStore.java:97)
jvm 1 | at org.jpox.store.rdbms.scostore.InverseListStore.updateElementFk(
InverseListStore.java:421)
jvm 1 | ... 38 more
jvm 1 | 2005-11-10 17:21:46,203 [Thread-2] INFO ContinuumScm - Checking out
project: 'moduleA', id: '37' to 'C:\Program Files\Apache Software
Foundation\continuum-1.
0\bin\win32\..\..\apps\continuum\working-directory\37'.
jvm 1 | 2005-11-10 17:21:46,437 [Thread-2] INFO ScmManager - Checking out
'Z:\root\moduleA' to 'C:\Program Files\Apache Software Founda
tion\continuum-1.0\bin\win32\..\..\apps\continuum\working-directory\37'.
jvm 1 | 2005-11-10 17:21:49,265 [Thread-2] INFO ContinuumScm - Checked out
126 files.


regards,

Wim


2005/11/10, Wim Deblauwe <wim.deblauwe@gmail.com>:
>
> ok, that works. Should I file a bug that it does not work with the file
> upload or is there already a bug for that?
>
> regards,
>
> Wim
>
> 2005/11/10, Emmanuel Venisse <emmanuel@venisse.net>:
> >
> > You must activate file protocol, it's disabled by default for security
> > reason.
> >
> > open $CONTIUUM_HOM/apps/continuum/conf/application.xml
> > and uncomment line <allowedScheme implementation="java.lang.String">file</allowedScheme>
> >
> > and restart continuum
> >
> > Emmanuel
> >
> > Wim Deblauwe a écrit :
> > > I first tried with the upload file in the structure as you defined and
> > it
> > > fails with this cryptic error:
> > >
> > > Could not download
> > > file:/C:/DOCUME~1/WIM/LOCALS~1/Temp/summit-/moduleA/pom.xml:
> > > C:\DOCUME~1\WIM\LOCALS~1\Temp\summit-\moduleA\pom.xml (The system
> > cannot
> > > find the path specified)
> > >
> > > Note that there is no number after "summit-".
> > >
> > > With the url:
> > >
> > > how do I do this for a file?
> > >
> > > Normally it should be:
> > >
> > > file:///Z:/root/pom.xml
> > >
> > > but continuum states that this is not a valid url
> > >
> > > regards,
> > >
> > > Wim
> > >
> > >
> > >
> > > 2005/11/10, Emmanuel Venisse <emmanuel@venisse.net>:
> > >
> > >>ok, can you test with the url field? We don't allow project with
> > module in
> > >>upload feature
> > >>because like you can see in your log, uploaded file go to your temp
> > >>directory and your
> > >>modules isn't there when continuum parse pom file.
> > >>
> > >>Let me know if it works.
> > >>
> > >>Emmanuel
> > >>
> > >>Wim Deblauwe a écrit :
> > >>
> > >>>I use the option where I choose the pom.xml from a location on my
> > >>
> > >>harddrive,
> > >>
> > >>>so that would be upload pom I guess.
> > >>>
> > >>>regards,
> > >>>
> > >>>Wim
> > >>>
> > >>>2005/11/10, Emmanuel Venisse < emmanuel@venisse.net>:
> > >>>
> > >>>
> > >>>>Thanks for the issue.
> > >>>>
> > >>>>Do you have upload pom or do you use the url feature?
> > >>>>
> > >>>>Emmanuel
> > >>>>
> > >>>>Wim Deblauwe a écrit :
> > >>>>
> > >>>>
> > >>>>>That is really a pity. I would definetly need this to be able
to
> > use
> > >>>>>continuum with multiproject of maven 2. So I filed an issue:
> > >>>>>
> > >>>>>http://jira.codehaus.org/browse/CONTINUUM-437
> > >>>>>
> > >>>>>hope to see this fixed soon.
> > >>>>>
> > >>>>>regards,
> > >>>>>
> > >>>>>Wim
> > >>>>>
> > >>>>>
> > >>>>>2005/11/10, Emmanuel Venisse < emmanuel@venisse.net>:
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>>it doesn't work for the moment. Actually, you can only modules
in
> > >>>>>>sub-directories of
> > >>>>>>parent project like this :
> > >>>>>>root
> > >>>>>>+ pom.xml <= your parent project
> > >>>>>>+ moduleA
> > >>>>>>+ moduleB
> > >>>>>>
> > >>>>>>and define in pom.xml modules like this :
> > >>>>>><modules>
> > >>>>>><module>moduleA</module>
> > >>>>>><module>moduleB</module>
> > >>>>>></modules>
> > >>>>>>
> > >>>>>>Please, file an issue for this.
> > >>>>>>
> > >>>>>>Emmanuel
> > >>>>>>
> > >>>>>>Wim Deblauwe a écrit :
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>>Hi,
> > >>>>>>>
> > >>>>>>>I'm testing with multiproject like this:
> > >>>>>>>
> > >>>>>>>root
> > >>>>>>>+ project
> > >>>>>>>+ moduleA
> > >>>>>>>+ moduleB
> > >>>>>>>
> > >>>>>>>each one has a pom.xml defined. The pom of the project
has a
> > >>
> > >><modules/>
> > >>
> > >>>>>>>section as follows:
> > >>>>>>>
> > >>>>>>><modules>
> > >>>>>>><module>../moduleA</module>
> > >>>>>>><module>../moduleB</module>
> > >>>>>>></modules>
> > >>>>>>>
> > >>>>>>>When I try to add the pom of "project", continuum fails
with an
> > >>
> > >>error:
> > >>
> > >>>>>>>Could not download
> > >>>>>>>file:/C:/DOCUME~1/WIMD/LOCALS~1/Temp/summit-4/../moduleA/pom.xml:
> > >>>>>>>C:\DOCUME~1\WIMD\LOCALS~1\Temp\summit-4\..\moduleA\pom.xml
(The
> > >>
> > >>system
> > >>
> > >>>>>>>cannot find the path specified)
> > >>>>>>>
> > >>>>>>>any ideas?
> > >>>>>>>
> > >>>>>>>regards,
> > >>>>>>>
> > >>>>>>>Wim
> > >>>>>>>
> > >>>>>>
> > >>>>>>
> > >>
> > >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message