Hi Michael, I don't see any way around this at the moment.  I assumed I
could do the following to get a path relative to the Flex install:

        <output>
                ${flexlib}/bar/out.swc
        </output>

But I tried this, and the flexlib environement variable is being parsed
twice, which creates a bad path.  I'll enter a bug on all of this.

-Brian

> -----Original Message-----
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Michael
> Sent: Tuesday, August 29, 2006 1:34 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] <output> directive broken for absolute 
> paths using compc
> 
> Hello,
> 
> A minor but frustrating oddity:
> 
> I have been tinkering around with compilation configuration 
> files and  
> this question is related to 'compc' and its configuration file.
> 
> Does anyone know why compc doesn't take absolute paths inside the  
> <output> directive?
> 
> If I run compc from ~/foo, this configuration
> 
>       <output>
>               /bar/out.swc
>       </output>
> 
> places the output at ~/foo/bar/out.swc, which is not the expected / 
> bar/out.swc.
> 
> This is a problem because the output file will always created in a  
> directory relative to the directory from which compc is run. This  
> makes portability a headache and means building custom scripts to  
> ensure that either compc is run from the same place every time, or  
> the output file is moved post compilation from a directory.
> 
> Any known fixes or am I missing a vital configuration directive  
> elsewhere?
> 
> Regards, 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to