You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Tuomas Kiviaho (JIRA)" <ji...@apache.org> on 2012/11/09 10:30:12 UTC

[jira] [Created] (ACE-301) Improve getting started to avoid class/source incompatibilities

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

[jira] [Updated] (ACE-301) Improve getting started html to avoid class/source incompatibilities with jdk7

Posted by "Tuomas Kiviaho (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACE-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tuomas Kiviaho updated ACE-301:
-------------------------------

    Description: 
I'm new to ACE and BndTools and found out that building of the project from trunk required a bit more steps than what was documented on getting started.

*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}

osgi.core;version=4.3.0.201102171602 used in deployment verifier isn't compatible with jdk7 (it's compiled with JSR14 flag). You might want to consider using 4.3.1.201210102023 from maven central which is intended to fix this.

*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 also noticed that defaults.bnd contains javac.source/target as 1.5 which I believe should be 1.6.

  was:
*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.


    Environment: 
eclipse with jdk 1.7.0_07
windows with jdk 1.6.0_33
ant 1.8.x

  was:
eclipse with jdk 1.7.0_07
windows with jdk 1.6.0_33

        Summary: Improve getting started html to avoid class/source incompatibilities with jdk7  (was: Improve getting started to avoid class/source incompatibilities)
    
> Improve getting started html to avoid class/source incompatibilities with jdk7
> ------------------------------------------------------------------------------
>
>                 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
> ant 1.8.x
>            Reporter: Tuomas Kiviaho
>            Priority: Minor
>
> I'm new to ACE and BndTools and found out that building of the project from trunk required a bit more steps than what was documented on getting started.
> *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}
> osgi.core;version=4.3.0.201102171602 used in deployment verifier isn't compatible with jdk7 (it's compiled with JSR14 flag). You might want to consider using 4.3.1.201210102023 from maven central which is intended to fix this.
> *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 also noticed that defaults.bnd contains javac.source/target as 1.5 which I believe should be 1.6.

--
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

[jira] [Commented] (ACE-301) Improve getting started html to avoid class/source incompatibilities with jdk7

Posted by "Tuomas Kiviaho (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACE-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494016#comment-13494016 ] 

Tuomas Kiviaho commented on ACE-301:
------------------------------------

I also noticed that server.log.store.itest did not compile without having org.apache.ace.log and org.apache.ace.range.api on buildpath.
                
> Improve getting started html to avoid class/source incompatibilities with jdk7
> ------------------------------------------------------------------------------
>
>                 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
> ant 1.8.x
>            Reporter: Tuomas Kiviaho
>            Assignee: Marcel Offermans
>            Priority: Minor
>
> I'm new to ACE and BndTools and found out that building of the project from trunk required a bit more steps than what was documented on getting started.
> *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}
> osgi.core;version=4.3.0.201102171602 used in deployment verifier isn't compatible with jdk7 (it's compiled with JSR14 flag). You might want to consider using 4.3.1.201210102023 from maven central which is intended to fix this.
> *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 also noticed that defaults.bnd contains javac.source/target as 1.5 which I believe should be 1.6.

--
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

[jira] [Assigned] (ACE-301) Improve getting started html to avoid class/source incompatibilities with jdk7

Posted by "Marcel Offermans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACE-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Offermans reassigned ACE-301:
------------------------------------

    Assignee: Marcel Offermans
    
> Improve getting started html to avoid class/source incompatibilities with jdk7
> ------------------------------------------------------------------------------
>
>                 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
> ant 1.8.x
>            Reporter: Tuomas Kiviaho
>            Assignee: Marcel Offermans
>            Priority: Minor
>
> I'm new to ACE and BndTools and found out that building of the project from trunk required a bit more steps than what was documented on getting started.
> *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}
> osgi.core;version=4.3.0.201102171602 used in deployment verifier isn't compatible with jdk7 (it's compiled with JSR14 flag). You might want to consider using 4.3.1.201210102023 from maven central which is intended to fix this.
> *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 also noticed that defaults.bnd contains javac.source/target as 1.5 which I believe should be 1.6.

--
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

[jira] [Commented] (ACE-301) Improve getting started html to avoid class/source incompatibilities with jdk7

Posted by "Marcel Offermans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACE-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493998#comment-13493998 ] 

Marcel Offermans commented on ACE-301:
--------------------------------------

Thanks for this feedback, Tuomas, you are completely right, we should implement your suggestions to make it easier to get started.
                
> Improve getting started html to avoid class/source incompatibilities with jdk7
> ------------------------------------------------------------------------------
>
>                 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
> ant 1.8.x
>            Reporter: Tuomas Kiviaho
>            Assignee: Marcel Offermans
>            Priority: Minor
>
> I'm new to ACE and BndTools and found out that building of the project from trunk required a bit more steps than what was documented on getting started.
> *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}
> osgi.core;version=4.3.0.201102171602 used in deployment verifier isn't compatible with jdk7 (it's compiled with JSR14 flag). You might want to consider using 4.3.1.201210102023 from maven central which is intended to fix this.
> *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 also noticed that defaults.bnd contains javac.source/target as 1.5 which I believe should be 1.6.

--
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