<!-- What this file is all about
-
+
You can use this version of build.xml to use directly with ant
i.e. without the build.sh script. Simply call ant and let it all
happen.
java.home The location of your Java SDK.
- java.localhome Where your local java classes and jar files
+ java.localhome Where your local java classes and jar files
are located.
tomcat.home The location of the tomcat root directory.
<property name="app.name" value="Mir"/>
<property name="deploy.home" value="../${app.name}"/>
- <property name="java.home" value="/usr/lib/j2sdk1.3/"/>
- <property name="java.localhome" value="/usr/share/java/"/>
- <property name="tomcat.home" value="/usr/share/tomcat/"/>
<!-- No customization required after this line -->
<property name="dist.war" value="${app.name}.war"/>
<property name="javadoc.home" value="${deploy.home}/javadoc"/>
+ <!-- If you want to use the very good jikes compiler, uncomment this
+ <property name="build.compiler" value="jikes"/>-->
+
+ <!-- The following 3 properties seem redundant -->
+ <property name="java.home" value="/usr/lib/j2sdk1.3/"/>
+ <property name="java.localhome" value="/usr/share/java/"/>
+ <property name="tomcat.home" value="/usr/share/tomcat/"/>
+
<!-- Construct the classpath -->
<path id="project.class.path">
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
- <fileset dir="${java.home}/lib">
+<!-- <fileset dir="${java.home}/lib">
<include name="tools.jar"/>
<include name="rt.jar"/>
</fileset>
<include name="*.jar"/>
</fileset>
<pathelement path="${tomcat.home}/lib/tomcat.jar"/>
+-->
</path>
</copy>
<copy todir="${deploy.home}">
<fileset dir="source" includes="**/content-types.properties"/>
+ <fileset dir="source" includes="**/server.xml"/>
</copy>
- <exec executable="./perms.sh"/>
-
-<!-- <echo>
- Now you should call perms.sh(-dist) in order to set
- the permissions of your installed files to a meaningful
- value.
- Have fun with Mir!
- </echo>
--->
+ <copy todir="${deploy.classes}/bundles">
+ <fileset dir="bundles" includes="**/*.properties"/>
+ </copy>
+ <!-- I really don't think this is needed by default. maybe make it a targe?
+ -mh -->
+ <!--<exec executable="./perms.sh"/>-->
</target>