This works perfect for the and the tasks.
however i still could not find out how I should do the same for the excution
of an custom ant task.
everything is perfect for the but when I want to actually exceute
my own task the classpath defined in the is not used.
ralf
On 7/7/06, [EMAIL PROTECTE
[EMAIL PROTECTED]
>Gesendet: Freitag, 7. Juli 2006 16:41
>An: Ant Users List
>Betreff: Re: Setting classpath when executing jar file
>
>>
>>> classpathref="libraries">
>>
>>
>>
>
>The problem is in fact that always
The problem is in fact that always ignores any classpath
specified, because SUN's java does when using the -jar command line
switch. See the JDK Tools documentation (or my answer to the 'unusual'
post of the 4th of July...)
Use to be able to specify a classpath. --DD
Thanks
Appreciate your help
On 7/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>It seems like i'm not getting the classpath setting correctly
>hence there is an error in executing my jar file..
>
>
>
>
>
>
>
>
>classpathref="libraries">
>
>It seems like i'm not getting the classpath setting correctly
>hence there is an error in executing my jar file..
>
>
>
>
>
>
>
>
>classpathref="libraries">
>
>
>
>
>When trying to execute the jar file, the classes in other jars
>is not
It seems like i'm not getting the classpath setting correctly hence there is
an error in executing my jar file..
...
...
When trying to execute the jar file, the classes in other jars is not found.
How to correctly set the classpathref