Author: bdube Date: Sun Aug 29 19:10:41 2010 New Revision: 990630 URL: http://svn.apache.org/viewvc?rev=990630&view=rev Log: Issue: FOR-1137 Add project property to declare that a plugin uses Java
Modified: forrest/trunk/plugins/build.xml forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/build.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.Database/build.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/build.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.DevTools/build.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/build.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/build.xml Modified: forrest/trunk/plugins/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/build.xml?rev=990630&r1=990629&r2=990630&view=diff ============================================================================== --- forrest/trunk/plugins/build.xml (original) +++ forrest/trunk/plugins/build.xml Sun Aug 29 19:10:41 2010 @@ -55,6 +55,9 @@ <condition property="publish.true"> <istrue value="${publish}"/> </condition> + <condition property="java_exists"> + <istrue value="${requires-java}" /> + </condition> <!-- Option to set username via deploy.svn.settings --> <import file="${forrest.home}/deploy.svn.settings" optional="true"/> <!-- Set the default username, if not already set via deploy.svn.settings --> @@ -87,7 +90,6 @@ <fileset dir="${plugin.lib.dir}" includes="*.jar"/> <fileset dir="${plugin.lib.dir}" includes="*.zip"/> </path> - <available file="${plugin.java.dir}/**/*.java" property="java_exists"/> </target> <target name="echo-init" depends="init-build-compiler" unless="no.echo.init"> <buildnumber file="${build.dir}/build.number"/> Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/build.xml?rev=990630&r1=990629&r2=990630&view=diff ============================================================================== --- forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/build.xml (original) +++ forrest/trunk/plugins/org.apache.forrest.plugin.input.PhotoGallery/build.xml Sun Aug 29 19:10:41 2010 @@ -27,7 +27,10 @@ <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.PhotoGallery/"/> <property name="downloadURL" value="http://forrest.apache.org/plugins/"/> <property name="publish" value="true"/> - + + <!-- FIXME --> + <property name="requires-java" value="true" /> + <import file="../build.xml"/> <!-- Add any additional installation work here in the build target, for example: Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.Database/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.Database/build.xml?rev=990630&r1=990629&r2=990630&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.Database/build.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.Database/build.xml Sun Aug 29 19:10:41 2010 @@ -26,6 +26,10 @@ <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/org.apache.forrest.plugin.Database/"/> <property name="downloadURL" value="http://forrest.apache.org/plugins/"/> <property name="publish" value="false"/> + + <!-- FIXME --> + <property name="requires-java" value="true" /> + <import file="../build.xml"/> <!-- Add any additional installation work here in the build target, for example: <target name="build" Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/build.xml?rev=990630&r1=990629&r2=990630&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/build.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/build.xml Sun Aug 29 19:10:41 2010 @@ -26,6 +26,10 @@ <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.Resume"/> <property name="downloadURL" value="http://forrest.apache.org/plugins/"/> <property name="publish" value="false"/> + + <!-- FIXME --> + <property name="requires-java" value="true" /> + <import file="../build.xml"/> <!-- Add any additional installation work here in the build target, for example: <target name="build" Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.DevTools/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.DevTools/build.xml?rev=990630&r1=990629&r2=990630&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.DevTools/build.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.DevTools/build.xml Sun Aug 29 19:10:41 2010 @@ -26,6 +26,10 @@ <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/org.apache.forrest.plugin.internal.DevTools"/> <property name="downloadURL" value="http://forrest.apache.org/plugins/"/> <property name="publish" value="false"/> + + <!-- FIXME --> + <property name="requires-java" value="true" /> + <import file="../build.xml"/> <!-- Add any additional installation work here in the build target, for example: <target name="build" Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml?rev=990630&r1=990629&r2=990630&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml Sun Aug 29 19:10:41 2010 @@ -29,6 +29,10 @@ value="http://forrest.apache.org/pluginDocs/plugins_0_90/org.apache.forrest.plugin.internal.dispatcher/" /> <property name="downloadURL" value="http://forrest.apache.org/plugins/" /> <property name="publish" value="true" /> + + <!-- FIXME --> + <property name="requires-java" value="true" /> + <import file="../build.xml" /> <!-- Add any additional installation work here in the build target, for example: <target name="build" Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/build.xml?rev=990630&r1=990629&r2=990630&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/build.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/build.xml Sun Aug 29 19:10:41 2010 @@ -26,6 +26,10 @@ <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/org.apache.forrest.plugin.internal.xhtml2"/> <property name="downloadURL" value="http://forrest.apache.org/plugins/"/> <property name="publish" value="false"/> + + <!-- FIXME --> + <property name="requires-java" value="true" /> + <import file="../build.xml"/> <!-- Add any additional installation work here in the build target, for example: <target name="build" Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/build.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/build.xml?rev=990630&r1=990629&r2=990630&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/build.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/build.xml Sun Aug 29 19:10:41 2010 @@ -26,6 +26,10 @@ <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.solr"/> <property name="downloadURL" value="http://forrest.apache.org/plugins/"/> <property name="publish" value="true"/> + + <!-- FIXME --> + <property name="requires-java" value="true" /> + <import file="../build.xml"/> <!-- Add any additional installation work here in the build target, for example: <target name="build"