Somebody is finally working under linux :)

btw, we recommend "anyJ" under linux, I was truly impressed by the thing, it
was Norbert who first scouted it.
It's free, their rationel being that since Linux is a minor part of their
market they don't mind giving it away... nice.

marc


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of jBoss CVS
> Development
> Sent: Thursday, May 25, 2000 6:16 PM
> To: [EMAIL PROTECTED]
> Subject: [jBoss-Dev] CVS update: spyderMQ/build build.sh build.xml
>
>
>   User: norbert
>   Date: 00/05/25 18:16:16
>
>   Modified:    build    build.xml
>   Added:       build    build.sh
>   Log:
>   Add files for UNIX build
>
>   Revision  Changes    Path
>   1.9       +17 -2     spyderMQ/build/build.xml
>
>   Index: build.xml
>   ===================================================================
>   RCS file: /products/cvs/ejboss/spyderMQ/build/build.xml,v
>   retrieving revision 1.8
>   retrieving revision 1.9
>   diff -u -r1.8 -r1.9
>   --- build.xml       2000/05/24 21:06:37     1.8
>   +++ build.xml       2000/05/26 01:16:16     1.9
>   @@ -20,6 +20,7 @@
>               <property name="examples.dir"           value="examples"/>
>
>               <property name="final.dir"
> value="${build.dir}/${final.name}/"/>
>   +
>               <property name="build.src"
> value="${final.dir}/src"/>
>               <property name="build.dest"
> value="${final.dir}/classes"/>
>               <property name="build.lib"
> value="${final.dir}/lib"/>
>   @@ -44,6 +45,7 @@
>               <!-- COPY LIB FILES NEEDED TO EXECUTE THE CLIENTS -->
>               <copyfile src="${lib.dir}/jnp.jar"
> dest="${build.lib}/jnp.jar"/>
>               <copyfile src="${lib.dir}/jms.jar"
> dest="${build.lib}/jms.jar"/>
>   +           <copyfile src="${lib.dir}/jndi.jar"
> dest="${build.lib}/jndi.jar"/>
>
>               <!-- COPY THE DOCUMENTATION -->
>               <copydir  src="${docs.dir}" dest="${build.docs}"/>
>   @@ -65,8 +67,8 @@
>       <target name="core" depends="init,prepare">
>
>               <!-- The JAVAC command -->
>   -           <javac srcdir="${build.src}"
> destdir="${build.dest}"
> classpath="${build.lib}/jnp.jar;${build.lib}/jms.jar" debug="${debug}"/>
>   -           <javac srcdir="${examples.dir}"
> destdir="${final.dir}"
> classpath="${build.lib}/jnp.jar;${build.lib}/jms.jar;${build.dest}
> " debug="${debug}"/>
>   +           <javac srcdir="${build.src}"
> destdir="${build.dest}"
> classpath="${build.lib}/jnp.jar;${build.lib}/jms.jar;${build.lib}/
> jndi.jar" debug="${debug}"/>
>   +           <javac srcdir="${examples.dir}"
> destdir="${final.dir}"
> classpath="${build.lib}/jnp.jar;${build.lib}/jms.jar;${build.lib}/
> jndi.jar;${build.dest}" debug="${debug}"/>
>
>               <!-- The RMIC commands -->
>               <rmic base="${build.dest}"
> classname="org.spydermq.distributed.server.DistributedJMSServerRMI
> Impl" classpath="${build.lib}/jms.jar" stubVersion="1.2" />
>   @@ -82,3 +84,16 @@
>
>
>    </project>
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>   +
>
>
>
>   1.1                  spyderMQ/build/build.sh
>
>   Index: build.sh
>   ===================================================================
>   #!/bin/bash
>
>   # Choose your JDK
>   #
>
>   # If your java binary is not in the path, edit this to point to
> the actual
>   # location
>
>   JAVA=/opt/jdk1.2.2/bin/java
>
>   # -----------------------------------------------------------
>   # The targets are the different build scripts.
>   # The default "dist" is suggested.See INSTALL for details
>   #
>   # "core"           target builds EJBoss core classes
>   # "clean"          target removes bin directory
>   # -----------------------------------------------------------
>
>   TARGET=${1}
>   # TARGET=core
>   # TARGET=clean
>
>   #-------------------------------------------------------------------
>   # Define the paths to each of the packages
>   #-------------------------------------------------------------------
>
>   # change dir to ".." because Ant has some problems when basedir!="."
>   cd ..
>
>   # set the LIB variable to the lib in the CVS tree
>   # these are the libraries needed by the application
>
>   LIB=lib
>
>   # there is a path for Ant build files
>
>   BF=build
>
>   #--------------------------------------------
>   # No need to edit anything past here
>   #--------------------------------------------
>   if test -z "${TARGET}" ; then
>   TARGET=core
>   fi
>
>   echo Now building ${TARGET} for JDK${JDK}...
>
> CP=${BF}/xml.jar:${BF}/ant.jar:${BF}/javac.jar:${LIB}/jms.jar:${LI
> B}/jnp.jar
>
>   BUILDFILE=${BF}/build.xml
>
>   # antRun must be executable
>   chmod +x ${BF}/bin/antRun
>
>   cd src/java/org
>   rm spydermq > /dev/null
>   ln -s spyderMQ spydermq
>   cd ../../..
>
>   ${JAVA} -classpath ${CP} -Dant.home=${BF} -Dbuild.files=${BF}
> org.apache.tools.ant.Main -buildfile ${BUILDFILE} ${TARGET}
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>


Reply via email to