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
|
7 answers
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 |
Sorry, this is not currently supported in 2.0.0.x, but is planned for 3.0. 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 |
Who advised you not to use top-level folders? Was this from us, or an internal recommendation?
|
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. |
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. |
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
I agree. Hope it will be included also in a 2.x fix if it's not too complicated to implement |
Thanks, yes it's planned for 3.0. I've subscribed you to the work item mentioned above (#111335).
|
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.