ant build of Tomcat v8.0.9 failing @ " Failed to download [.../ecj-4.4RC4/ecj-4.4RC4.jar]. All download sources are unavailable."

2014-07-18 Thread grantksupport
hi,

i'm building tomcat 8.0.9 tarball

java -version
openjdk version "1.8.0_20"
OpenJDK Runtime Environment (build 1.8.0_20-b23)
OpenJDK 64-Bit Server VM (build 25.20-b22, mixed mode)

ant -version
Apache Ant(TM) version 1.9.4 compiled on July 18 2014

when I exec an ant build, i get an eventual fatal failure

cd src/tomcat8
ant
Picked up _JAVA_OPTIONS: -Dswing.aatext=true 
-Dawt.useSystemAAFontSettings=on -Xmx1024M
Buildfile: /usr/local/src/apache-tomcat-8.0.9-src/build.xml

download-compile:

testexist:
 [echo] Testing  for 
/usr/local/src/tomcat-build-dls/tomcat-native-1.1.30/tomcat-native.tar.gz

downloadfile-2:

testexist:
 [echo] Testing  for 
/usr/local/src/tomcat-build-dls/commons-daemon-1.0.15/commons-daemon-1.0.15.jar

downloadgz-2:

testexist:
 [echo] Testing  for 
/usr/local/src/tomcat-build-dls/commons-daemon-1.0.15/commons-daemon-1.0.15-native-src.tar.gz

downloadfile-2:

testexist:
 [echo] Testing  for 
/usr/local/src/tomcat-build-dls/ecj-4.4RC4/ecj-4.4RC4.jar

downloadfile-2:

proxyflags:

setproxy:

trydownload.check:

trydownload:

proxyflags:

setproxy:

trydownload.check:

trydownload:

BUILD FAILED
/usr/local/src/apache-tomcat-8.0.9-src/build.xml:2644: The 
following error occurred while executing this line:
/usr/local/src/apache-tomcat-8.0.9-src/build.xml:2825: Failed 
to download [/usr/local/src/tomcat-build-dls/ecj-4.4RC4/ecj-4.4RC4.jar]. All 
download sources are unavailable.


checking

cat /usr/local/src/apache-tomcat-8.0.9-src/build.xml
...

2644
  
  
  
  

...

2825
  

not sure (yet) what's failing in Tomcat8 ... my TC7 builds are OK.

known issue/workaround?

GrantK

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: ant build of Tomcat v8.0.9 failing @ " Failed to download [.../ecj-4.4RC4/ecj-4.4RC4.jar]. All download sources are unavailable."

2014-07-18 Thread grantksupport
in build.properties.default I see hardcoded paths

...
# - Eclipse JDT, version 4.4RC4 or later -#
jdt.version=4.4RC4
jdt.release=S-4.4RC4-201406061215
jdt.home=${base.path}/ecj-${jdt.version}
jdt.jar=${jdt.home}/ecj-${jdt.version}.jar
# The download will be moved to the archive area eventually. We are 
taking care of that in advance.

jdt.loc.1=http://archive.eclipse.org/eclipse/downloads/drops4/${jdt.release}/ecj-${jdt.version}.jar

jdt.loc.2=http://download.eclipse.org/eclipse/downloads/drops4/${jdt.release}/ecj-${jdt.version}.jar
...

checking @ http://download.eclipse.org/eclipse/downloads/index.html, 4.4.RC4 is 
outdated -- and MISSING.  hence, the broken check.

the current drop is for "4.4" *RELEASE*,

http://download.eclipse.org/eclipse/downloads/drops4/R-4.4-201406061215/

adding to my local 

src/tomcat8/build.properties
...
jdt.version=4.4
jdt.release=R-4.4-201406061215
...

then re-exc'ing the ant build works

BUILD SUCCESSFUL
Total time: 25 seconds

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org