It would also be really helpful to be able to use
Eclipse variables in
places like the compiler args, main source folder, output folder, etc.
For instance...
-load-config+=${workspace_loc}/project/project-config.xml
This would be extremely helpful and make projects portable /
configurable across developer workstations.
Daniel Wabyick wrote:
> Thanks gents. Adding an extra "../" worked. I have my main
source folder
> in a "src" directory off the project root, so this makes sense
it worked.
>
> Adobe - this seems kind of strange behavior. Was it intentional? I would
> think the project root makes sense as the root for the compiler. In any
> case, a documentation section on relative paths would be very useful,
> unless its already there and I missed it.
>
>
>
>
> Dirk Eismann wrote:
>
>> yep,
>>
>> same works for -source-path (and probably all other compiler flags as
>> well)
>>
>> Dirk.
>>
>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED]ups.com
<mailto:flexcoders%40yahoogroups.com>
>>> [mailto:[EMAIL PROTECTED]ups.com
>>>
>> <mailto:flexcoders%40yahoogroups.com>] On Behalf Of
Paul Spitzer
>>
>>> Sent: Monday, October 09, 2006 8:42 AM
>>> To: [EMAIL PROTECTED]ups.com
<mailto:flexcoders%40yahoogroups.com>
>>> Subject: Re: [flexcoders] Relative paths in IDE compiler args
>>>
>>> Hey Daniel,
>>>
>>> I've definitely had the same problem. I found that for the
>>> -load-config flag I had to climb up a directory ../ to get to
>>> my project root... so I had something like...
>>> -load-config+="../build/project-config.xml".
I'm not entirely
>>> sure but I think it was relative to my main source directory
>>> which was in an as3 directory. I still can't get the
>>> -link-report flag to work with a relative path however.
>>>
>>>
>>>
>>> Daniel Wabyick wrote:
>>>
>>>> How do relative paths work in the IDE compiler arguments? In
>>>> particular, what is the directory running from?
>>>>
>>>> For example, I would like to include a namespace manifest XML
file
>>>> that is outside of my project path. I should be able to use
>>>> "-namespace http://www.mynamespace.com/
<http://www.mynamespace.com/>
>>>> ../myotherproject/namespace_manifest.xml",
>>>> but I have to use an absolute path to get it to work.
>>>>
>>>> Additionally, I can't seem to include linked folders in as
>>>>
>>> source paths.
>>>
>>>> I need to use absolute paths for those as well.
>>>>
>>>> Anyone had success with this?
>>>>
>>>> Thanks,
>>>> -Daniel
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Flexcoders Mailing List
>>> FAQ:
>>>
>> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
>>
>>> Search Archives:
>>> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>>>
>> <http://www.mail-archive.com/flexcoders%40yahoogroups.com>
>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>