Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Refer to variables in a features build.properties

On 2014-08-29 17:37, Oberlies, Tobias wrote:
Anybody has an idea how to do this with standard maven/tycho plugins
without changing existing files in the repository (I'm fine with a
build.properties.in -> build.properties transition that does the
replacement)?

The maven-resources-plugin should be able to do this for you.

I had looked at that before, but somehow always understood it would generate the file in the target directory. Re-Reading the docs I see one can freely specify the output directory, will play a bit with that.

> With ant I could just set an ant property and it worked fine.

This could be an undocumented feature in the PDE headless build. So this is the reason why it's not implemented in Tycho. If you have details of how it is supposed to work/used to work in the PDE headless build, it would be helpfull if you could open a feature request in Tycho for
this [1]

I've create https://bugs.eclipse.org/bugs/show_bug.cgi?id=442922, my personal guess would be that its a side-effect of PDE and the antrunner in Eclipse. After all the same replacement is required to work for some things in the product builds build.properties (for the qualifier and other things).

Andreas

--
Andreas Pakulat squish@xxxxxxxxxxxxx
froglogic GmbH - Automated UI and Web Testing


Back to the top