Re: Setting classpath when executing jar file

2006-07-09 Thread Ralf Sigmund
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

AW: Setting classpath when executing jar file

2006-07-07 Thread Jan.Materne
[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

Re: Setting classpath when executing jar file

2006-07-07 Thread Dominique Devienne
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

Re: Setting classpath when executing jar file

2006-07-06 Thread chuanjiang lo
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"> >

AW: Setting classpath when executing jar file

2006-07-06 Thread Jan.Materne
>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

Setting classpath when executing jar file

2006-07-06 Thread chuanjiang lo
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