Of course, will do so.
On Fri, Sep 14, 2012 at 9:36 AM, Carsten Ziegeler <[email protected]>wrote: > Hi, > > I never tried compiling with Java 7 so far, but could you please > create issues for each thing that doesn't work so can keep track of > it? > > Thanks > Carsten > > 2012/9/11 Balazs Toth <[email protected]>: > > Hi Guys, > > > > I tried it two ways (among others): > > - Sling 6 zip source release. I applied something like this manually in > > certain poms to overcome the known issues with launchpad 2.3.0 & Java 7. > > > > <artifactId>org.apache.sling.launchpad.base</artifactId> > > <version>2.4.0</version> > > > > What I experienced: one installer integration test failed > > (testReinstallSameConfig(), no incoming request) + all launchpad tests > > failed the same way. The compilation of all source bundles was successful > > though. > > > > - Sling SVN head. Compilation fails in Launchpad Base: > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile > > (default-testCompile) on project org.apache.sling.launchpad.base: > > Compilation failure > > [ERROR] > > > /home/tb/Developer/sling/launchpad/base/src/test/java/org/apache/sling/launchpad/base/impl/SlingFelixTest.java:[178,24] > > error: type ServiceReference does not take parameters > > > > The head version depends on the 2.4.1 and 2.4.0 versions of launchpad so > I > > did no manual tweaks in this version. > > Maven opts are set up correctly, .~/m2/settings.xml also set up as > > recommended and I did every build with otherwise fresh ~/.m2 folders. > > > > My environment: > > samadhi:~/Developer/sling$ java -version > > java version "1.7.0_04" > > Java(TM) SE Runtime Environment (build 1.7.0_04-b20) > > Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode) > > samadhi:~/Developer/sling$ mvn -version > > Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) > > Maven home: /home/tb/Applications/apache-maven-3.0.4 > > Java version: 1.7.0_04, vendor: Oracle Corporation > > Java home: /usr/java/jdk1.7.0_04/jre > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "linux", version: "3.5.3-1.fc17.x86_64", arch: "amd64", family: > > "unix" > > > > If anyone has a working method for this please don't hesitate to share :) > > > > Best, > > Balazs > > > > -- > Carsten Ziegeler > [email protected] >
