harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r379766 - in /incubator/harmony/enhanced/classlib/trunk/make: build.xml resources/ resources/README-snapshot.txt
Date Wed, 22 Feb 2006 13:27:11 GMT
Author: tellison
Date: Wed Feb 22 05:27:07 2006
New Revision: 379766

URL: http://svn.apache.org/viewcvs?rev=379766&view=rev
Log:
Apply patch HARMONY-111 (classlib snapshot target)

Added:
    incubator/harmony/enhanced/classlib/trunk/make/resources/
    incubator/harmony/enhanced/classlib/trunk/make/resources/README-snapshot.txt
Modified:
    incubator/harmony/enhanced/classlib/trunk/make/build.xml

Modified: incubator/harmony/enhanced/classlib/trunk/make/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/make/build.xml?rev=379766&r1=379765&r2=379766&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/make/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/make/build.xml Wed Feb 22 05:27:07 2006
@@ -63,4 +63,92 @@
         <ant antfile="doc/build.xml" inheritall="false" target="clean" />
     </target>
 
+    <!-- ================================= 
+          target: properties
+         ================================= -->
+    <target name="properties"
+            depends="common-properties, unix-properties, windows-properties" />
+
+    <!-- ================================= 
+          target: common-properties
+         ================================= -->
+    <target name="common-properties">
+        <xmlproperty file=".svn/entries" prefix="svn" />
+        <property name="svn.revision"
+                  value="${svn.wc-entries.entry(revision)}" />
+        <property name="deploy.file.prefix"
+                  value="harmony-classlib-r${svn.revision}" />
+        <condition property="is.win" value="true">
+            <os family="Windows" />
+        </condition>
+        <condition property="is.unix" value="true">
+            <os name="linux" />
+        </condition>
+    </target>
+
+    <!-- ================================= 
+          target: unix-properties
+         ================================= -->
+    <target name="unix-properties" if="is.unix">
+        <property name="deploy.tar"
+                  value="${deploy.file.prefix}-${os.name}-${os.arch}-snapshot.tar.gz" />
+    </target>
+
+    <!-- ================================= 
+          target: windows-properties
+         ================================= -->
+    <target name="windows-properties" if="is.win">
+        <property name="deploy.zip"
+                  value="${deploy.file.prefix}-win-${os.arch}-snapshot.zip" />
+    </target>
+
+    <!-- ================================= 
+          target: snapshot
+         ================================= -->
+    <target name="snapshot" depends="snapshot-tar, snapshot-zip" />
+
+    <!-- ================================= 
+          target: snapshot-tar
+         ================================= -->
+    <target name="snapshot-tar" depends="default, properties" if="is.unix">
+        <echo>
+========================================
+Generating snapshot tar
+========================================
+</echo>
+        <tar destfile="${deploy.tar}" compression="gzip">
+            <tarfileset dir="${basedir}" prefix="Harmony">
+                <include name="LICENSE" />
+                <include name="THIRD_PARTY_NOTICES.txt" />
+                <include name="deploy/**" />
+                <exclude name="deploy/jre/bin/default/**" /> 
+            </tarfileset>
+            <tarfileset dir="${basedir}/make/resources"
+                includes="README-snapshot.txt"
+                fullpath="Harmony/README"/>
+        </tar>
+    </target>
+
+    <!-- ================================= 
+          target: snapshot-zip
+         ================================= -->
+    <target name="snapshot-zip" depends="default, properties" if="is.win">
+        <echo>
+========================================
+Generating snapshot zip
+========================================
+</echo>
+        <zip destfile="${deploy.zip}">
+            <zipfileset dir="${basedir}" prefix="Harmony">
+                <include name="LICENSE" />
+                <include name="THIRD_PARTY_NOTICES.txt" />
+                <include name="deploy/**" />
+                <exclude name="deploy/jre/bin/default/**" /> 
+            </zipfileset>
+            <zipfileset dir="${basedir}/make/resources"
+                includes="README-snapshot.txt"
+                fullpath="Harmony/README.txt"/>
+        </zip>
+    </target>
+
 </project>

Added: incubator/harmony/enhanced/classlib/trunk/make/resources/README-snapshot.txt
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/make/resources/README-snapshot.txt?rev=379766&view=auto
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/make/resources/README-snapshot.txt (added)
+++ incubator/harmony/enhanced/classlib/trunk/make/resources/README-snapshot.txt Wed Feb 22
05:27:07 2006
@@ -0,0 +1,59 @@
+README for Apache Harmony class library - snapshot build
+
+
+  http://incubator.apache.org/harmony
+
+
+NOTE
+====
+
+This is a snapshot distribution of the Apache Harmony project.
+
+Apache Harmony is an effort undergoing incubation at the Apache
+Software Foundation (ASF). Incubation is required of all newly
+accepted projects until a further review indicates that the
+infrastructure, communications, and decision making process have
+stabilized in a manner consistent with other successful ASF
+projects. While incubation status is not necessarily a reflection
+of the completeness or stability of the code, it does indicate
+that the project has yet to be fully endorsed by the ASF. 
+
+
+BUILD NOTES
+===========
+
+This snapshot is built from the Apache Harmony source repository.
+
+Instructions for building from source are available on-line at:
+
+  http://incubator.apache.org/harmony/documentation/build_classlib.html
+
+The revision number of the code contained in this snapshot can be
+determined from the snapshot file name, which is in the form:
+	harmony-classlib-r<rev>-<platform>-snapshot.[zip|tgz]
+
+To recreate this snapshot from source you should build the code,
+following the instructions above, with the Subversion revision
+identifier <rev> in place of HEAD.
+
+
+RUNTIME REQUIREMENTS
+====================
+
+The class library code requires a compatible JVM to run.  Details
+of where to obtain a compatible JVM can be found on-line at:
+
+  http://incubator.apache.org/harmony/documentation/build_classlib.html
+
+in the section titled "Obtaining a compatible VM".
+
+
+FEEDBACK
+========
+
+Please send any feedback on the snapshot to
+	harmony-dev@incubator.apache.org
+
+
+
+Your Harmony classlib team



Mime
View raw message