Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

component load rules

When creating a build definition including multiple components that have a same root folder, I'm facing a problem when they are loaded.

C1=>src/java
C2=>src/java

I'm getting a conflict that the directory already exists.
Any ideas how this can be avoided? Can each component be loaded into a separate dir to avoid this conflict? And of course I would need to know which dir since I'd like to use it in the master build script.

Thx,
Steve



Fetching files to fetch destination "D:\rtc_build\workspace\_pOtJUF3TEd-Av4bvzQEKbw" ...
com.ibm.team.build.internal.scm.SourceControlUtility$2: Status WARNING: com.ibm.team.filesystem.client code=2 Loading the directories in the file system would overwrite/remove existing directories. null children=[Status WARNING: com.ibm.team.filesystem.client code=204 build (collides with other components being loaded) null Status WARNING: com.ibm.team.filesystem.client code=204 src (collides with other components being loaded) null]
at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:371)
at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:193)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:628)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:466)
at java.lang.Thread.run(Unknown Source)
Contains: build (collides with other components being loaded)
Contains: src (collides with other components being loaded)

0 votes



7 answers

Permanent link
Thanks, yes it's planned for 3.0. I've subscribed you to the work item mentioned above (#111335).

0 votes


Permanent link
Just curious, was this in the product documentation, on jazz.net somewhere, or a recommendation by IBM support? If you have a pointer, I'd appreciate it.


I pm'd you with the info


Just to clarify: we -should- support optionally creating directories for the components when loading during a build, but it's not currently supported in 2.x, so if we're recommending that users not create top level directories, then that should be addressed.


I agree. Hope it will be included also in a 2.x fix if it's not too complicated to implement

0 votes


Permanent link
Just curious, was this in the product documentation, on jazz.net somewhere, or a recommendation by IBM support? If you have a pointer, I'd appreciate it.

Just to clarify: we -should- support optionally creating directories for the components when loading during a build, but it's not currently supported in 2.x, so if we're recommending that users not create top level directories, then that should be addressed.

0 votes


Permanent link
Who advised you not to use top-level folders? Was this from us, or an internal recommendation?


It was by the IBM, but more in the sence that a component can be loaded into it's proper directoty automatically and thus there would be no need to create that directory again insode the component.

0 votes


Permanent link
Who advised you not to use top-level folders? Was this from us, or an internal recommendation?

0 votes


Permanent link
Sorry, this is not currently supported in 2.0.0.x, but is planned for 3.0.
See 111335: Allow directories to be created for components during a build's load phase (for JBE and teamFetch Ant task).

Comment 1 suggests a workaround using the SCM CLI.

A simpler workaround is to add top-level folders to the components, e.g. project names like how Eclipse-based projects are supported.

Regards,
Nick


thx nick, the scm cli could do the trick for us. It's not that much work with ant I think.
We could add again the top foldes, although we were adviced not to put them, but this will require some updates of the basepaths in the different build scripts.

regards,
steve

0 votes


Permanent link
Sorry, this is not currently supported in 2.0.0.x, but is planned for 3.0.
See 111335: Allow directories to be created for components during a build's load phase (for JBE and teamFetch Ant task).

Comment 1 suggests a workaround using the SCM CLI.

A simpler workaround is to add top-level folders to the components, e.g. project names like how Eclipse-based projects are supported.

Regards,
Nick

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 20 '10, 11:28 a.m.

Question was seen: 8,840 times

Last updated: May 20 '10, 11:28 a.m.

Confirmation Cancel Confirm