Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Ant cannot find custom ant task when installed as plugin
Ant cannot find custom ant task when installed as plugin [message #63893] Thu, 15 April 2004 11:29
Thomas Jachmann is currently offline Thomas Jachmann
Messages: 4
Registered: July 2009
Junior Member
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>
Previous Topic:Eclipse 3.0M8 - Problem with AJDT
Next Topic:Ant cannot find custom ant task when installed as plugin
Goto Forum:
  


Current Time: Sun Apr 20 23:11:41 EDT 2014

Powered by FUDForum. Page generated in 0.02043 seconds