harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r698564 - in /harmony/enhanced/classlib/trunk/modules/nio_char: build.xml make/excludesfile
Date Wed, 24 Sep 2008 13:28:50 GMT
Author: tellison
Date: Wed Sep 24 06:28:50 2008
New Revision: 698564

URL: http://svn.apache.org/viewvc?rev=698564&view=rev
Log:
Allow for subsetting the Java-based charset data files in the NIO_CHAR provider.


Added:
    harmony/enhanced/classlib/trunk/modules/nio_char/make/excludesfile
Modified:
    harmony/enhanced/classlib/trunk/modules/nio_char/build.xml

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/build.xml?rev=698564&r1=698563&r2=698564&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/build.xml Wed Sep 24 06:28:50 2008
@@ -101,6 +101,9 @@
 
             <compilerarg line="${build.compilerarg}" />
 
+            <!-- Exclude unwanted data files -->
+            <excludesfile name="${basedir}/make/excludesfile" />
+
             <bootclasspath>
                 <fileset dir="${hy.jdk}/jre/lib/boot">
                     <include name="**/*.jar" />
@@ -138,7 +141,9 @@
             <metainf prefix="META-INF/services"
                 dir="${hy.nio_char.src.main.java}/org/apache/harmony/niochar"
                 includes="java.nio.charset.spi.CharsetProvider"/>
-            <fileset dir="${hy.nio_char.src.main.java}" />
+            <fileset dir="${hy.nio_char.src.main.java}">
+                <excludesfile name="${basedir}/make/excludesfile"/>
+            </fileset>
             <manifest>
                 <attribute name="Implementation-Version" value="${svn.info}"/> 
             </manifest>

Added: harmony/enhanced/classlib/trunk/modules/nio_char/make/excludesfile
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/make/excludesfile?rev=698564&view=auto
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/make/excludesfile (added)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/make/excludesfile Wed Sep 24 06:28:50
2008
@@ -0,0 +1,5 @@
+# List of files to be *excluded* from the NIO_CHAR module
+# used to subset the available charsets.
+
+# e.g. uncomment this line to remove all additional charsets
+# org/apache/harmony/niochar/charset/additional/*
\ No newline at end of file



Mime
View raw message