mcconnell 2003/02/21 10:25:47
Modified: . build.xml
Log:
Added include.properties inclusion.
Revision Changes Path
1.130 +4 -29 jakarta-james/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-james/build.xml,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -r1.129 -r1.130
--- build.xml 21 Feb 2003 17:54:29 -0000 1.129
+++ build.xml 21 Feb 2003 18:25:47 -0000 1.130
@@ -24,13 +24,14 @@
==============================================================================
-->
-<project name="James" default="main" basedir=".">
+<project default="main" basedir=".">
<!--
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
-->
<property file=".ant.properties"/>
<property file="${user.home}/.ant.properties"/>
+ <property file="include.properties"/>
<property file="default.properties"/>
<!--
@@ -207,9 +208,8 @@
===================================================================
compile
===================================================================
- Compiles the main trunk.
-->
- <target name="compile-main" depends="prepare">
+ <target name="compile" depends="prepare">
<echo message="Compiling James Java sources"/>
<available property="jndi.present" classname="javax.naming.InitialContext"/>
<mkdir dir="${build.classes}"/>
@@ -229,31 +229,6 @@
</fileset>
</copy>
</target>
-
- <!-- Compiles the proposal source, only if proposal.name is specified. -->
- <target name="compile-proposal" depends="prepare" if="proposal.name">
- <echo message="Compiling the ${proposal.name} proposal."/>
- <!-- Now build the proposal source over those classes -->
- <javac destdir="${build.classes}"
- debug="${debug}"
- optimize="${optimize}"
- deprecation="${deprecation}">
- <classpath refid="project.class.path" />
-
- <!-- The proposal source -->
- <src path="${java.proposal.dir}"/>
- </javac>
-
- <!-- Copy .xinfo and .properties files from the proposal source -->
- <copy todir="${build.classes}" overwrite="on">
- <fileset dir="${java.proposal.dir}">
- <include name="**/*.properties"/>
- <include name="**/*.xinfo"/>
- </fileset>
- </copy>
- </target>
-
- <target name="compile" depends="compile-main, compile-proposal"/>
<!--
===================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]