Re: [Fwd: Re: [architecture] Re: JPackages and ObjectWeb]
- To: debian-java@lists.debian.org
- Cc: David Walluck <david@anti-microsoft.org>, Eric Bruneton <Eric.Bruneton@rd.francetelecom.com>, Nicolas Mailhot <Nicolas.Mailhot@laPoste.net>, Discussion about JPackage project <jpackage-discuss@zarb.org>, architecture@objectweb.org, gentoo-java@gentoo.org
- Subject: Re: [Fwd: Re: [architecture] Re: JPackages and ObjectWeb]
- From: Jan Schulz <jasc.usenet@gmx.de>
- Date: Tue, 3 Feb 2004 00:55:35 +0100
- Message-id: <[🔎] 20040202235535.GA20984@katzien.de>
- Mail-followup-to: debian-java@lists.debian.org, David Walluck <david@anti-microsoft.org>, Eric Bruneton <Eric.Bruneton@rd.francetelecom.com>, Nicolas Mailhot <Nicolas.Mailhot@laPoste.net>, Discussion about JPackage project <jpackage-discuss@zarb.org>, architecture@objectweb.org, gentoo-java@gentoo.org
- In-reply-to: <[🔎] 20040202222857.GA9228@katzien.de>
- References: <4017009B.5050507@anti-microsoft.org> <[🔎] 200402021026.18018.Eric.Bruneton@rd.francetelecom.com> <[🔎] 1075718767.22070.2.camel@ulysse.olympe.o2t> <200402021720.07283.Eric.Bruneton@rd.francetelecom.com> <[🔎] 401EB00C.5090700@anti-microsoft.org> <[🔎] 20040202222857.GA9228@katzien.de>
Hallo Jan,
* Jan Schulz wrote:
>>``Make specifying the build classpath easy using either command line
>>switches of property files (and document it).''
>>currently we use `export CLASSPATH', how does this fit in? Note that a
>>build.xml using only properties cannot easily be used with our
>>`build-classpath' script.
>I think it means that you should NOT use hardcoded path, but expose
>such path to the buildscripts options.
And after reading it again, it should also mean, that you shouldn't
use such a thing:
--8<---------:- snip -:---------8<---------:- snip -:---------8<--
[...]
export CLASSPATH="$HOME/project/name1.jar:$HOME/project/name2.jar"
java -cp $CLASSPATH ...
--8<---------:- snip -:---------8<---------:- snip -:---------8<--
Instead use something like this:
--8<---------:- snip -:---------8<---------:- snip -:---------8<--
NAME1=$HOME/project/name1.jar
NAME2=$HOME/project/name2.jar
[ -r /etc/app.classpath ] && source /etc/app.classpath
export CLASSPATH="$NAME1:$NAME2"
java -cp $CLASSPATH ...
--8<---------:- snip -:---------8<---------:- snip -:---------8<--
Or simple wait until we have sorted the issue out and use the agreed
upon way. :)
Jan
--
Jan Schulz jasc@gmx.net
"Wer nicht fragt, bleibt dumm."
Reply to: