Author: bpapez
Date: Thu May 31 15:19:08 2007
New Revision: 1191
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D1191&repname=
=3Dcorporate_portal_templates
Log:
add target deployJarToTomcat and set the build folder for the created class=
files
Modified:
branches/JAHIA-5-0-SP-BRANCH/build.xml
Modified: branches/JAHIA-5-0-SP-BRANCH/build.xml
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/build.xml&rev=3D1191&repname=3Dcorporate_portal_templates
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/build.xml (original)
+++ branches/JAHIA-5-0-SP-BRANCH/build.xml Thu May 31 15:19:08 2007
@@ -80,7 +80,7 @@
</copy>
<!-- Create jar file with resources bundle -->
<javac srcdir=3D"${src.java}"
- destdir=3D"${src.java}"
+ destdir=3D"${build.base}"
debug=3D"${debug}"
deprecation=3D"${deprecation}"
optimize=3D"${optimize}">
@@ -142,6 +142,14 @@
=
</target>
=
+ <target name=3D"deployJarToTomcat" description=3D"deploy jar in to=
mcat" depends=3D"dist">
+ <copy todir=3D"${sharedTemplateDir}" overwrite=3D"yes">
+ <fileset dir=3D"${dist}">
+ <include name=3D"**/*.jar"/>
+ </fileset>
+ </copy>
+ </target> =
+ =
<target name=3D"fullDeployClassToTomcat" description=3D"deploy all cla=
ss in tomcat" depends=3D"prepare">
<copy todir=3D"${classes}" overwrite=3D"yes">
<fileset dir=3D"${src.java}">
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list