Hello,

Not really, because I already have a warfile  and want to throw out one jar.

I solved it now in two steps 
1.copying the warfile
2.war the new warfile out of the copy and exclude the specific jar, similar to 
what you mailed.

It would be nice just to delete sth. Out of a jar/war etc. without the need to 
copy the wars around.

Greetings Juergen


-- 
Jürgen Knuplesch
-----Ursprüngliche Nachricht-----
Von: Martin Gainty [mailto:mgai...@hotmail.com] 
Gesendet: Mittwoch, 3. Juni 2009 16:34
An: Ant Users List
Betreff: RE: Delete file inside a warfile


http://ant.apache.org/manual/CoreTasks/war.html
<war>
<lib dir="Paket/Faltblatt/lib">
    <exclude name="Schließen.jar"/>
  </lib>
</war>

tut diese Antwort Ihre Frage?
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.





> Subject: Delete file inside a warfile
> Date: Wed, 3 Jun 2009 15:02:02 +0200
> From: juergen.knuple...@icongmbh.de
> To: user@ant.apache.org
> 
> Hello,
> 
> Is it possible to delete a single file inside a warfile in one step?
> 
> (I want to remove a certain library)
> 
> Greetings Jürgen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional 
> commands, e-mail: user-h...@ant.apache.org
> 

_________________________________________________________________
Insert movie times and more without leaving Hotmail®. 
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to