Wednesday, September 26, 2007

Reload webapp from ant script

A co-worker asked me how he can reload a web-application from an ant script. GDS was very helpfull finding the line in an old ant script I used to use. In the example below you might want to define $project.output

<property name="project.output" value="WEB-INF/classes"/>
<!-- reload the current webapp to refresh the classes that we just changed -->
<concat><fileset dir="${project.output}/log" includes="reload.log"/></concat>

No comments:

Post a Comment

[Due to much spam, comments are now moderated and will be posted after review]