ovidiu 02/02/15 17:56:59 Modified: src/scratchpad/schecoon build.xml Log: Copy the tools.jar to WEB-INF/lib/ for XSP to work. Revision Changes Path 1.8 +6 -3 xml-cocoon2/src/scratchpad/schecoon/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- build.xml 16 Feb 2002 01:18:28 -0000 1.7 +++ build.xml 16 Feb 2002 01:56:59 -0000 1.8 @@ -62,10 +62,12 @@ <property name="dist.dir" value="${dist.root}/${name}-${version}"/> <property name="dist.target" value="${dist.root}"/> - <!-- - The location of tools.jar, relative to the JAVA_HOME home. + <!-- + The location of tools.jar, relative to the JAVA_HOME home. --> - <property name="tools.jar" value="${java.home}/lib/tools.jar"/> + <property name="tools.jar" value="${java.home}/../lib/tools.jar"/> + <available file="${tools.jar}" property="tools.jar.present"/> + <filter token="name" value="${fullname}"/> <filter token="year" value="${year}"/> @@ -100,6 +102,7 @@ <mkdir dir="${build.dir}"/> <mkdir dir="${build.dest}"/> <mkdir dir="${build.war}"/> + <copy file="${tools.jar}" tofile="${build.war}/WEB-INF/lib/javac.jar"/> </target> <!-- =================================================================== -->
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]