Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ant-dev] Problems resolving mixed paths with .. in Ant integration in Eclipse

Dear list,

there seems to be a problem with path name resolution when Ant is run inside
Eclipse. (This is 2.1.0 to be exact.)

If under windows a path happend to look like this:

c:\local\src\anyapp\build/../target

because you had defined a property such as ${basedir}/../target

this gets resolved to

c:\local\src\anyapp\build\target

instead of

c:\local\src\anyapp\target

Leaving everything unchanged and running ant from a DOS box (same version;
1.5.3) does not have this problem.

I brought this up on the newsgroup already. Darin Swanson considered this a
bug and wanted to have a look. Any workarounds / patches would be nice as
this is causing trouble with a lot of OSS packages that do not build under
Windows because of this.

Regards,
Torsten





Back to the top