This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[ecj] Patch: FYI: rewrite download_ecj
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 19 Dec 2006 13:30:51 -0700
- Subject: [ecj] Patch: FYI: rewrite download_ecj
- Reply-to: tromey at redhat dot com
I'm checking this in on gcj-eclipse-merge-branch.
Andreas points out that wget isn't installed by default on various
non-linux platforms. So I rewrote download_ecj to use ftp.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* download_ecj: Rewrote.
Index: download_ecj
===================================================================
--- download_ecj (revision 119844)
+++ download_ecj (working copy)
@@ -12,4 +12,14 @@
# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
#
-wget -O ecj.jar ftp://sources.redhat.com/pub/java/ecj-latest.jar
+ftp -n sources.redhat.com << EOF
+verbose
+hash
+user ftp ''
+cd /pub/java
+binary
+get ecj-latest.jar
+EOF
+
+mv ecj-latest.jar ecj.jar
+