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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > > To: [email protected] > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > _________________________________________________________________ > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
