unico 2004/01/09 05:06:13
Modified: tools/targets ide-build.xml Log: also remove class files from WEB-INF when preparing to run Jetty inside eclipse
But doesn't this break unnecessarily the starting of Jetty without Eclipse? *If* you use Eclipse you can change the output directory of compiling to another directory (default is build/eclipse/classes). *If* you do *not* use Eclipse for servlet container startup you need either libs or classes.
I would like to have this commit reverted. WDYT?
Joerg
<target name="eclipse-webapp-delete-jars" depends="prepare">
- <!-- delete all jars, they are already included in the project -->
+ <!-- delete all jars and class files, they are already included in the project
-->
<delete>
- <fileset dir="${build.webapp}/WEB-INF/lib" includes="*.jar"/>
+ <fileset dir="${build.webapp}/WEB-INF">
+ <include name="lib/*.jar" />
+ <include name="classes/**/*.class" />
+ </fileset>
</delete>
</target>
