It's all about the answers!

Ask a question

jbe -data flag sometimes ignored?


Frederic Mora (13811518) | asked Sep 23 '09, 11:20 a.m.
I had a problem with my JBE invocation. I was invoking is as follows:


/jbe -vm /opt/IBM/RTC_Client/jazz/client/eclipse/jdk/bin/java \
-repository https://$BUILDHOST/jazz -userId $JBEUID \
-passwordFile jbepass.txt -engineId buildengine2 \
-sleeptime 5 \
-data $DATADIR


I am running as a non-root user $JBEUID, $DATADIR is a dir that this user can write to.

Yes, I had an error in the log telling me that jbe could not create its .metadata dir in the default (root-owned) location. So the -data option seemed ignored.

I restarted the same command with the -data option right after the repository option:


/jbe -vm /opt/IBM/RTC_Client/jazz/client/eclipse/jdk/bin/java \
-repository https://$BUILDHOST/jazz -userId $JBEUID \
-data $DATADIR \
-passwordFile jbepass.txt -engineId buildengine2 \
-sleeptime 5


Now I see the .metadata being created in the right place in $DATADIR.

This test seems to show that -data is ignored if its the last parameter. Can someone please reproduce this test?

Thank you,

--Fred Mora

One answer



permanent link
Nick Edgar (6.5k711) | answered Sep 25 '09, 9:07 p.m.
JAZZ DEVELOPER
I'm unable to reproduce the problem (using JBE from RTC 2.0.0.1 on Windows XP). The command line I'm using is:

jbe -vm c:\rtc-2.0.0.1\jazz\client\eclipse\jdk\bin\java -repository https://jazzdev.torolab.ibm.com:9443/jazz
-userId nedgar -pass <mypassword> -engineId engine1 -sleepTime 5 -data c:\temp\workspace


The workspace .metadata directory gets created under c:\temp\workspace as expected.

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.