I have an existing RCP product I am attempting to migrate from an Ant-based build system to a Tycho-based system. I have them both building on separate branches, but I would like to have them both be buildable from the same branch. The
“build.properties” files are quite different. Since there does not seem to be a way to specify a different filename than “build.properties”, I attempted to insert a dirty little ant task to copy “maven.build.properties” to “build.properties” before running
the best of the build logic. Unfortunately, it seems that the “build.properties” file is read way before I have a chance to fire this task off. (Even though the file is copied at the “initialize” phase, I still receive a “bin.includes value(s) must be specified.”
I took a slight peek at the Tycho source code, and it seems like this file is loaded very early in the process.
Does anyone have any ideas on how I can have two different builds, one of which is Tycho-based, using different “build.properties” files without resorting to a pre-maven build script?
Tools Software Engineer
LeapFrog Enterprises, Inc.