User: starksm
Date: 01/04/19 10:55:36
Modified: tomcat/src/build build.xml
Log:
Add run_with_tomcat.sh/run_with_tomcat.bat convience scripts to the
dist build
Revision Changes Path
1.12 +6 -3 contrib/tomcat/src/build/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/contrib/tomcat/src/build/build.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- build.xml 2001/04/18 23:20:53 1.11
+++ build.xml 2001/04/19 17:55:36 1.12
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<!-- $Id: build.xml,v 1.11 2001/04/18 23:20:53 starksm Exp $ -->
+<!-- $Id: build.xml,v 1.12 2001/04/19 17:55:36 starksm Exp $ -->
<!-- An Ant build file for the tomcat-service jar and the
JBoss/Tomcat bundle. The buildfile requires a JBoss dist
@@ -18,7 +18,7 @@
<property name="build.classes.dir" value="${build.dir}/classes"/>
<property name="jar.file" value="${name}.jar"/>
<property name="test.client" value="tomcat-test"/>
- <property name="bundle.name" value="jboss-tomcat" />
+ <property name="bundle.name" value="JBoss-2.2.1_Tomcat-3.2.1" />
<property name="bundle.dir" value="bundle" />
<property name="bundle.root" value="${bundle.dir}/${bundle.name}" />
<path id="base.path">
@@ -111,9 +111,12 @@
<patch patchfile="${etc.dir}/conf/tomcat/server.xml.patch"
originalfile="${bundle.root}/tomcat/conf/server.xml" />
<echo file="${bundle.root}/jboss/bin/run_with_tomcat.sh">#!/bin/sh
+export JBOSS_CLASSPATH=$$JBOSS_CLASSPATH:$$JAVA_HOME/lib/tools.jar
/bin/sh ./run.sh tomcat
</echo>
- <echo file="${bundle.root}/jboss/bin/run_with_tomcat.bat">.\run.bat tomcat
+ <echo file="${bundle.root}/jboss/bin/run_with_tomcat.bat">@echo off
+set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVA_HOME%/lib/tools.jar
+.\run.bat tomcat
</echo>
<fixcrlf srcdir="${bundle.root}/jboss/bin" cr="remove" eof="remove"
includes="*.sh" />
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development