You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/03/27 23:00:03 UTC

svn commit: r759368 - in /incubator/pivot/trunk: BUILD build.xml build.xml.DIST

Author: tvolkert
Date: Fri Mar 27 22:00:03 2009
New Revision: 759368

URL: http://svn.apache.org/viewvc?rev=759368&view=rev
Log:
Updated dist target to produce output that is easier to build from source

Added:
    incubator/pivot/trunk/build.xml.DIST
Modified:
    incubator/pivot/trunk/BUILD
    incubator/pivot/trunk/build.xml

Modified: incubator/pivot/trunk/BUILD
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/BUILD?rev=759368&r1=759367&r2=759368&view=diff
==============================================================================
--- incubator/pivot/trunk/BUILD (original)
+++ incubator/pivot/trunk/BUILD Fri Mar 27 22:00:03 2009
@@ -1,12 +1,24 @@
-Pivot requires Java 5 or greater.
 
-Ensure that all required libraries are on the Java classpath:  
-- jcommon-1.0.12.jar and jfreechart-1.0.9.jar, available from http://www.jfree.org
-- plugin.jar, availble from installed JDK
-- servlet-api.jar (version 2.4), availble from http://java.sun.com/javaee
-- stax-1.2.0.jar, available from http://stax.codehaus.org
-  (this is only needed if compiling with a JDK 1.5 compiler)
+Dependencies
+============
 
-Execute the following command from the current directory:
+* JDK 1.5 or greater
 
-find . -name "*.java" | xargs javac
+* CLASSPATH must contain the following entries:
+
+  * jcommon-1.0.12.jar and jfreechart-1.0.9.jar, available from
+    http://www.jfree.org
+
+  * plugin.jar, availble from the installed JDK
+
+  * servlet-api.jar (version 2.4), availble from http://java.sun.com/javaee
+
+  * stax-1.2.0.jar, available from http://stax.codehaus.org
+    (this is only needed if compiling with a JDK 1.5 compiler)
+
+
+Building Pivot
+==============
+
+Execute Ant (http://ant.apache.org/) from the current directory. This will
+create a "bin" directory containing the Pivot binaries.

Modified: incubator/pivot/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/build.xml?rev=759368&r1=759367&r2=759368&view=diff
==============================================================================
--- incubator/pivot/trunk/build.xml (original)
+++ incubator/pivot/trunk/build.xml Fri Mar 27 22:00:03 2009
@@ -628,6 +628,7 @@
         <!-- Construct the release hierarchy -->
         <copy todir="${dist}/${release}">
             <fileset dir=".">
+                <include name="BUILD"/>
                 <include name="DISCLAIMER"/>
                 <include name="LICENSE"/>
                 <include name="NOTICE"/>
@@ -636,6 +637,8 @@
             </fileset>
         </copy>
 
+        <copy tofile="${dist}/${release}/build.xml" file="build.xml.DIST" />
+
         <copy todir="${dist}/${release}/${lib}">
             <fileset dir="${charts}">
                 <include name="${ant.project.name}-charts.jar"/>
@@ -661,7 +664,6 @@
         </copy>
 
         <copy todir="${dist}/${release}/${src}">
-            <fileset dir="." includes="BUILD"/>
             <fileset dir="${charts}/${src}"/>
             <fileset dir="${core}/${src}"/>
             <fileset dir="${web}/${src}"/>

Added: incubator/pivot/trunk/build.xml.DIST
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/build.xml.DIST?rev=759368&view=auto
==============================================================================
--- incubator/pivot/trunk/build.xml.DIST (added)
+++ incubator/pivot/trunk/build.xml.DIST Fri Mar 27 22:00:03 2009
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="build">
+    <target name="build">
+        <mkdir dir="bin"/>
+        <javac srcdir="src" destDir="bin" debug="true"/>
+    </target>
+</project>