AFAIK you cant:
- Ant doesnt know anything about Eclipse. 
- An Eclipse workspace knows its projects but a project does not know its 
workspace.
  Therefore parsing the .classpath and .project files wouldnt help.
  
Jan

>-----Ursprüngliche Nachricht-----
>Von: Ben Stover [mailto:[EMAIL PROTECTED] 
>Gesendet: Montag, 27. Oktober 2008 23:27
>An: [email protected]
>Betreff: How to access the basedir of ANOTHER project in Eclipse?
>
>Assume I use a build.xml in Project AAA.
>As part of a property definition I want to define a folder from 
>ANOTHER project BBB within the same Eclipse installation.
>
>However the actual path should NOT be entered directly (=absolute) but 
>relative to the current workspace. It should go similar like:
>
><property name="seconddir" 
>value="${basedirofcurrentworkspace}/projectBBB/src" />
>
>How can I refer this external dir with Ant?                    
>         
>
>Ben
>
>
>
>
>---------------------------------------------------------------------
>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