ruper2 build.xml,1.11,1.12
| Newsgroups | gmane.comp.krysalis.metamorphosis.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/ruper2
In directory sc8-pr-cvs1:/tmp/cvs-serv30043
Modified Files:
build.xml
Log Message:
Attempt to build if HttpClient or VFS were absent
Index: build.xml
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/build.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** build.xml 3 Oct 2003 21:54:30 -0000 1.11
--- build.xml 9 Oct 2003 21:42:37 -0000 1.12
***************
*** 133,136 ****
--- 133,148 ----
<!-- Compile java sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<target name="compile" depends="build-init">
+
+ <condition property="commons-httpclient.avail">
+ <available classname="org.apache.commons.httpclient.HttpClient" classpathref="classpath.compile" />
+ </condition>
+ <condition property="commons-vfs.avail">
+ <available classname="org.apache.commons.vfs.VFS" classpathref="classpath.compile"/>
+ </condition>
+ <patternset id="excludes">
+ <exclude name="**/*HttpClient*" unless="commons-httpclient.avail" />
+ <exclude name="**/*Vfs*" unless="commons-vfs.avail" />
+ </patternset>
+
<javac srcdir="${src}"
destdir="${classes}"
***************
*** 139,142 ****
--- 151,155 ----
deprecation="${deprecation}"
>
+ <patternset refid="excludes"/>
<classpath refid="classpath.compile"/>
</javac>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php