It's all about the answers!

Ask a question

Can Component Load Rules maintain path information ?


Sean G Wilbur (87212421) | asked Jan 19 '11, 11:57 a.m.
JAZZ DEVELOPER
I've been refactoring shared libs and some builds that I have, and started using component load rules to ease the amount of download needed per build, that part is working just fine and the builds are buzzing along faster than ever.

http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp?topic=/com.ibm.team.build.doc/topics/r_scm_build_loadrules.html

My question: Can I maintain the path? Otherwise I am stuck with potentially different relative paths to the same files based on the load rules!

Load Rule

versionableName=/sharedlibs/junut.jar
versionableName=/sharedlibs/log4j.jar
versionableName=/project1/
versionableName=/project4/build.script



Result:
/-
-project1/
-junit.jar
-log4j.jar
-build.script

Desired Result:
/-
-/project1/
-/sharedlibs/junut.jar
-/sharedlibs/log4j.jar
-/project4/build.script

In this case all my build scripts are consistent can be oblivious to the potential load rules being used, and work the same everywhere. Perhaps there is another way to do this or I am going it about it wrong, so any suggestions or advice is appreciated.

-Sean

One answer



permanent link
David Lafreniere (4.8k7) | answered Jan 31 '11, 6:21 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
My question: Can I maintain the path? Otherwise I am stuck with potentially different relative paths to the same files based on the load rules!


Hi Sean,

Unfortunately the current behavior of "load rules" do not allow you to do that.

Please see the following work items in regards "load rule" functionality.

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=44004

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=85020


Also, for those of you who read this and may be interested in how load rules work, please see this link: http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp?topic=/com.ibm.team.build.doc/topics/r_scm_build_loadrules.html

Your answer


Register or 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.