Hi Antoine, Thanks for checking. I had made a mistake! I had forgot to commit the other file that I changed - Launcher.java (assuming that it only had changes with printf statements!). Can you test now?
I have tested by moving ant-contib.jar into ~/# and running with ant --execdebug -f x.xml -lib ~/# where x.xml was: <project name="x" default="p" xmlns:ac="antlib:net.sf.antcontrib"> <target name="p"> <ac:if> <equals arg1="a" arg2="a"/> <then> <echo>Hello world</echo> </then> </ac:if> </target> </project> Peter On 4/19/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > > > > Antoine Levy-Lambert wrote: > > results : > > > > ant -f docs.xml -lib c:/opt/velocity\#1.4/velocity-dep-1.4.jar -lib > > c:/opt/velocity\#1.4/build/lib/jdom-b9.jar > > > > I wonder whether the lines 146 to 181 in Locator.java which I copied > > from a bug report of Jesse are good. > > > > > If I remove the lines 146 to 181 in Locator.java, > (meaning if Locator#fromURI(String uri) is implemented without > reflection, using ant's own code) > there is no exception, but the Anakia task is not found. :-( > > It sounds like we need to setup special testcases concerning locating > directories or files containing the # sign. > > Peter : were you able to test something like that under UNIX ? Or is it > impossible ? > > I would also try simply running a java program with java -cp something > someclass with a classpath containing hash signs > to see whether this works. > > Regards, > > Antoine > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >