Hola a todos:
The attached patch will add a "install" target in build.xml, very
usefull in developement, "install" target constructs a jetspeed webapp
for use of a local servlet container.., i dont know how people was doing
that in a development environment, but dont found a way with the actual
build.xml, maybe unzip-war target but this target does a pack-unpack
cycle, breaks File date checks done by ant and is very slow.. the
"install" target by contrast uses builtin copy command of ant that takes
into account file dates to do the minimal set of actions needed..
Saludos ,
Ignacio J. Ortega
*** build.properties 2001/09/20 13:49:57 1.2
--- build.properties 2001/11/01 16:50:10
***************
*** 20,22 ****
--- 20,23 ----
tomcat.home.40=g:/server/catalina
# orion.home.14=c:\orion-1.4.5
# weblogic.home.51=c:\weblogic-5.1
+ install.war=e:/tomcat/jakarta-tomcat/build/tomcat/webapps
*** build.xml 2001/10/08 17:54:02 1.105
--- build.xml 2001/11/01 16:50:21
***************
*** 434,439 ****
--- 434,464 ----
</war>
</target>
+
+ <!-- =================================================================== -->
+ <!-- Installs JetSpeed on a local server -->
+ <!-- =================================================================== -->
+ <target name="install" depends="jar" description="installs Jetspeed on a local
+server">
+ <copy todir="${install.war}/jetspeed">
+ <fileset dir="${webapp.dir}"/>
+ </copy>
+ <copy todir="${install.war}/jetspeed/WEB-INF/lib">
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ <exclude name="servlet*.jar"/>
+ </fileset>
+ </copy>
+ <copy todir="${install.war}/jetspeed/WEB-INF/classes">
+ <fileset dir="${build.dest.dir}">
+ <!-- Do not include test files in the runtime jar -->
+ <exclude name="**/Test*.*"/>
+ <exclude name="**/test*.*"/>
+
+ <!-- Also exclude the test cactus.properties file -->
+ <exclude name="cactus.properties"/>
+ </fileset>
+ </copy>
+ </target>
<!-- =================================================================== -->
<!-- Creates a binary release war file with javadocs API -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>