
Signature
Daniel Dyer
http://www.dandyer.co.uk
> > When we attempt to execute Ant, we get:
> >
[quoted text clipped - 15 lines]
> Files\whatever), or use quotes, or move the software to a path that
> doesn't have spaces.
Nope, oddly enough, no spaces in paths -- for both JDK and Ant. On my
home machine at some stage, I did have Ant complaining about not being
able to understand JAVA_HOME (I think), which at that time was in
"Program Files".
I should have mentioned that fact.
Hmmm... 8.3? The only difference I can detect is that on my working
system, ANT_HOME is c:\apache-ant-1.6.5, whilst on the problem system
it is c:\Ant\apache-ant-1.6.5.
On a university networked system, maybe God only knows how meny
versions of system variables there are?
It's only first year stuff, but NB /not/ introdutory programming, so I
suppose I could flatten the directory structure and do without ant; but
the textbook uses ant; and it will be nice for them to get to know that
ant exists.
Many thanks,
Jon C.
Daniel Dyer - 23 Aug 2005 17:36 GMT
>> Is it possible that spaces in the path are causing problems? If there
>> are
[quoted text clipped - 7 lines]
> able to understand JAVA_HOME (I think), which at that time was in
> "Program Files".
I checked my path after posting that and realised that I do have spaces,
so that was unlikely to have been the problem.
What does "echo %ANT_HOME%" display?
> I should have mentioned that fact.
>
> Hmmm... 8.3? The only difference I can detect is that on my working
> system, ANT_HOME is c:\apache-ant-1.6.5, whilst on the problem system
> it is c:\Ant\apache-ant-1.6.5.
8.3 refers to the MS-DOS naming convention, where a file name could have
up to 8 characters before the dot and up to three afterwards (with no
spaces).
Dan.

Signature
Daniel Dyer
http://www.dandyer.co.uk
>> But unlikely, since before either of PATH or ANT_HOME had been set by
>> the sys. admin. I had managed to get Admin. privileges and set them
>> myself -- correctly I thought, at least similar to my working home
>> system.
You can put your sets in a bat file you call prior to invoking ant.
Only once you have got them all perfect, hand them over to your admin
for burning into the registry.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.