2002/08/07 03:22:58
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:49:30 +0000 (06:49 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:49:30 +0000 (06:49 +0000)
darcs-hash:20040130064930-2ba56-401fce9e3c63dc78bc6f3dc07bbf344003afa97e.gz

AUTHORS
README
build.xml

diff --git a/AUTHORS b/AUTHORS
index efde1d1..5fd5037 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -11,5 +11,5 @@
 [david] David Crawshaw <david@zentus.com>
    - Fixes to slider.xwt
 
 [david] David Crawshaw <david@zentus.com>
    - Fixes to slider.xwt
 
-[corey] Corey Jewett <corey@triumphevents.com>
+[corey] Corey Jewett <cj@syntheticplayground.com>
    - Patch to make build.xml not depend on <bash> task
\ No newline at end of file
    - Patch to make build.xml not depend on <bash> task
\ No newline at end of file
diff --git a/README b/README
index f2d9d64..e3ca552 100644 (file)
--- a/README
+++ b/README
@@ -95,7 +95,7 @@ The name of any class in org.xwt.plat is a valid <platform>; here is a
 list as of 20-Mar-2002:
 
     Win32         - Windows 95 / NT4 or later
 list as of 20-Mar-2002:
 
     Win32         - Windows 95 / NT4 or later
-    Java2         - Any Java 1.2+ compliant JVM
+    Java12        - Any Java 1.2+ compliant JVM
 
 Valid <target>s are:
 
 
 Valid <target>s are:
 
@@ -195,6 +195,26 @@ Building
 
 
 ______________________________________________________________________________
 
 
 ______________________________________________________________________________
+Native-Code "ant"
+
+** THIS DOESN'T WORK YET **
+
+Ant takes a long time to start up, mainly because it has to load a
+JVM. If you compile ant to native code using GCJ, it will load much
+more quickly. So far, this only works on Linux.
+
+    mkdir /tmp/ant
+    cd /tmp/ant
+    jar xvf ~/xwt/lib/ant.jar
+    for A in `find * -name \*.properties -or -name \*.txt -or -name \*.mf`
+        do gcj -c --resource $A $A -o $A.o
+    done
+    CLASSPATH= gcj --main=org.apache.tools.ant.Main \
+               `find . -name \*.class -or -name \*.o` -o ant
+    mv ant ~/xwt/ant
+
+
+______________________________________________________________________________
 inet_addr patch
 
 Index: java/net/natInetAddress.cc
 inet_addr patch
 
 Index: java/net/natInetAddress.cc
index 7e30af2..4d14b5c 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -57,9 +57,6 @@
 
             </classpath>
         </javac>
 
             </classpath>
         </javac>
-        <taskdef name="bash" classname="org.xwt.tasks.BashTask">
-            <classpath path="bin/"/>
-        </taskdef>
         <echo message="updating     .xwt -> .xwar"/>
         <zip update="true" zipfile="bin/org/xwt/builtin.xwar" basedir="src" includes="org/xwt/builtin/*.png,org/xwt/builtin/*.xwt,org/xwt/builtin/*.xwf"/>
     </target>
         <echo message="updating     .xwt -> .xwar"/>
         <zip update="true" zipfile="bin/org/xwt/builtin.xwar" basedir="src" includes="org/xwt/builtin/*.png,org/xwt/builtin/*.xwt,org/xwt/builtin/*.xwf"/>
     </target>