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

jbe command line options?

The Jazz doc says that the JBE command line options can be seen by running
jbe -h

However, doing so gives me an error:

$ ./jbe -h
CRRTC3501E: Missing required argument "-repository".

(Environment: Linux)

So how do I view these options?

Also, is there an option to have jbe send its logs to a user-defined directory? Currently, it writes them in a subdir of ~/.eclipse (for me, that subdir is
com.ibm.team.build.engine.product_2.0.0.I200906081817_733680210/configuration/)

0 votes



2 answers

Permanent link
You should get more info printed out when the required command line arguments are not specified. Where in the doc does it say '-h' though? It's not required.

This is working for me using JBE from RTC 2.0.0.1 on Win XP:


C:\RTC-2.0.0.1\jazz\buildsystem\buildengine\eclipse>jbe -vm c:\rtc-2.0.0.1\jazz\client\eclipse\jdk\bin\java
CRRTC3501E: Missing required argument "-repository".

Example usage: jbe -repository http://repository/jazz -userId buildUser

Required arguments:
-repository <repository address> (address of a Jazz repository)
-userId <user id> (user id of a user defined in the Jazz repository)

Optional arguments:
-engineId <engine id> (engine id of a build engine defined in the Jazz repository, default is "default")
-pass <password> (default is empty password)
-passwordFile <password file path> (path to a file created with -createPasswordFile)
-createPasswordFile <password file path> (for creating a password file)
-sleepTime <seconds> (sleep interval for build request polling, default is 30 seconds)
-verbose (for detailed logging of build engine activity)


Which Java runtime are you using? If it's the default, what do you get for java -version from the JBE directory? Try running with the JDK included in the Eclipse client, as in the example above. For more details, see:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#WhichJDK

0 votes


Permanent link
Also, is there an option to have jbe send its logs to a user-defined directory? Currently, it writes them in a subdir of ~/.eclipse (for me, that subdir is
com.ibm.team.build.engine.product_2.0.0.I200906081817_733680210/configuration/)


Do you mean error logs or the temporary build log? The temporary build log is written to the current directory, which normally is the directory containing JBE. You can, however, run JBE from any directory.

If it's an error log, then it's possible the Eclipse runtime chooses that location if it can't write to the configuration directory under JBE's eclipse directory. How are your permissions set up (Linux permissions, not Jazz)?

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: Sep 23 '09, 11:08 a.m.

Question was seen: 8,950 times

Last updated: Sep 23 '09, 11:08 a.m.

Confirmation Cancel Confirm