This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ecj] Patch: FYI: rewrite download_ecj


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
+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]