sebb 2004/03/13 06:45:28
Modified: . build.xml
Log:
Initial version of monitor compile tasks
TODO: jar task
Revision Changes Path
1.168 +39 -4 jakarta-jmeter/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/build.xml,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- build.xml 7 Mar 2004 23:50:38 -0000 1.167
+++ build.xml 13 Mar 2004 14:45:28 -0000 1.168
@@ -186,6 +186,8 @@
<property name="src.htmlparser" value="src/htmlparser"/>
<property name="src.tcp" value="src/protocol/tcp"/>
<property name="src.examples" value="src/examples"/>
+ <property name="src.monitor.components" value="src/monitor/components"/>
+ <property name="src.monitor.model" value="src/monitor/model"/>
<!-- Where the documentation sources live -->
<property name="src.docs" value="xdocs"/>
@@ -206,6 +208,8 @@
<pathelement location="${src.htmlparser}"/>
<pathelement location="${src.tcp}"/>
<pathelement location="${src.examples}"/>
+ <pathelement location="${src.monitor.components}"/>
+ <pathelement location="${src.monitor.model}"/>
</path>
<!-- Temporary build directories: where the .class live -->
@@ -222,6 +226,8 @@
<property name="build.htmlparser" location="build/htmlparser"/>
<property name="build.tcp" location="build/protocol/tcp"/>
<property name="build.examples" location="build/examples"/>
+ <property name="build.monitor.components" location="build/monitor/components"/>
+ <property name="build.monitor.model" location="build/monitor/model"/>
<!-- Path prefix to allow Anakia to find stylesheets if running under Eclipse -->
<!--
@@ -570,6 +576,33 @@
</javac>
</target>
+ <target name="compile-monitor"
depends="compile-monitor-components,compile-monitor-model" description="Compile
Monitor components.">
+ </target>
+
+ <target name="compile-monitor-components" depends="compile-jorphan,compile-core">
+ <mkdir dir="${build.monitor.components}"/>
+ <javac srcdir="${src.monitor.components}" destdir="${build.monitor.components}"
optimize="${optimize}" debug="on" target="${target.java.version}"
deprecation="${deprecation}" encoding="${encoding}">
+ <include name="**/*.java"/>
+ <classpath>
+ <path refid="classpath"/>
+ <pathelement location="${build.jorphan}"/>
+ <pathelement location="${build.core}"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="compile-monitor-model" depends="compile-jorphan,compile-core">
+ <mkdir dir="${build.monitor.model}"/>
+ <javac srcdir="${src.monitor.model}" destdir="${build.monitor.model}"
optimize="${optimize}" debug="on" target="${target.java.version}"
deprecation="${deprecation}" encoding="${encoding}">
+ <include name="**/*.java"/>
+ <classpath>
+ <path refid="classpath"/>
+ <pathelement location="${build.jorphan}"/>
+ <pathelement location="${build.core}"/>
+ </classpath>
+ </javac>
+ </target>
+
<target name="compile-jorphan" depends="init" description="Compile JOrphan
utility classes.">
<mkdir dir="${build.jorphan}"/>
<javac srcdir="${src.jorphan}" destdir="${build.jorphan}"
optimize="${optimize}" debug="on" target="${target.java.version}"
deprecation="${deprecation}" encoding="${encoding}">
@@ -1047,6 +1080,8 @@
gump.run = ${gump.run}
java.awt.headless = ${java.awt.headless}
test.headless = ${test.headless}
+ user.dir = ${user.dir}
+ basedir = ${basedir}
</echo>
<java classname="org.apache.jorphan.test.AllTests" fork="yes"
dir="${basedir}/bin">
<classpath>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]