Le 18 avr. 2011 à 15:56, Felix Drueke a écrit :
> Hi,
>
> I think the usual procedure to set the classpath via Ivy is to use the
> cachepath-task.
> So I assume the following is a very common structure:
>
>
>
>
>
>
>
>
>
> classpathref="build.path" />
>
-Ursprüngliche Nachricht-
Von: merlin_the_happy_pig [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. September 2008 01:53
An: user@ant.apache.org
Betreff: Re: AW: Setting classpath for nested ant call
The nested ant call fails because of compilation errors (classpath wrong!).
So I need to set the
D]
> Gesendet: Freitag, 5. September 2008 17:00
> An: user@ant.apache.org
> Betreff: Setting classpath for nested ant call
>
>
> Ant newbie here. I need to call another ant task in a different build
> file, so I do:
>
> ...
>
> The problem is is that this ne
: Freitag, 5. September 2008 17:00
An: user@ant.apache.org
Betreff: Setting classpath for nested ant call
Ant newbie here. I need to call another ant task in a different build file, so
I do:
http://www.nabble.com/Setting-classpath-for-nested-ant-call-tp19333163p19333163.html
Sent from
[EMAIL PROTECTED]
> To: user@ant.apache.org
> Subject: Setting classpath for nested ant call
>
>
> Ant newbie here. I need to call another ant task in a different build file,
> so I do:
>
> ...
>
> The problem is is that this nested ant call fails because the
Ant newbie here. I need to call another ant task in a different build file,
so I do:
http://www.nabble.com/Setting-classpath-for-nested-ant-call-tp19333163p19333163.html
Sent from the Ant - Users mailing list archive at Nabble.com
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
12 matches
Mail list logo