ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charl Gerber <charlger...@yahoo.com>
Subject Re: AW: Problem updating application.xml
Date Fri, 07 Oct 2005 13:17:22 GMT
I can update war and jar files withing the ear, but
not the application.xml. So this does look fishy. Here
is my (current) ant code:

<jar jarfile="${sonora.ear.destination}" 
     basedir="./lib"      
     includes="*.jar"
     update="true" >
    <metainf casesensitive="true" 
             file="./src/META-INF/application.xml">
    </metainf>   
</jar>

This updates all the jars, as expected, but not the
application.xml.



--- Jan.Materne@rzf.fin-nrw.de wrote:

> <unear>
> -- modify --: <filterchain>, <replaceregexp>,
> <mapper>, xmltask [1]
> <ear>
> 
> 
> Jan 
> 
> [1] http://ant.apache.org/external.html#xmltask
> 
> 
> >-----Urspr√ľngliche Nachricht-----
> >Von: Charl Gerber [mailto:charlgerber@yahoo.com] 
> >Gesendet: Freitag, 7. Oktober 2005 12:47
> >An: user@ant.apache.org
> >Betreff: Problem updating application.xml
> >
> >I have a 3rd party .ear file that I am updating.
> The original 
> >.ear has an "application.xml" file. I have tried
> everything, 
> >but cannot get Ant to overwrite that
> application.xml with a 
> >new one I made myself.
> >
> >I have tried the ear, jar and zip taks,
> update=true, metainf 
> >settings, zipfileset, everything... but no luck. 
> >
> >If I manually delete the original application.xml
> in the 
> >original .ear with, eg, winzip, then ant puts the
> new 
> >application.xml where it should goes, but it seems
> that if ant 
> >finds an existing application.xml, you can forget
> about. 
> >
> >Anyone else had this problem? Is there a
> workaround?
> >
> >Thanks.
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org For 
> >additional commands, e-mail:
> user-help@ant.apache.org
> >
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


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


Mime
View raw message