ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: about the ear task
Date Mon, 06 Oct 2008 04:32:07 GMT
When the <ear> was written, the application.xml was mandatory. 
For that background Ant checks its presence.

The simplest solution if you dont want to specify that file is using <jar>.

And if you dont want to get the manifest file, use <zip>.


Jan

> -----Ursprüngliche Nachricht-----
> Von: Martin Gainty [mailto:mgainty@hotmail.com] 
> Gesendet: Montag, 6. Oktober 2008 00:00
> An: Ant Users List
> Betreff: RE: about the ear task
> 
> 
> you can use the ear task to accomplish this objective
> you will need to specify the
> input (as seen here) with fileset
> destfile (the .ear)
> appxml
>     <ear destfile="${build.dir}/myapp.ear" 
> appxml="${src.dir}/metadata/application.xml">
>       <fileset dir="${build.dir}" includes="*.jar,*.war"/>
>     </ear>
> http://ant.apache.org/manual/CoreTasks/ear.html
> 
> Martin Gainty 
> ______________________________________________ 
> Disclaimer and confidentiality note 
> Everything in this e-mail and any attachments relates to the 
> official business of Sender. This transmission is of a 
> confidential nature and Sender does not endorse distribution 
> to any party other than intended recipient. Sender does not 
> necessarily endorse content contained within this transmission. 
> 
> 
> > Date: Sun, 5 Oct 2008 10:52:39 -0700
> > From: rageice@rastamail.com
> > To: user@ant.apache.org
> > Subject: about the ear task
> > 
> > 
> > Hello, sorry for my bad english.
> > 
> > Apparently, when I create an ear with the <ear> task, I 
> have to specify the
> > location of application.xml. But in reality, an enterprise 
> application
> > doesn't really need this file, and personally, I don't use 
> it (try to do an
> > j2ee project with eclipse or netbeans)
> > So sure, I can't specify its path!
> > What could I do? (maybe use the "jar" task, no?, is there a better
> > solution).
> > 
> > Thanks in advance.
> > -- 
> > View this message in context: 
> http://www.nabble.com/about-the-ear-task-tp19827268p19827268.html
> > Sent from the Ant - Users mailing list archive at Nabble.com.
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> 
> _________________________________________________________________
> Get more out of the Web. Learn 10 hidden secrets of Windows Live.
> http://windowslive.com/connect/post/jamiethomson.spaces.live.c
> om-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domo
re_092008
> 

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


Mime
View raw message