svn commit: r892171 - in /ofbiz/trunk: framework/sql/build.xml macros.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r892171 - in /ofbiz/trunk: framework/sql/build.xml macros.xml

doogie-3
Author: doogie
Date: Fri Dec 18 08:04:06 2009
New Revision: 892171

URL: http://svn.apache.org/viewvc?rev=892171&view=rev
Log:
Switch <path id="src-path"/> to a patternset implementation.  See next
commit.

Modified:
    ofbiz/trunk/framework/sql/build.xml
    ofbiz/trunk/macros.xml

Modified: ofbiz/trunk/framework/sql/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/build.xml?rev=892171&r1=892170&r2=892171&view=diff
==============================================================================
--- ofbiz/trunk/framework/sql/build.xml (original)
+++ ofbiz/trunk/framework/sql/build.xml Fri Dec 18 08:04:06 2009
@@ -33,10 +33,10 @@
         <fileset dir="../base/lib" includes="*.jar"/>
         <fileset dir="../base/build/lib" includes="*.jar"/>
     </path>
-    <path id="src-path">
-        <pathelement location="build/gen-src/javacc"/>
-        <pathelement location="build/gen-src/jjtree"/>
-    </path>
+    <patternset id="src-dirs">
+        <include name="build/gen-src/javacc"/>
+        <include name="build/gen-src/jjtree"/>
+    </patternset>
     <path id="test.class.path">
         <path refid="local.class.path"/>
        <fileset dir="../base/lib" includes="*.jar"/>

Modified: ofbiz/trunk/macros.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/macros.xml?rev=892171&r1=892170&r2=892171&view=diff
==============================================================================
--- ofbiz/trunk/macros.xml (original)
+++ ofbiz/trunk/macros.xml Fri Dec 18 08:04:06 2009
@@ -30,7 +30,12 @@
   </sequential>
  </macrodef>
 
- <path id="src-path"/>
+ <path id="src-path">
+  <dirset dir=".">
+   <patternset refid="src-dirs"/>
+  </dirset>
+ </path>
+ <patternset id="src-dirs"/>
  <patternset id="src.inc.set">
   <include name="**/*.java"/>
  </patternset>