-
1. Re: application.xml created with Ant?
gorano May 19, 2004 9:04 AM (in response to itchyoinker)That shouldn't be a problem at all, most stuff can be
created with Ant (apart from my coffe, but I'm working on it :-).
/Goran -
2. Re: application.xml created with Ant?
jae77 May 19, 2004 9:16 AM (in response to itchyoinker)i don't believe ant can do this, unless you wrote a custom task for it.
you can add tokens to the file that can be replaced when a build is performed, but you still have to create the "templated" application.xml" for it to work with. -
3. Re: application.xml created with Ant?
gorano May 19, 2004 10:09 AM (in response to itchyoinker)With a template it would be something like this:
<copy todir="${build.dir}/${site}" overwrite="true"> <fileset dir="metadata/app" includes="application.xml"/> <filterset> <filter token="SITE" value="${site}"/> </filterset> </copy>
/G -
4. Re: application.xml created with Ant?
itchyoinker May 19, 2004 10:59 AM (in response to itchyoinker)Thanks a bunch gorano and jae77,
I looked all over for a method that would generate application.xml, but couldn't find one. Now I know why I didn't find it. Using tokens looks like the best way. Thanks for the input.
Itchy -
5. Re: application.xml created with Ant?
formenti May 20, 2004 3:27 AM (in response to itchyoinker)if you want an automatic application.xml's creator you can use Lomboz, a plugin for Eclipse. If you define your modules (web, ejb, etc.), it create the application.xml for you!
Gio