You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by un...@apache.org on 2004/01/09 14:06:13 UTC
cvs commit: cocoon-2.1/tools/targets ide-build.xml
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
Revision Changes Path
1.5 +5 -2 cocoon-2.1/tools/targets/ide-build.xml
Index: ide-build.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/tools/targets/ide-build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ide-build.xml 19 Dec 2003 09:25:09 -0000 1.4
+++ ide-build.xml 9 Jan 2004 13:06:13 -0000 1.5
@@ -128,8 +128,11 @@
</target>
<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>
Re: cvs commit: cocoon-2.1/tools/targets ide-build.xml
Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.01.2004 14:06, unico@apache.org wrote:
> 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>