You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2006/10/06 14:29:19 UTC

svn commit: r453576 - in /incubator/harmony/enhanced/classlib/trunk/modules/awt: build.xml make/patternset.txt

Author: hindessm
Date: Fri Oct  6 05:29:18 2006
New Revision: 453576

URL: http://svn.apache.org/viewvc?view=rev&rev=453576
Log:
Removing patternset

Removed:
    incubator/harmony/enhanced/classlib/trunk/modules/awt/make/patternset.txt
Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml

Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml?view=diff&rev=453576&r1=453575&r2=453576
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml Fri Oct  6 05:29:18 2006
@@ -25,19 +25,30 @@
     <!-- set global properties for this build. -->
     <xmlproperty file="make/hyproperties.xml" semanticAttributes="true" />
 
-    <fileset id="classes" dir="${hy.build}">
-        <includesfile name="${hy.awt}/make/patternset.txt" />
-        <excludesfile name="${hy.hdk}/build/patternsets/luni-kernel.txt" />
-        <excludesfile name="${hy.hdk}/build/patternsets/security-kernel.txt" />
-    </fileset>
-
-    <property file="../../make/depends.properties" />
-
     <property name="hy.awt.src.main.java.platform"
               value="${hy.awt.src.main.java}/../${hy.os}" />
 
     <property name="hy.awt.src.test.api.java.platform"
               value="${hy.awt.src.test.api}/java/${hy.os}" />
+
+    <fileset id="classes" dir="${hy.build}">
+        <or>
+            <present targetdir="${hy.awt.src.main.java}" />
+            <present targetdir="${hy.awt.src.main.java}">
+                <mapper type="regexp"
+                        from="^(.*?)(\$$[^/\\\.]*)?\.class$$"
+                        to="\1.java"/>
+            </present>
+            <present targetdir="${hy.awt.src.main.java.platform}" />
+            <present targetdir="${hy.awt.src.main.java.platform}">
+                <mapper type="regexp"
+                        from="^(.*?)(\$$[^/\\\.]*)?\.class$$"
+                        to="\1.java"/>
+            </present>
+        </or>
+    </fileset>
+
+    <property file="../../make/depends.properties" />
 
     <target name="build" depends="compile-java, copy-resources, build-jar" />