Josh McDonald wrote:
> Hey guys.
> 
> There *must* be something I'm doing wrong here.
> 
> In my ant build:
> 
>         <compc output="'${bin.dir}/${targetLibrary}'">
>             <source-path path-element="${src.dir}"/>
>         </compc>
> 
> Now src.dir is:
> 
> /Users/josh/Desktop/Work/Builder workspace/PathwaysVersions/src
> 
> And I'm getting the following error from Ant:
> 
> command line: Error: unknown configuration variable 'compiler.source-path
> /Users/josh/Desktop/Work/Builder,workspace/PathwaysVersions/src'
> 
> Which is clearly just blowing the space out into two different instances of
> the <sp> param. How do I embed quotes or something so this doesn't happen?
> I've tried using ' as well as &quot; but with no luck. Any ideas?

Escape the space.

/Users/josh/Desktop/Work/Builder\ workspace/PathwaysVersions/src

If that doesnt work. Create a symlink. :)

cheers,
  shaun

Reply via email to