Ant properties break as soon as you add custom ant properties to the project… Or did they fix that in Eclipse 3.5?

Submitted by Lennart Kats on 16 February 2010 at 16:08

On 16 February 2010 at 16:08 Lennart Kats commented:

Plugin-provided ant properties also seem to cause problems with Eclipse 3.2 and/or 3.3.


On 16 February 2010 at 16:08 Lennart Kats commented:

Nope, they didn’t fix it in Eclipse 3.5. Figures.


On 16 December 2012 at 11:12 Guido Wachsmuth tagged @vvergu

On 8 January 2013 at 16:29 Eelco Visser removed tag @lennartkats

On 8 January 2013 at 16:30 Eelco Visser tagged 1.1

On 30 January 2013 at 13:45 Vlad Vergu commented:

What is the issue here?


On 30 January 2013 at 13:46 Vlad Vergu tagged unconfirmed

On 30 January 2013 at 13:46 Vlad Vergu tagged rfc

On 30 January 2013 at 13:54 Lennart Kats commented:

This is about the properties you can set in Project Properties > Builders > Properties. With those properties, you can set things like machine-specific configuration. In the WebDSL plugin project we needed that kind of configuration as well, in order to point to the local path of the full WebDSL source code. You could set that using the properties dialog, but that is broken in Eclipse: it will break all Spoofax-specific builtin properties as well as any other Eclipse builtin properties. Instead, you can use a build.properties file to set those kinds of additional properties, which is the approach currently used in the WebDSL project.


On 30 January 2013 at 14:00 Vlad Vergu tagged !vvergu

On 30 January 2013 at 16:49 Vlad Vergu commented:

Thanks for comments. At least in Eclipse 3.8 this is no longer an issue.

I’ve tried setting custom properties in Builders > Properties, they appear in the launch configuration and are then visible in build.main.xml. Of course, for builds outside of Eclipse where build.main.xml expects some properties which are in the launch configuration we may need to figure out some other solution.

In any case, this works inside Eclipse, and even editing the launch configuration in both UI and file directly leads to a sane xml file.


On 30 January 2013 at 16:49 Vlad Vergu closed this issue.

On 30 January 2013 at 16:49 Vlad Vergu removed tag rfc

On 30 January 2013 at 16:49 Vlad Vergu removed tag !vvergu

Log in to post comments