User: andreas
Date: 00/09/28 22:56:30
Modified: src/build build.bat build.xml
Log:
Move up to the examples/<plugin-name>/etc directory
Revision Changes Path
1.2 +10 -1 ejx/src/build/build.bat
Index: build.bat
===================================================================
RCS file: /products/cvs/ejboss/ejx/src/build/build.bat,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.bat 2000/07/27 13:52:53 1.1
+++ build.bat 2000/09/29 05:56:29 1.2
@@ -1,3 +1,12 @@
@echo off
+@if not "%ECHO%" == "" echo %ECHO%
+
REM convenience bat file to build with
-java -classpath
"%CLASSPATH%;..\..\lib\ant.jar;..\..\lib\xml.jar;..\..\lib\xmlbeans.jar;..\..\build\classes"
org.apache.tools.ant.Main %1 %2 %3 %4 %5
+
+set LIB=..\..\lib
+set CP=%LIB%\ant.jar
+set CP=%CP%;%LIB%\xml.jar
+set CP=%CP%;%LIB%\xmlbeans.jar
+set CP=%CP%;%LIB%\javac.jar
+
+java -classpath "%CP%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
1.2 +19 -3 ejx/src/build/build.xml
Index: build.xml
===================================================================
RCS file: /products/cvs/ejboss/ejx/src/build/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 2000/07/27 13:52:53 1.1
+++ build.xml 2000/09/29 05:56:30 1.2
@@ -4,7 +4,7 @@
<!-- EJX build file -->
<!-- ======================================================================= -->
-<project name="EJX" default="main" basedir="../.." verbose="true">
+<project name="EJX" default="main" basedir="../..">
<target name="init">
<taskdef name="xmlbean" classname="com.dreambean.xmlbeans.ant.XMLBeans"/>
@@ -101,6 +101,12 @@
<!-- =================================================================== -->
<!-- Create the EJX plugins -->
<!-- =================================================================== -->
+<!--
+Mad Andy, 9/28/00: the EJX plugins aren't part of EJX core anymore. Please go
+to the examples/<plugin-name>/build directory and start the plugin compilation
+there (in the near future I will change it therefore that you can compile this
+by using this build.xml file (see <ant ...> in the Ant docs).
+
<target name="plugins" depends="compile,xmlbeans">
<jar jarfile="${build.lib.dir}/ext/ejxejb.jar"
basedir="${build.classes.dir}"
@@ -114,11 +120,11 @@
includes="com/dreambean/ejx/ejbench/**"
/>
</target>
-
+//-->
<!-- =================================================================== -->
<!-- Creates the binary structure -->
<!-- =================================================================== -->
- <target name="main" depends="jar,plugins">
+ <target name="main" depends="jar">
<mkdir dir="${dist.dir}"/>
<mkdir dir="${dist.dir}/bin"/>
<mkdir dir="${dist.dir}/lib/ext"/>
@@ -130,6 +136,16 @@
<copydir src="${lib.ext.dir}" dest="${dist.dir}/lib/ext"/>
<copydir src="${build.bin.dir}" dest="${dist.dir}/bin"/>
<copydir src="${build.lib.dir}/ext" dest="${dist.dir}/lib/ext"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the full binary structure -->
+ <!-- =================================================================== -->
+ <target name="complete" depends="main">
+ <!-- At the moment this does not work now but it will (Mad Andy: 9/28/00)
+ <ant antfile="../../examples/ejb/build/build.xml" dir="../.." />
+ <ant antfile="../../examples/ejbench/build/build.xml" dir="../.." />
+ //-->
</target>
<!-- =================================================================== -->