Ant cannot find custom ant task when installed as plugin [message #63893] |
Thu, 15 April 2004 15:29 |
Eclipse User |
|
|
|
I created some custom and task. During development, I tested them by using
the <taskdef> tag. Then I created an eclipse plugin containing the tasks and
published it on our update site. Installed on eclipse 2.1.0 (which I use to
create the plugin and the update site), the tasks work fine. But installed
on eclipse 3.0 M8, ant cannot find the classes needed for the tasks. Is this
a known bug, is there a workaround?
Another question: The signature of Task.getProject() (which I will need for
another task I need to implement) has changed from ant 1.5 to 1.6. Is there
any way I can solve this dependency issue? I need to be able to install the
plugin on both eclipse versions.
Regards,
Thomas
this is my plugin.xml:
----------
<?xml version="1.0" encoding="UTF-8"?>
<plugin
id="de.mindmatters.catapult.toolbox.ant"
name="catapult extensions for ANT"
version="1.0.2"
provider-name="mindmatters">
<runtime/>
<requires>
<import plugin="org.apache.ant"/>
</requires>
<extension
point="org.eclipse.ant.core.antTasks">
<antTask
library="catapult-ant.jar"
name="iterate"
headless="true"
class="de.mindmatters.catapult.toolbox.ant.IterateTask">
</antTask>
<!-- some more tasks... -->
</extension>
</plugin>
|
|
|
Powered by
FUDForum. Page generated in 0.05093 seconds