There is an extension point (org.
eclipse.
ant.core.extraClasspathEntries) to add extra JARs to the
Ant runtime classpath, but these JARs are added to the classpath after the
Ant Home JARs.
I would encourage you to attach your fix to the
Ant bug for inclusion in the next version of
Ant.
Darins
http://runnerwhocodes.blogspot.com ----- Original Message -----
From: Kirk Wolf
To:
platform-ant-dev@eclipse.org
Sent: Friday, May 16, 2008 7:20 AM
Subject: [platform-
ant-dev] Fixing
Ant bug in a plugin?
There's a nasty bug in
Ant 1.7 that prevents the <ftp> <modified> tag from working properly.
See:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45010
The fix to this is very simple (changing one line in an
Ant class).
I'd like to package a patched
Ant class into a jar and include that jar into a plugin that my users can use with
Eclipse to simplify fixing this problem.
- Can I do this with an extension point that adds the jar to the beginning of the
Ant classpath?
- Can I make the extension conditional on having the
Ant 1.7 plugin?
I'm a newbie to writing plugins, can anyone help me with the plugin.xml to do this?
Thanks,
Kirk Wolf
Dovetailed Technologies