harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r415161 [2/2] - in /incubator/harmony/enhanced/classlib/trunk: depends/files/ make/ modules/accessibility/ modules/accessibility/.settings/ modules/accessibility/META-INF/ modules/accessibility/bin/ modules/accessibility/bin/test/ modules/a...
Date Sun, 18 Jun 2006 17:59:44 GMT
Added: incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.jdt.ui.prefs?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.jdt.ui.prefs
(added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.jdt.ui.prefs
Sun Jun 18 10:59:34 2006
@@ -0,0 +1,3 @@
+#Wed May 03 13:10:00 BST 2006
+eclipse.preferences.version=1
+internal.default.compliance=user

Added: incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.pde.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.pde.core.prefs?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.pde.core.prefs
(added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/misc/.settings/org.eclipse.pde.core.prefs
Sun Jun 18 10:59:34 2006
@@ -0,0 +1,3 @@
+#Thu Dec 15 00:50:33 GMT 2005
+eclipse.preferences.version=1
+pluginProject.extensions=false

Added: incubator/harmony/enhanced/classlib/trunk/modules/misc/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/misc/META-INF/MANIFEST.MF?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/misc/META-INF/MANIFEST.MF (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/misc/META-INF/MANIFEST.MF Sun Jun 18
10:59:34 2006
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Harmony MISC
+Bundle-SymbolicName: org.apache.harmony.misc
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Eclipse-JREBundle: true
+Import-Package: 
+ java.lang,
+ java.lang.reflect
+Export-Package: java.lang.misc
+

Added: incubator/harmony/enhanced/classlib/trunk/modules/misc/make/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/misc/make/build.xml?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/misc/make/build.xml (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/misc/make/build.xml Sun Jun 18 10:59:34
2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2005, 2006 The Apache Software Foundation or its licensors, as applicable.
+  
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<project name="MISC Build" default="build" basedir="..">
+    <description>Build for MISC component</description>
+
+    <!-- import common properties -->
+    <import file="${basedir}/../../make/properties.xml" />
+
+    <!-- set global properties for this build. -->
+    <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true" />
+    <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
+	     use the Eclipse Java compiler. But it does not support jsr14 target -->
+    <property name="build.compiler" value="modern" />
+
+    <target name="init">
+        <tstamp>
+            <format property="build-date" pattern="yyyyMMdd" locale="en" />
+        </tstamp>
+        <tstamp>
+            <format property="build-time" pattern="yyyyMMdd_HHmm" />
+        </tstamp>
+        <echo message="build-date=${build-date}" />
+        <echo message="build-time=${build-time}" />
+        <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
+
+        <property name="java.debug.option" value="on" />
+        <property name="native.debug.option" value="on" />
+
+    </target>
+
+    <!-- MISC TARGETS -->
+
+    <target name="build" depends="init">
+        <ant dir="make/common" target="compile.java" />
+        <ant dir="make/common" target="build.jar" />
+        <ant dir="make/common" target="copy.resources" />
+    </target>
+
+
+    <target name="test" depends="build">
+        <ant dir="make/common" target="compile.tests" />
+        <ant dir="make/common" target="run.tests" />
+    </target>
+
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset dir="${hy.build}"
+                     includesfile="${hy.misc}/make/patternset.txt" />
+            <fileset dir="${hy.misc.bin.test}" />
+        </delete>
+    </target>
+
+</project>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/misc/make/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/build.xml?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/build.xml (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/build.xml Sun Jun 18
10:59:34 2006
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
+  
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<project name="Common_MISC_Build">
+
+    <target name="compile.java" description="Compile MISC java code">
+        <echo message="Compiling MISC classes from ${hy.misc.src.main.java}" />
+
+        <mkdir dir="${hy.build}" />
+
+        <javac sourcepath=""
+            srcdir="${hy.misc.src.main.java}"
+            destdir="${hy.build}"
+            source="${hy.javac.source}"
+            target="${hy.javac.target}"
+            debug="${java.debug.option}">
+
+            <bootclasspath>
+                <fileset dir="${hy.jdk}/jre/lib/boot">
+                    <include name="**/*.jar" />
+                </fileset>
+            </bootclasspath>
+        </javac>
+    </target>
+
+    <target name="build.jar">
+        <jar destfile="${hy.jdk}/jre/lib/boot/${hy.misc.packaging.jarname}.jar"
+             manifest="${hy.misc}/META-INF/MANIFEST.MF">
+            <fileset dir="${hy.build}"
+                     includesfile="${hy.misc}/make/patternset.txt" />
+        </jar>
+    </target>
+
+
+    <target name="compile.tests">
+        <echo message="Compiling MISC tests from ${hy.misc.src.test.java}" />
+
+        <mkdir dir="${hy.misc.bin.test}" />
+
+        <javac srcdir="${hy.misc.src.test.java}"
+            destdir="${hy.misc.bin.test}"
+            sourcepath=""
+            source="${hy.javac.source}"
+            target="${hy.javac.target}"
+            debug="${java.debug.option}">
+
+            <bootclasspath>
+                <fileset dir="${hy.jdk}/jre/lib/boot">
+                    <include name="**/*.jar" />
+                </fileset>
+            </bootclasspath>
+            <classpath location="../../../../build/tests" />
+        </javac>
+    </target>
+
+
+    <target name="run.tests">
+
+        <mkdir dir="${hy.tests.reports}" />
+
+        <property name="test.jre.home" value="${hy.jdk}/jre" />
+
+        <junit fork="yes"
+            forkmode="once"
+            printsummary="withOutAndErr"
+            errorproperty="test.errors"
+            failureproperty="test.failures"
+            showoutput="on"
+            dir="${hy.misc.bin.test}"
+            jvm="${test.jre.home}/bin/java">
+
+            <jvmarg value="-showversion"/>
+
+            <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+            <classpath>
+                <pathelement path="${hy.misc.bin.test}"/>
+            </classpath>
+
+            <formatter type="xml" />
+
+            <test name="${test.case}" todir="${hy.tests.reports}" if="test.case" />
+            <batchtest todir="${hy.tests.reports}" haltonfailure="no"
+                unless="test.case">
+
+                <fileset dir="${hy.misc.src.test.java}"/>
+            </batchtest>
+        </junit>
+        <antcall target="touch-failures-file" />
+        <antcall target="touch-errors-file" />
+    </target>
+
+    <target name="touch-failures-file" if="test.failures">
+        <echo file="${hy.tests.reports}/test.failures"
+            append="true" >misc
+</echo>
+    </target>
+    <target name="touch-errors-file" if="test.errors">
+        <echo file="${hy.tests.reports}/test.errors"
+            append="true" >misc
+</echo>
+    </target>
+
+    <target name="copy.resources">
+        <!-- Nothing for MISC -->
+    </target>
+</project>
+

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/hyproperties.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/hyproperties.xml?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/hyproperties.xml (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/hyproperties.xml Sun
Jun 18 10:59:34 2006
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
+  
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<hy>
+   <misc location=".">
+      <src>
+         <main>
+            <java location="src/main/java" />
+        	<resources location="src/main/resources" />
+         </main>
+         <test>
+            <java location="src/test/java" />
+            <resources location="src/test/resources" />
+         </test>
+         <natives location="src/natives" />
+      </src>
+      <bin>
+        <main location="bin/main" />
+        <test location="bin/test" />
+      </bin>
+      <packaging>
+        <jarname>misc</jarname>
+      </packaging>
+   </misc>
+
+   <hdk location="../../deploy" />
+   <jdk location="../../deploy/jdk" />
+   <build location="../../build" />
+
+   <tests>
+      <reports location="../../build/test_report" />
+   </tests>
+</hy>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/misc/make/common/hyproperties.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/misc/make/patternset.txt
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/misc/make/patternset.txt?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/misc/make/patternset.txt (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/misc/make/patternset.txt Sun Jun 18
10:59:34 2006
@@ -0,0 +1,16 @@
+# Copyright 2006 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+org/apache/harmony/misc/*
+org/apache/harmony/misc/accessors/*

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/misc/make/patternset.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/.classpath
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/.classpath?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/.classpath (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/.classpath Sun Jun 18 10:59:34
2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry output="bin/main" kind="src" path="src/main/java"/>
+	<classpathentry output="bin/test" kind="src" path="src/test/java"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry sourcepath="JUNIT_SRC_HOME/junitsrc.zip" kind="var" path="JUNIT_HOME/junit.jar"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/swing/.classpath
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/.project
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/.project?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/.project (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/.project Sun Jun 18 10:59:34 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>swing</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/swing/.project
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.jdt.core.prefs?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.jdt.core.prefs
(added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.jdt.core.prefs
Sun Jun 18 10:59:34 2006
@@ -0,0 +1,12 @@
+#Wed May 03 13:10:22 BST 2006
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.jdt.ui.prefs?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.jdt.ui.prefs
(added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.jdt.ui.prefs
Sun Jun 18 10:59:34 2006
@@ -0,0 +1,3 @@
+#Wed May 03 13:10:00 BST 2006
+eclipse.preferences.version=1
+internal.default.compliance=user

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.pde.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.pde.core.prefs?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.pde.core.prefs
(added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/.settings/org.eclipse.pde.core.prefs
Sun Jun 18 10:59:34 2006
@@ -0,0 +1,3 @@
+#Thu Dec 15 00:50:33 GMT 2005
+eclipse.preferences.version=1
+pluginProject.extensions=false

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/META-INF/MANIFEST.MF?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/META-INF/MANIFEST.MF (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/META-INF/MANIFEST.MF Sun Jun 18
10:59:34 2006
@@ -0,0 +1,22 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Harmony Swing
+Bundle-SymbolicName: org.apache.harmony.swing
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Eclipse-JREBundle: true
+Import-Package: 
+ java.lang,
+ java.lang.reflect
+Export-Package: javax.swing,
+ javax.swing.border,
+ javax.swing.colorchooser,
+ javax.swing.event,
+ javax.swing.filechooser,
+ javax.swing.plaf,
+ javax.swing.plaf.basic,
+ javax.swing.plaf.metal,
+ javax.swing.table,
+ javax.swing.text,
+ javax.swing.tree,
+ javax.swing.undo

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/make/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/make/build.xml?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/make/build.xml (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/make/build.xml Sun Jun 18 10:59:34
2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2005, 2006 The Apache Software Foundation or its licensors, as applicable.
+  
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<project name="SWING Build" default="build" basedir="..">
+    <description>Build for SWING component</description>
+
+    <!-- import common properties -->
+    <import file="${basedir}/../../make/properties.xml" />
+
+    <!-- set global properties for this build. -->
+    <xmlproperty file="make/common/hyproperties.xml" semanticAttributes="true" />
+    <!-- Set build.compiler to "org.eclipse.jdt.core.JDTCompilerAdapter" to
+	     use the Eclipse Java compiler. But it does not support jsr14 target -->
+    <property name="build.compiler" value="modern" />
+
+    <target name="init">
+        <tstamp>
+            <format property="build-date" pattern="yyyyMMdd" locale="en" />
+        </tstamp>
+        <tstamp>
+            <format property="build-time" pattern="yyyyMMdd_HHmm" />
+        </tstamp>
+        <echo message="build-date=${build-date}" />
+        <echo message="build-time=${build-time}" />
+        <echo message="on platform=${os.name} version=${os.version} arch=${os.arch}" />
+
+        <property name="java.debug.option" value="on" />
+        <property name="native.debug.option" value="on" />
+
+    </target>
+
+    <!-- SWING TARGETS -->
+
+    <target name="build" depends="init">
+        <ant dir="make/common" target="compile.java" />
+        <ant dir="make/common" target="build.jar" />
+        <ant dir="make/common" target="copy.resources" />
+    </target>
+
+
+    <target name="test" depends="build">
+        <ant dir="make/common" target="compile.tests" />
+        <ant dir="make/common" target="run.tests" />
+    </target>
+
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset dir="${hy.build}"
+                     includesfile="${hy.swing}/make/patternset.txt" />
+            <fileset dir="${hy.swing.bin.test}" />
+        </delete>
+    </target>
+
+</project>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/swing/make/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/build.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/build.xml?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/build.xml (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/build.xml Sun Jun
18 10:59:34 2006
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
+  
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<project name="Common_SWING_Build">
+
+    <property name="hy.swing.src.main.java.platform"
+              value="${hy.swing.src.main.java}/../${hy.os}" />
+
+    <property name="hy.swing.src.test.java.platform"
+              value="${hy.swing.src.test.java}/../${hy.os}" />
+
+    <target name="compile.java" description="Compile SWING java code">
+        <echo message="Compiling SWING classes from ${hy.swing.src.main.java}" />
+
+        <mkdir dir="${hy.build}" />
+
+        <javac sourcepath=""
+            destdir="${hy.build}"
+            source="${hy.javac.source}"
+            target="${hy.javac.target}"
+            debug="${java.debug.option}">
+
+            <src>
+                <pathelement location="${hy.swing.src.main.java}"/>
+                <pathelement location="${hy.swing.src.main.java.platform}" />
+            </src>
+
+            <bootclasspath>
+                <fileset dir="${hy.jdk}/jre/lib/boot">
+                    <include name="**/*.jar" />
+                </fileset>
+            </bootclasspath>
+        </javac>
+    </target>
+
+    <target name="build.jar">
+        <jar destfile="${hy.jdk}/jre/lib/boot/${hy.swing.packaging.jarname}.jar"
+             manifest="${hy.swing}/META-INF/MANIFEST.MF">
+            <fileset dir="${hy.build}"
+                     includesfile="${hy.swing}/make/patternset.txt" />
+        </jar>
+    </target>
+
+
+    <target name="compile.tests">
+        <echo message="Compiling SWING tests from ${hy.swing.src.test.java}" />
+
+        <mkdir dir="${hy.swing.bin.test}" />
+
+        <javac srcdir="${hy.swing.src.test.java}"
+            destdir="${hy.swing.bin.test}"
+            sourcepath=""
+            source="${hy.javac.source}"
+            target="${hy.javac.target}"
+            debug="${java.debug.option}">
+
+            <bootclasspath>
+                <fileset dir="${hy.jdk}/jre/lib/boot">
+                    <include name="**/*.jar" />
+                </fileset>
+            </bootclasspath>
+            <classpath location="../../../../build/tests" />
+        </javac>
+    </target>
+
+
+    <target name="run.tests">
+
+        <mkdir dir="${hy.tests.reports}" />
+
+        <property name="test.jre.home" value="${hy.jdk}/jre" />
+
+        <junit fork="yes"
+            forkmode="once"
+            printsummary="withOutAndErr"
+            errorproperty="test.errors"
+            failureproperty="test.failures"
+            showoutput="on"
+            dir="${hy.swing.bin.test}"
+            jvm="${test.jre.home}/bin/java">
+
+            <jvmarg value="-showversion"/>
+
+            <env key="JAVA_HOME" value="${test.jre.home}"/>
+
+            <classpath>
+                <pathelement path="${hy.swing.bin.test}"/>
+            </classpath>
+
+            <formatter type="xml" />
+
+            <test name="${test.case}" todir="${hy.tests.reports}" if="test.case" />
+            <batchtest todir="${hy.tests.reports}" haltonfailure="no"
+                unless="test.case">
+
+                <fileset dir="${hy.swing.src.test.java}"/>
+            </batchtest>
+        </junit>
+        <antcall target="touch-failures-file" />
+        <antcall target="touch-errors-file" />
+    </target>
+
+    <target name="touch-failures-file" if="test.failures">
+        <echo file="${hy.tests.reports}/test.failures"
+            append="true" >swing
+</echo>
+    </target>
+    <target name="touch-errors-file" if="test.errors">
+        <echo file="${hy.tests.reports}/test.errors"
+            append="true" >swing
+</echo>
+    </target>
+
+    <target name="copy.resources">
+        <!-- Nothing for SWING -->
+    </target>
+</project>
+

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/hyproperties.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/hyproperties.xml?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/hyproperties.xml (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/hyproperties.xml Sun
Jun 18 10:59:34 2006
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
+  
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<hy>
+   <swing location=".">
+      <src>
+         <main>
+            <java location="src/main/java/common" />
+            <resources location="src/main/resources" />
+         </main>
+         <test>
+            <java location="src/test/java" />
+            <resources location="src/test/resources" />
+         </test>
+         <natives location="src/natives" />
+      </src>
+      <bin>
+        <main location="bin/main" />
+        <test location="bin/test" />
+      </bin>
+      <packaging>
+        <jarname>swing</jarname>
+      </packaging>
+   </swing>
+
+   <hdk location="../../deploy" />
+   <jdk location="../../deploy/jdk" />
+   <build location="../../build" />
+
+   <tests>
+      <reports location="../../build/test_report" />
+   </tests>
+</hy>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/swing/make/common/hyproperties.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/harmony/enhanced/classlib/trunk/modules/swing/make/patternset.txt
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/swing/make/patternset.txt?rev=415161&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/swing/make/patternset.txt (added)
+++ incubator/harmony/enhanced/classlib/trunk/modules/swing/make/patternset.txt Sun Jun 18
10:59:34 2006
@@ -0,0 +1,31 @@
+# Copyright 2006 The Apache Software Foundation or its licensors, as applicable
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+javax/swing/*
+javax/swing/border/*
+javax/swing/colorchooser/*
+javax/swing/event/*
+javax/swing/filechooser/*
+javax/swing/plaf/*
+javax/swing/plaf/basic/*
+javax/swing/plaf/metal/*
+javax/swing/table/*
+javax/swing/text/*
+javax/swing/tree/*
+javax/swing/undo/*
+org/apache/harmony/x/swing/*
+org/apache/harmony/x/swing/filechooser/*
+org/apache/harmony/x/swing/filechooser/windows/*
+org/apache/harmony/x/swing/plaf/resources/basic/*
+org/apache/harmony/x/swing/plaf/resources/metal/*

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/swing/make/patternset.txt
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message