ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Gill" <>
Subject Re: IvyDE container with WAR
Date Mon, 03 Sep 2007 11:41:28 GMT
You could use triggers
maybe have a post download artifact ant target that extracts the jar
from the war. Although I don't think that will help you with ivyDE.

Another way (if you have control over the release of the war) would be to
publish the war as an exploded war (by that I mean unzipped), and the type
of the jar you want would be published with a type of
"war/whatever_directory_the_jar_is_in" so if your lib was in war/META-INF
and is called jarinwar.jar then it would be published as
<artifact name="jarinwar" type="war/META-INF" ext="jar"/>

Obviously you would have to list all the other files in the war in the
publications section of the ivy.xml for the war file.

Then you would add to your ivyDE properties the jar type to

Does that make sense, or is there a better/simpler way?

On 9/3/07, bhatia <> wrote:
> Hello,
> I have my IvyDE classpath container with wars resolved and retrieved
> correctly. This war contains a jar which I need for compiling my project
> in
> Eclipse. When I compile my project, Eclipse cant find this class which is
> inside a jar which inturn is inside a war.
> Is there a way to handle this when compiling a project in Eclipse ?
> thanks
> --
> View this message in context:
> Sent from the ivy-user mailing list archive at

John Gill

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message