From: <mkr...@us...> - 2008-08-20 12:23:12
|
Revision: 205 http://gridsim.svn.sourceforge.net/gridsim/?rev=205&view=rev Author: mkrystek Date: 2008-08-20 12:23:22 +0000 (Wed, 20 Aug 2008) Log Message: ----------- Added Paths: ----------- branches/gssim/build.xml Removed Paths: ------------- branches/gssim/trunk/build.xml Copied: branches/gssim/build.xml (from rev 204, branches/gssim/trunk/build.xml) =================================================================== --- branches/gssim/build.xml (rev 0) +++ branches/gssim/build.xml 2008-08-20 12:23:22 UTC (rev 205) @@ -0,0 +1,68 @@ +<?xml version="1.0"?> + +<!-- September 2004 +Build file or Makefile for GridSim. +NOTE: Make sure you have installed 'ant' and put the location of it into + your path so you can access it anywhere. + 'ant' can be downloadable from http://ant.apache.org/ + +Usage: +* type 'ant' to compile all gridsim source files and put them into + classes/ directory +* type 'ant makejar' to compile the source files (if necessary) and to create + a jar file into jar/ directory + +NOTE: rule for javadoc is not included yet. Use javadoc.sh script instead under + Unix/Linux environment. + +Acknowledgement: Thank to Uros Cibej for providing this file and instruction on + how to use it. +--> + + +<project name="GridSim" basedir="." default="build"> + <description> + This is the build file for GridSim + </description> + + <!-- location to store Java classes --> + <property name="class.dir" location="./classes" /> + + <!-- location to store GridSim source files --> + <property name="src.dir" location="./source/gridsim" /> + + <!-- location to store jar files --> + <property name="jar.dir" location="./jars" /> + + <!-- location to store Javadoc files --> + <property name="doc.dir" location="./doc" /> + + <!-- location to use SimJava libraries --> + <property name="classpath" location="${jar.dir}/simjava2.jar" /> + + + + <target name="prepare"> + <mkdir dir="${class.dir}" /> + </target> + + <!-- rule to compile GridSim source files --> + <target name="build" depends="prepare"> + <javac srcdir="${src.dir}" destdir="${class.dir}" classpath="${classpath}" /> + </target> + + <!-- rule for making a jar file. + NOTE: + * The new jar file is named as "new_gridsim.jar" to avoid overriding + the existing jar file. + * The new jar file only contains gridsim classes NOT SimJava2. + --> + <target name="makejar" depends="build"> + <echo>Compiling a new jar file, named: "new_gridsim.jar".</echo> + <echo>This jar file only contains GridSim classes but not SimJava2.</echo> + <jar destfile="${jar.dir}/new_gridsim.jar" basedir="${class.dir}" /> + </target> + +</project> + + Deleted: branches/gssim/trunk/build.xml =================================================================== --- branches/gssim/trunk/build.xml 2008-08-20 12:19:46 UTC (rev 204) +++ branches/gssim/trunk/build.xml 2008-08-20 12:23:22 UTC (rev 205) @@ -1,68 +0,0 @@ -<?xml version="1.0"?> - -<!-- September 2004 -Build file or Makefile for GridSim. -NOTE: Make sure you have installed 'ant' and put the location of it into - your path so you can access it anywhere. - 'ant' can be downloadable from http://ant.apache.org/ - -Usage: -* type 'ant' to compile all gridsim source files and put them into - classes/ directory -* type 'ant makejar' to compile the source files (if necessary) and to create - a jar file into jar/ directory - -NOTE: rule for javadoc is not included yet. Use javadoc.sh script instead under - Unix/Linux environment. - -Acknowledgement: Thank to Uros Cibej for providing this file and instruction on - how to use it. ---> - - -<project name="GridSim" basedir="." default="build"> - <description> - This is the build file for GridSim - </description> - - <!-- location to store Java classes --> - <property name="class.dir" location="./classes" /> - - <!-- location to store GridSim source files --> - <property name="src.dir" location="./source/gridsim" /> - - <!-- location to store jar files --> - <property name="jar.dir" location="./jars" /> - - <!-- location to store Javadoc files --> - <property name="doc.dir" location="./doc" /> - - <!-- location to use SimJava libraries --> - <property name="classpath" location="${jar.dir}/simjava2.jar" /> - - - - <target name="prepare"> - <mkdir dir="${class.dir}" /> - </target> - - <!-- rule to compile GridSim source files --> - <target name="build" depends="prepare"> - <javac srcdir="${src.dir}" destdir="${class.dir}" classpath="${classpath}" /> - </target> - - <!-- rule for making a jar file. - NOTE: - * The new jar file is named as "new_gridsim.jar" to avoid overriding - the existing jar file. - * The new jar file only contains gridsim classes NOT SimJava2. - --> - <target name="makejar" depends="build"> - <echo>Compiling a new jar file, named: "new_gridsim.jar".</echo> - <echo>This jar file only contains GridSim classes but not SimJava2.</echo> - <jar destfile="${jar.dir}/new_gridsim.jar" basedir="${class.dir}" /> - </target> - -</project> - - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |