ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin S" <>
Subject Re: Re: RE: javac, classpath with spaces
Date Tue, 08 Mar 2005 11:17:02 GMT
Apologies for spamming the list, folks.

I've just realised that it does in fact work. It turns out that because
we haven't installed source control yet, when I tried this it had actually
been using an older version of the properties file, that contains an
invalid path (a non-escaped backslash is present), when I tried this.

So, the suggestion does work. Thanks, Dominique.

As I said: one of those days :( I need a pint.

>Oops. My mistake, no it doesn't :/ Ack, it's going to be one of those
>days. I think I'm going to have to go with the progra~1 form then.
>Thanks anyway for the help.
>Thanks for the reply.
>I can't use multiple <pathelement> tags as there's no guarantee that
>the classpath will have a certain number of elements.
>However, using one pathelement like <pathelement path="${classpath}"/>
>works, so I'm happy.
>>You wouldn't have any issues if you used a nested classpath which
>>separates each classpath element in a <pathelement>, instead of using a
>>property in a properties file.
>>But you can always replace "program files" by progra~1, i.e. the DOS
>>short name with no spaces. --DD
>>> -----Original Message-----
>>> From: Colin S []
>>> Sent: Monday, March 07, 2005 12:20 PM
>>> To: Ant Users List
>>> Subject: javac, classpath with spaces
>>> Hello all,
>>> I've been searching through the archives and the Web today trying to
>>> get the <javac> task working with a classpath that has spaces in it.
>>> Any help appreciated. Thanks in advance.
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message