Or you could create another project which unpacks the 3rd party war and re-publishes it how every you like. In fact, you could just republish the jar that you want.
On 9/3/07, bhatia <[EMAIL PROTECTED]> wrote: > > > The second option is less workable since I have no control over artifacts > I > already have from my build system. > > Triggers sounds like a good idea. With it maybe I can launch an ant-target > in the user's Eclipse workspace that unzips the war and adds it to the > Eclipse project's .classpath file. With that, I guess I can get the > project > to compile using Eclipse menu options. > > thanks a lot... > > > John Gill-3 wrote: > > > > You could use triggers > > > http://incubator.apache.org/ivy/history/trunk/configuration/triggers.htmland > > 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 > > "jar,war/META-INF" > > > > Does that make sense, or is there a better/simpler way? > > > > On 9/3/07, bhatia <[EMAIL PROTECTED]> 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: > >> http://www.nabble.com/IvyDE-container-with-WAR-tf4371019.html#a12458431 > >> Sent from the ivy-user mailing list archive at Nabble.com. > >> > > > > > > > > -- > > Regards, > > John Gill > > > > > > -- > View this message in context: > http://www.nabble.com/IvyDE-container-with-WAR-tf4371019.html#a12460462 > Sent from the ivy-user mailing list archive at Nabble.com. > > -- Regards, John Gill
