It's all about the answers!

Ask a question

Multiple JBE's and build definitions


Tom Frauenhofer (1.3k58435) | asked Jan 14 '08, 2:18 p.m.
Hi

I've noticed that the Build Definition contains things like "Load
Directory" and "Working Directory".

Both of these attributes are coded centrally at the Jazz Server but they
refer to the filesystem on the JBE machine. If you want your Build
Definition to be independent of the system running the JBE, it seems
that you should avoid coding an absolute path in both of these attributes.

I understand that relative paths are resolved using the JBE's CWD.

If you do code absolute paths then you can't move the JBE to a system
that doesn't have the same filesystem structure .. correct ??

So, using relative paths for Build Definitions would seem to be a good
best-practice ??

Cheers

2 answers



permanent link
Ryan Manwiller (1.3k1) | answered Jan 15 '08, 12:48 p.m.
JAZZ DEVELOPER
David, you are correct. I would use relative paths for any path in the build
definition. I'd also use a forward slash for path separators, which will
enable the definition to work on windows or linux build machines.

Relative path support is new in beta2, so you may still see a few people
using absolute paths.

We support both, but relative paths is the recommended approach now.


Ryan Manwiller
Jazz Team Build Lead

permanent link
Tom Frauenhofer (1.3k58435) | answered Jan 15 '08, 2:38 p.m.
Great .. thanks

Ryan Manwiller wrote:
David, you are correct. I would use relative paths for any path in the
build definition. I'd also use a forward slash for path separators,
which will enable the definition to work on windows or linux build
machines.

Relative path support is new in beta2, so you may still see a few people
using absolute paths.

We support both, but relative paths is the recommended approach now.


Ryan Manwiller
Jazz Team Build Lead

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.