ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas Kiviaho (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACE-301) Improve getting started to avoid class/source incompatibilities
Date Fri, 09 Nov 2012 09:30:12 GMT
Tuomas Kiviaho created ACE-301:
----------------------------------

             Summary: Improve getting started to avoid class/source incompatibilities
                 Key: ACE-301
                 URL: https://issues.apache.org/jira/browse/ACE-301
             Project: ACE
          Issue Type: Improvement
         Environment: eclipse with jdk 1.7.0_07
windows with jdk 1.6.0_33
            Reporter: Tuomas Kiviaho
            Priority: Minor


*Command line build*

ANT build process goes as far as deployment verifier with the environment specified in this
issue. Then you start getting error like below.

{code}
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] src\org\apache\ace\deployment\verifier\impl\VerifyEnvironmentImpl.java:125: error:
type ServiceReference does not take parameters
[javac]         public ServiceReference<?>[] getRegisteredServices() {
[javac]                                ^
{code}

*Eclipse with Bndtools*

Everything works fine until after you've created distributable archive and try to run it using
the provided shell script using the environment specified in this issue.

{code}
 java.lang.UnsupportedClassVersionError: org/apache/ace/configurator/Activator : Unsupported
major.minor version 51.0
{code}

I suggest that getting started guide would include steps for configuring JDT which I believe
was previously provided automatically by M2Eclipse. I thinks that ANT build script could contain
javac.source 1.6 setting by default.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message