ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Returning CAB file support to ANT
Date Sun, 03 Apr 2016 09:27:57 GMT
On 2016-04-03, Gary M wrote:

> I thought cab was removed due to this error message..  The "not found"
> message is a bit misleading.

> Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run
> (build.cab) on project xxxxxxx: An Ant BuildException has occured: Problem:
> failed to create task or type cab
> Cause: the class org.apache.tools.ant.taskdefs.optional.Cab was not found.
> This looks like one of Ant's optional components.
> Action: Check that the appropriate optional JAR exists in
> -ANT_HOME\lib
> -the IDE Ant configuration dialogs

> Do not panic, this is a common problem.
> The commonest cause is a missing JAR.

I'm afraid Maven's antrun plugin is making things more complex here. Do
you know which version of Ant you are using? It may be a version where
we still had ant-optional.jar and you need to include it in your
dependencies. Or better you explicitly depend on Ant 1.9.6.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message