User: user57
Date: 02/02/17 17:11:36
Modified: jetty build.xml
Log:
o using fileset on delete to avoid having to need to know the install.id
o using properties for copy tasks since we can't use the above hack
* need to provide better project/module integration for tests/testsuite
targets to remove these hacks altogether.
Revision Changes Path
1.38 +34 -23 contrib/jetty/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/build.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- build.xml 18 Feb 2002 00:35:29 -0000 1.37
+++ build.xml 18 Feb 2002 01:11:36 -0000 1.38
@@ -514,36 +514,47 @@
<target name="devel" depends="jars"
description="Deploy and Test the Jetty plugin">
+ <property name="hack.project.deploy"
+ value="${project.root}/build/output/jboss-3.0.0beta/deploy"/>
+ <property name="hack.project.lib.ext"
+ value="${project.root}/build/output/jboss-3.0.0beta/lib/ext"/>
+
<!--
- <delete file="../build/output/jboss-3.0.0beta/deploy/jbosstest-web.ear"/>
+ <delete>
+ <fileset dir="${project.root}/build/output">
+ <include name="**/deploy/jbosstest-web.ear"/>
+ </fileset>
+ </delete>
-->
<echo>Undeploying old Jetty plugin...</echo>
- <delete file="../build/output/jboss-3.0.0beta/deploy/${module.name}.sar"/>
-<!--
- <delete file="../build/output/jboss-3.0.0beta/deploy/jetty-ejb.jar"/>
- -->
+ <delete>
+ <fileset dir="${project.root}/build/output">
+ <include name="**/deploy/${module.name}.sar"/>
+ <!--
+ <include name="**/deploy/jetty-ejb.jar"/>
+ -->
+ </fileset>
+ </delete>
<sleep seconds="5"/>
<echo>Deploying new Jetty plugin...</echo>
-<!--
- <copy file="${build.lib}/jetty-ejb.jar"
- filtering="no"
- todir="../build/output/jboss-3.0.0beta/deploy"
- />
- -->
- <copy file="${build.lib}/${servlet.jar}"
- filtering="no"
- todir="../build/output/jboss-3.0.0beta/lib/ext"
- />
- <copy file="${build.lib}/${jasper.jar}"
- filtering="no"
- todir="../build/output/jboss-3.0.0beta/lib/ext"
- />
- <copy file="${build.lib}/${module.name}.sar"
- filtering="no"
- todir="../build/output/jboss-3.0.0beta/deploy"
- />
+
+ <copy todir="${hack.project.deploy}" filtering="no">
+ <fileset dir="${build.lib}">
+ <!--
+ <include name="jetty-ejb.jar"/>
+ -->
+ <include name="${module.name}.sar"/>
+ </fileset>
+ </copy>
+
+ <copy todir="${hack.project.lib.ext}" filtering="no">
+ <fileset dir="${build.lib}">
+ <include name="${jasper.jar}"/>
+ <include name="${servlet.jar}"/>
+ </fileset>
+ </copy>
<sleep seconds="5"/>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development