ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary M <ga...@oedata.com>
Subject Re: Returning CAB file support to ANT
Date Sun, 03 Apr 2016 23:49:11 GMT
I'm on Ant 1.9.6.. I'll get to it in a few days..

On Sun, Apr 3, 2016 at 3:27 AM, Stefan Bodewig <bodewig@apache.org> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message