You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by Timothy Ward <ti...@apache.org> on 2013/05/02 14:26:07 UTC

Compiling with Java 7

I'm afraid that I'm a little short on time for debugging this, but it seems to help if you tell the Java 7 compiler to ignore the missing bootstrap class path jars (Animal Sniffer should save us from anything nasty anyway).
The following in the default-parent compiler plugin configuration makes some progress:
                <configuration>
                    <optimize>true</optimize>
                    <debug>true</debug>
                    <showDeprecation>true</showDeprecation>
                    <showWarnings>true</showWarnings>
                    <fork>true</fork>
                    <compilerArgument>-Xlint:-options</compilerArgument>
                </configuration>
I've included this as a patch too if that's helpful to someone.

Tim Ward
-------------------
Apache Aries PMC member & Enterprise OSGi advocate
Enterprise OSGi in Action (http://www.manning.com/cummins)
-------------------