svn commit: r951719 - /forrest/trunk/plugins/build.xml

[email protected]
Newsgroups gmane.text.xml.forrest.cvs
Message-ID <[email protected]>
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"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.