Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Re: Migrating Athena Ant-based builds from build to build2 (was Re: Closer, but not quite there)

On 05/17/2010 04:54 PM, Nick Boldt wrote:
AFAIK, if your Bundle-RequireExecutionEnvironment is set correctly in
your plugins' MANIFEST.MF, you can point everything @ JDK6 and still
end up with 1.4- or 5.0-compliant code. Much simpler.

Depending on you settings, you might get lots of warnings from the Eclipse compiler when you compile without a "strictly compatible" JDK installed. Our build is setup that way. Others might be too. It's an easy way to ensure that you compile against the correct rt.jar and don't use classes from a higher JDK.


And yes, Tycho is simpler than PDE (less configuration needed,
arguably more/differently extensible), but currently lacks support for
generation of source plugins/features.

The PDE builder (and hence Buckminster) can be forced to generate correct bytecodes by adding a line like this to the build.properties file:

jre.compilation.profile = J2SE-1.5

AFAIK, no configuration is needed aside from what you already have in your workspace.

Regards,
Thomas Hallgren



Back to the top