forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r951719 - /forrest/trunk/plugins/build.xml
Date Sat, 05 Jun 2010 13:56:24 GMT
Author: crossley
Date: Sat Jun  5 13:56:23 2010
New Revision: 951719

URL: http://svn.apache.org/viewvc?rev=951719&view=rev
Log:
Better detection of "java_exists".
Issue: FOR-1137

Modified:
    forrest/trunk/plugins/build.xml

Modified: forrest/trunk/plugins/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/build.xml?rev=951719&r1=951718&r2=951719&view=diff
==============================================================================
--- forrest/trunk/plugins/build.xml (original)
+++ forrest/trunk/plugins/build.xml Sat Jun  5 13:56:23 2010
@@ -87,7 +87,8 @@
       <fileset dir="${plugin.lib.dir}" includes="*.jar"/>
       <fileset dir="${plugin.lib.dir}" includes="*.zip"/>
     </path>
-    <available file="${plugin.java.dir}" property="java_exists" type="dir"/>
+    <fileset dir="${plugin.java.dir}" id="java_present" includes="**/*.java"/>
+    <pathconvert property="java_exists" refid="java_present" setonempty="false"/>
   </target>
   <target name="echo-init" depends="init-build-compiler" unless="no.echo.init">
     <buildnumber file="${build.dir}/build.number"/>



Mime
View raw message