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 2010/02/17 00:13:00 UTC

svn commit: r910758 - in /harmony/enhanced/classlib/branches/java6/modules/stax: ./ META-INF/ META-INF/MANIFEST.MF build.xml make/ make/depends.properties

Author: hindessm
Date: Tue Feb 16 23:13:00 2010
New Revision: 910758

URL: http://svn.apache.org/viewvc?rev=910758&view=rev
Log:
Adding javax.xml.stream dependency from geronimo 2.2.

Added:
    harmony/enhanced/classlib/branches/java6/modules/stax/
    harmony/enhanced/classlib/branches/java6/modules/stax/META-INF/
    harmony/enhanced/classlib/branches/java6/modules/stax/META-INF/MANIFEST.MF   (with props)
    harmony/enhanced/classlib/branches/java6/modules/stax/build.xml   (with props)
    harmony/enhanced/classlib/branches/java6/modules/stax/make/
    harmony/enhanced/classlib/branches/java6/modules/stax/make/depends.properties   (with props)

Added: harmony/enhanced/classlib/branches/java6/modules/stax/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/stax/META-INF/MANIFEST.MF?rev=910758&view=auto
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/stax/META-INF/MANIFEST.MF (added)
+++ harmony/enhanced/classlib/branches/java6/modules/stax/META-INF/MANIFEST.MF Tue Feb 16 23:13:00 2010
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Harmony Geronimo STAX
+Bundle-SymbolicName: org.apache.harmony.stax
+Bundle-Version: 1.1
+Bundle-ClassPath: geronimo-stax-api_1.0_spec-1.0.1.jar
+Eclipse-JREBundle: true
+Export-Package: javax.xml.stream,
+  javax.xml.stream.events,
+  javax.xml.stream.util
+Import-Package: java.io,
+  java.lang,
+  java.util,
+  javax.xml.namespace,
+  javax.xml.transform

Propchange: harmony/enhanced/classlib/branches/java6/modules/stax/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/classlib/branches/java6/modules/stax/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/stax/build.xml?rev=910758&view=auto
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/stax/build.xml (added)
+++ harmony/enhanced/classlib/branches/java6/modules/stax/build.xml Tue Feb 16 23:13:00 2010
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you 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="STAX Build" default="build" basedir=".">
+    <description>Build for stax component</description>
+
+    <property name="hy.hdk" location="${basedir}/../../deploy" />
+    <property name="hy.jdk" location="${hy.hdk}/jdk" />
+    <property name="depends.dir" location="${basedir}/../../depends" />
+    <import file="${hy.hdk}/build/ant/properties.xml" />
+    <import file="${hy.hdk}/build/ant/depends.xml" />
+
+    <target name="build" depends="check-depends, -copy-jars" />
+
+    <target name="check-depends">
+        <check-one-file src="${stax.url}" dest="${stax.jar}" />
+    </target>
+        
+    <target name="fetch-depends">
+
+        <mkdir dir="${geronimo.dir}" />
+        <download-one-file src="${stax.url}" dest="${stax.jar}"
+                           md5="${stax.md5}" />
+
+    </target>
+
+    <target name="-copy-jars">
+        <copy todir="${hy.jdk}/jre/lib/boot/${stax.basename}"
+              file="${stax.jar}" />
+        <copy todir="${hy.jdk}/jre/lib/boot/${stax.basename}/META-INF">
+            <fileset dir="META-INF" />
+        </copy>
+    </target>
+
+    <target name="test" />
+
+    <target name="clean">
+        <delete dir="${hy.jdk}/jre/lib/boot/${stax.basename}" />
+    </target>
+
+</project>

Propchange: harmony/enhanced/classlib/branches/java6/modules/stax/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/classlib/branches/java6/modules/stax/make/depends.properties
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/stax/make/depends.properties?rev=910758&view=auto
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/stax/make/depends.properties (added)
+++ harmony/enhanced/classlib/branches/java6/modules/stax/make/depends.properties Tue Feb 16 23:13:00 2010
@@ -0,0 +1,27 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+depends.jars=${depends.dir}/jars
+depends.url=http://svn.apache.org/repos/asf/harmony/standard/depends
+geronimo.version=2.2
+geronimo.base=${depends.url}/jars/geronimo-${geronimo.version}
+geronimo.dir=${depends.jars}/geronimo-${geronimo.version}
+
+stax.version=1.0_spec-1.0.1
+stax.basename=geronimo-stax-api_${stax.version}
+stax.jarname=${stax.basename}.jar
+stax.jar=${geronimo.dir}/${stax.jarname}
+stax.url=${geronimo.base}/${stax.jarname}
+stax.md5=b7c2a715cd3d1c43dc4ccfae426e8e2e

Propchange: harmony/enhanced/classlib/branches/java6/modules/stax/make/depends.properties
------------------------------------------------------------------------------
    svn:eol-style = native