Hello Dominique, I plead guilty for this. I am the one who added this URLDecoder.decode(). I will add a try catch block, which will generate a warning on JDK 1.4 1.5 Anyway, I do not like the algorithm used where one goes File -> URI -> File just to check whether class path entries in manifest refer to a protocol (other than file). Cheers, Antoine
Cheers, Antoine > --- Ursprüngliche Nachricht --- > Von: Dominique Devienne <[EMAIL PROTECTED]> > An: Ant Developers List <[email protected]> > Betreff: Can't bootstrap on JDK 1.2.2 > Datum: Wed, 23 Nov 2005 08:54:05 -0600 > > I can't get the log for AntClassLoader (for some reason), but the file > dates from the 10th of this month. > > Don't we have a Gump run on JDK 1.2.2? > > Not sure how to resolve this. --DD > > D:\org_apache\svn\core\trunk>bootstrap > > ... Bootstrapping Ant Distribution > JAVA_HOME=C:\pro\java\jdk1.2.2 > JAVA=C:\pro\java\jdk1.2.2\bin\java > JAVAC=C:\pro\java\jdk1.2.2\bin\javac > CLASSPATH=C:\pro\java\jdk1.2.2\lib\tools.jar;lib\optional\junit-3.8.1.jar;lib\xercesImpl.jar;lib\xml > -apis.jar;build\classes;src\main; > > ... Compiling Ant Classes > src\main\org\apache\tools\ant\AntClassLoader.java:503: Exception > java.lang.Exception must be caught, > or it must be declared in the throws clause of this method. > File libraryFile = new > File(URLDecoder.decode(libraryURL.getFile())); > ^ > Note: 6 files use or override a deprecated API. Recompile with > "-deprecation" for details. > 1 error, 1 warning > > ... Cleaning Up Build Directories > > ... Done Bootstrapping Ant Distribution > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
