I am successfully using a custom ant task in my build, but I don't use
an ant build.xml. I have <ant:taskdef name="foo" ...> directly in my
maven goal. I can then use <ant:foo ... > just as I would in an ant
build.xml.
Marc Lustig wrote:
Hi,
I'm having some trouble running an ant-task which launches a custom-ant-task
(class).
In my maven.xml I have specified the ant-call:
<ant:ant dir="${basedir}" antfile="build.xml" target="mytarget" />
I'm getting error message stating that the custom ant-task could not be found.
This class is in a jar that is placed in both ant/lib and maven/lib!
running 'ant mytarget' works smoothly!
Anybody having an idea why the jar is not being loaded when the target is
launched from maven?
Regards
Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]