ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <>
Subject Re: Problem choosing XSLT processer with <style> task
Date Tue, 01 Aug 2006 11:40:37 GMT
You might find that changing \Program Files\ to the DOS 8.3 name 
(usually PROGRA~1) might help

You can find the DOS 8.3 name for a directory using DIR /X from the DOS 
Command prompt.

Change the environment variables that ANT might use, in this case 
JAVA_HOME, to use the DOS 8.3 paths.


Steve Loughran wrote:
> wrote:
>> I'm at home now and not at work. I haven't used Ant on this computer 
>> before. I opened a Windows command-line, switched to the Ant\bin 
>> directory and typed "ant -diagnostics" at the prompt. The result was 
>> this:
>> Files\Java\jdk1.5.0_06\bin was unexpected at this time.
>> What have I done wrong here?
> That's a sign of ant not working, probably because there are spaces 
> half way down the classpath or something else wierd. Its some 
> installation problem, certainly
> 1. Check your CLASSPATH variable, better yet, delete it.
> 2, check your PATH variable has no quotes, and no trailing backslash
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message