You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Justin Mclean <ju...@classsoftware.com> on 2012/12/06 22:46:46 UTC

Release build and spaces in path

Hi,

Seems the unzip ant task dislike spaces even when escaped. So I had to come up with another solution.

You can create another directory (without spaces) that's a soft link to the path with spaces and change the basedir path in build.xml (line 21) to be an absolute path to the soft link.

Thanks,
Justin

Re: Release build and spaces in path

Posted by Justin Mclean <ju...@classsoftware.com>.
HI,

> Did adding quotes around the whole path not work either?
Nope. Tried in the property, and in the unzip call using both "'.....'" and '"...."'.

Justin

Re: Release build and spaces in path

Posted by Alex Harui <ah...@adobe.com>.


On 12/6/12 1:46 PM, "Justin Mclean" <ju...@classsoftware.com> wrote:

> Hi,
> 
> Seems the unzip ant task dislike spaces even when escaped. So I had to come up
> with another solution.
Did adding quotes around the whole path not work either?
> 
> You can create another directory (without spaces) that's a soft link to the
> path with spaces and change the basedir path in build.xml (line 21) to be an
> absolute path to the soft link.
> 
> Thanks,
> Justin

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Release build and spaces in path

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> Just curious.  Are you using a Unix shell on Windows and escaping Unix
> style?
On OSX - everything now works with spaces except ant unzip. 

Event tried the write the property to a file and do a replace on it (replacing " " with "\\\\ " in ant should do the job btw) and read it back trick.

Thanks,
Justin

Re: Release build and spaces in path

Posted by Carol Frampton <cf...@adobe.com>.

On 12/6/12 4 :46PM, "Justin Mclean" <ju...@classsoftware.com> wrote:

>Hi,
>
>Seems the unzip ant task dislike spaces even when escaped. So I had to
>come up with another solution.

Just curious.  Are you using a Unix shell on Windows and escaping Unix
style?

Carol

>
>You can create another directory (without spaces) that's a soft link to
>the path with spaces and change the basedir path in build.xml (line 21)
>to be an absolute path to the soft link.
>
>Thanks,
>Justin