bwalding 2003/03/27 02:27:27
Modified: src/plugins-build/war plugin.jelly
Log:
o Although it is bad form to create class files in your source area, it does make
development
a lot faster (no build / compile cycle for good containers).
So, *.class files that are under WEB-INF/classes in src/webapp
will be excluded from the final WAR.
o This may break builds that rely on this behaviour.
o Ultimately I'd prefer a two phase war process, build the war in target/war and
then
package it. Then people could hook in before the packaging to cleanly do
whatever they want.
Revision Changes Path
1.9 +1 -0 maven/src/plugins-build/war/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/war/plugin.jelly,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- plugin.jelly 21 Mar 2003 20:29:13 -0000 1.8
+++ plugin.jelly 27 Mar 2003 10:27:27 -0000 1.9
@@ -42,6 +42,7 @@
<j:if test="${webSourcesPresent == 'true'}">
<fileset dir="${maven.war.src}">
<exclude name="WEB-INF/web.xml"/>
+ <exclude name="WEB-INF/classes/**/*.class"/>
</fileset>
</j:if>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]