You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Robert Segal <Ro...@cryptologic.com> on 2007/02/27 00:47:45 UTC

Failure to have properties detected from property files within Eclipse for running/debugging

Having some issues debugging with Eclipse and ANT.  I have some build
scripts setup which makes use of properties files which refer to other
properties in that same file.  So something like this...

myPropA = "propertyA"
myPropB = ${myPropA}/propertyB

When I am running build scripts through the command line this is no
problem.  However when I try to run/debug ANT scripts in Eclipse making
use of property files with the format above in the case of a property
like myPropB that property is not detected.  I'm sure it's because I
don't have something setup properly within Eclipse.  Has anyone
encountered this issue before?

Robert Segal
Tools Developer
CryptoLogic Inc.
55 St. Clair Ave W., 3rd Floor
Toronto, Ontario
Canada  M4V 2Y7
tel.  + 1.416.545.1455 x5896
fax. + 1.416.545.1454

This message, including any attachments, is confidential and/or
privileged and contains information intended only for the person(s)
named above. Any other distribution, copying or disclosure is strictly
prohibited. If you are not the intended recipient or have received this
message in error, please notify us immediately by reply email and
permanently delete the original transmission from all of your systems
and hard drives, including any attachments, without making a copy.


Re: Failure to have properties detected from property files within Eclipse for running/debugging

Posted by Omry Yadan <om...@yadan.net>.
There used to be a bug in eclipse where it ran ant with the wrong 
working directory.

this could be the reason.

if you are not already doing it, use the latest eclipse (3.2 at the moment).



Robert Segal wrote:

> Having some issues debugging with Eclipse and ANT.  I have some build
> scripts setup which makes use of properties files which refer to other
> properties in that same file.  So something like this...
>
> myPropA = "propertyA"
> myPropB = ${myPropA}/propertyB
>
> When I am running build scripts through the command line this is no
> problem.  However when I try to run/debug ANT scripts in Eclipse making
> use of property files with the format above in the case of a property
> like myPropB that property is not detected.  I'm sure it's because I
> don't have something setup properly within Eclipse.  Has anyone
> encountered this issue before?
>
> Robert Segal
> Tools Developer
> CryptoLogic Inc.
> 55 St. Clair Ave W., 3rd Floor
> Toronto, Ontario
> Canada  M4V 2Y7
> tel.  + 1.416.545.1455 x5896
> fax. + 1.416.545.1454
>
> This message, including any attachments, is confidential and/or
> privileged and contains information intended only for the person(s)
> named above. Any other distribution, copying or disclosure is strictly
> prohibited. If you are not the intended recipient or have received this
> message in error, please notify us immediately by reply email and
> permanently delete the original transmission from all of your systems
> and hard drives, including any attachments, without making a copy.
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org