Problem with Eclipse ANT integration [message #336616] |
Thu, 25 June 2009 05:42  |
Eclipse User |
|
|
|
Hi,
I'm not sure this is the correct newsgroup for my question, so if it
isn't please do advise me where I should post this!
I am developing a plugin that contributes a number of ant tasks to
Eclipse. The classes implementing these tasks are subclasses of some
other ant tasks that are provided by another plugin not under my control.
All is fine as long as I am editing a build.xml file: My ant tasks are
found and recognised and I can use AutoComplete for them as usual.
However, when I want to execute the build script, I get an error that it
cannot find the class my task is subclassing. It advises me to place the
appropriate jar file on the classpath. At the same time, however, my
build script also uses some tasks from that other plugin and they work
fine, so the jar file must already be on the classpath.
I have tried to include the other jar in the Class-Path entry of my jar
file's MANIFEST.MF, but failed to do so because I cannot figure out a
stable relative path between the two jar files. What is the official way
to do this?
Many thanks in advance,
Steffen
|
|
|
Re: Problem with Eclipse ANT integration [message #336658 is a reply to message #336616] |
Fri, 26 June 2009 08:58  |
Eclipse User |
|
|
|
Hi,
Does anybody have any comments on this question?
Many thanks,
Steffen
Steffen Zschaler wrote:
> Hi,
>
> I'm not sure this is the correct newsgroup for my question, so if it
> isn't please do advise me where I should post this!
>
> I am developing a plugin that contributes a number of ant tasks to
> Eclipse. The classes implementing these tasks are subclasses of some
> other ant tasks that are provided by another plugin not under my control.
>
> All is fine as long as I am editing a build.xml file: My ant tasks are
> found and recognised and I can use AutoComplete for them as usual.
> However, when I want to execute the build script, I get an error that
> it cannot find the class my task is subclassing. It advises me to
> place the appropriate jar file on the classpath. At the same time,
> however, my build script also uses some tasks from that other plugin
> and they work fine, so the jar file must already be on the classpath.
>
> I have tried to include the other jar in the Class-Path entry of my
> jar file's MANIFEST.MF, but failed to do so because I cannot figure
> out a stable relative path between the two jar files. What is the
> official way to do this?
>
> Many thanks in advance,
>
> Steffen
|
|
|
Powered by
FUDForum. Page generated in 0.03844 seconds