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.

>Update:
>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.
>
>Col.
>
>>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 [mailto:[EMAIL PROTECTED]
>>> 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.
<snip>
>>> Any help appreciated. Thanks in advance.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to