Author Login
Post Reply
No, that's not a bug.
Nowhere is written that <lib> supports RCs.
But you could open a feature request - not sure about its success.
Jan
> -----Ursprüngliche Nachricht-----
> Von: dcdmailbox-info@(protected)]
> Gesendet: Donnerstag, 28. Februar 2008 13:31
> An: Ant Users List
> Betreff: Re: AW: using <resources> in <war> tsk
>
> Thanks fo the reply Jan.
> Do you think it can be considered a bug?
> Dino
> --
> ----- Messaggio originale -----
> Da: "Jan.Materne@(protected)>
> A: user@(protected)
> Inviato: Lunedì 25 febbraio 2008, 7:33:43
> Oggetto: AW: using <resources> in <war> tsk
>
> <web><lib>
>
> Manual sais it uses nested filesets ... :(
>
> Lets have a look into the source ...
> public void addLib(ZipFileSet fs) {
> // We just set the prefix for this fileset, and pass it up.
> fs.setPrefix("WEB-INF/lib/");
> super.addFileset(fs);
> }
> no - only filesets.
>
> Then I only know the workaround via tmp directory ...
>
>
> Jan
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: dcdmailbox-info@(protected)]
> > Gesendet: Donnerstag, 21. Februar 2008 18:47
> > An: user@(protected)
> > Betreff: I: using <resources> in <war> tsk
> >
> > Hi all,
> > I have the following resource collection with different
> library paths
> >
> > <resources id="classpath.runtime">
> > <file file="${lib.jar.3rdparty}"/>
> > <file file="${lib.jar.activation}"/>
> > ...
> > </resources>
> >
> > and the following war task
> >
> > <war warfile="${...}" webxml="${...}/WEB-INF/web.xml">
> > <zipfileset prefix="WEB-INF" file="${...}/WEB-INF/weblogic.xml"/>
> > <resources refid="classpath.runtime"/>
> > <classes dir="${build.classes.dir}"/>
> > </war>
> >
> > Ant 1.7 war task is resource-enabled and it work gracefully.
> >
> > META-INF
> > WEB-INF
> > 3rdparty.jar
> > activation.jar
> >
> > However, how can I specify the library path within the war?
> > I would like to obtain the following structure:
> >
> > META-INF
> > WEB-INF
> > lib
> > 3rdparty.jar
> > activation.jar
> >
> > Any help is really appreciated.
> >
> > Dino.
> >
> > ps.
> > ZipFileSet prefix feature does not work with resources.
> > --
> >
> >
> >
> >
> >
> > L'email della prossima generazione? Puoi averla con la nuova
> > Yahoo! Mail
> >
> >
> > ___________________________________
> > L'email della prossima generazione? Puoi averla con la nuova
> > Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
> ___________________________________
> L'email della prossima generazione? Puoi averla con la nuova
> Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)