|
From: <rga...@us...> - 2002-11-09 21:42:48
|
Update of /cvsroot/csms/csms-core
In directory usw-pr-cvs1:/tmp/cvs-serv25705
Modified Files:
build.xml
Log Message:
Made the name of the class executed in the run target a parameter so that it can be overridden in the command line
Index: build.xml
===================================================================
RCS file: /cvsroot/csms/csms-core/build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** build.xml 3 Nov 2002 17:42:39 -0000 1.4
--- build.xml 9 Nov 2002 21:42:45 -0000 1.5
***************
*** 41,44 ****
--- 41,45 ----
<property name="project.work.dir" value="${build.dir}/${project.name}/work" />
<property name="project.src.dir" value="${src.dir}/java" />
+ <property name="project.test.src.dir" value="${src.dir}/test/src" />
<target name="compile" description="Compile all files">
***************
*** 70,74 ****
</classpath>
</javac>
!
<!-- copy all the things that are not classes to the classes dir -->
<copy todir="${project.build.dir}/classes" filtering="off">
--- 71,75 ----
</classpath>
</javac>
!
<!-- copy all the things that are not classes to the classes dir -->
<copy todir="${project.build.dir}/classes" filtering="off">
***************
*** 83,87 ****
<target name="run" description="Run the CSMS core system" depends="compile">
! <java classname="org.fanfoot.gui.ControlCentre" fork="yes">
<classpath>
<pathelement path="${project.build.dir}/classes"/>
--- 84,89 ----
<target name="run" description="Run the CSMS core system" depends="compile">
! <property name="csms.execute.class.name" value="org.fanfoot.gui.ControlCentre"/>
! <java classname="${csms.execute.class.name}" fork="yes">
<classpath>
<pathelement path="${project.build.dir}/classes"/>
|