Hi,
You can use properties when forming Class-Path
attribute of your jar like this:
where jar1 and jar2 properties holds the names of the
jar files you want to include. However, I am forced to
suppose that you have already constructed a classpath
that holds all your properties called
runtime-c
ank you!
From: Conor MacNeill <[EMAIL PROTECTED]>
Reply-To: "Ant Users List" <[EMAIL PROTECTED]>
To: Ant Users List <[EMAIL PROTECTED]>
Subject: Re: Classpath when executing JAR
Date: Tue, 12 Oct 2004 16:42:21 +1000
It's the same at the command line.
When you run a jar with
It's the same at the command line.
When you run a jar with
java -jar ...
java ignores the classpath. Presumably it expects the jar to specify its
classpath.
Conor
h2ooo x wrote:
Hi!
I have the following Ant (1.6.2) tasks defined,
The task "run" is exec