forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Forrest 0.2-rc1 released :)
Date Thu, 14 Nov 2002 08:56:02 GMT
On Thu, Nov 14, 2002 at 09:30:59AM +0100, Steven Noels wrote:
> Jeff Turner wrote:
> 
> >Try running 'forrest -v', which will print out a fuller stack trace.
> >I tried briefly on my ageing Win95 box, eventually gave up and tried
> >just Ant 1.6.. I think there's a problem with ant.bat: it ignores
> >ANT_HOME, and I could only get Ant working by putting it in c:\ant
> 
> it looks like the classpath is badly constructed... I patched 
> ant\bin\ant.bat for debugging like this:
> 
> :runAnt
> echo %LOCALCLASSPATH%
> echo "%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" 
> %ANT_OPTS% org.apache.tools.ant.Main %ANT_ARGS% %ANT_CMD_LINE_ARGS%
> "%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" 
> %ANT_OPTS% org.apache.tools.ant.Main %ANT_ARGS% %ANT_CMD_LINE_ARGS%
> goto end
> 
> and those echo produce:
> 
> (classpath) 
> "C:\bin\java\j2sdk1.4.1\lib\tools.jar";C:\Program;Files\apache-forrest

Hm :/ Don't see why ${tools.jar} is being quoted.  The 'tools.jar'
property isn't set in ANT_OPTS or ~/.antrc is it?

> (invocation) "C:\bin\java\j2sdk1.4.1\bin\java.exe" -classpath 
> ""C:\bin\java\j2sdk1.4.1\lib\tools.jar";C:\Program

Same problem.

> Question: do we need to use ant.bat, can't we just write our own Ant 
> invocation script?

Could.. I don't know if having a simpler script would outweigh the
benefits of having to maintain it ourselves though.  Any fix to the
proper ant.bat, we'd have to 'port' into our script.

> ps: Jeff, any instant messaging protocol I can use to reach you?

Linux IM clients all suck, so I haven't got one set up.. if you've got an
IRC client, I'm currently on irc.werken.com, username 'Ix'.


--Jeff

Mime
View raw message