karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: can not compile trunk
Date Wed, 03 Oct 2012 19:45:43 GMT
I think it would be overkill to compile with both each time. If jenkins 
finds the problem it should be easy to commit a fast fix. I guess such 
issues will be rather rare.
So how do we handle this? Is it just not possible to use the generics in 
ServiceTracker with Java 7 or do we need to update something to make it 
work?

If there is no other solution I will remove the generics tomorrow.

Christian


Am 03.10.2012 21:12, schrieb Jean-Baptiste Onofré:
> It works with Java6 (1.6.0_26 on my machine), but not with Java7 
> (1.7.0 on my machine).
>
> I gonna update Jenkins to use Java7.
>
> @Christian, keep in mind that Karaf 3.0.0 should compile and run with 
> both Java6 AND Java7. When I commit something on trunk I always 
> compile and run with both JDK, maybe you could do the same.
>
> Regards
> JB
>
> On 10/03/2012 07:57 PM, Christian Schneider wrote:
>> Hi Andrei,
>>
>> this was changed by me. What is your build environment?
>> On my system and on jenkins it seems to build.
>>
>> Christian
>>
>>
>> Am 03.10.2012 19:54, schrieb Jean-Baptiste Onofré:
>>> Thanks Andrei,
>>>
>>> I gonna make a try on my local working copy.
>>>
>>> Regards
>>> JB
>>>
>>> On 10/03/2012 07:07 PM, Andrei Pozolotin wrote:
>>>>      *JB:*
>>>>
>>>>      my guess is someone is trying to play with compendium 4.3.0
>>>>
>>>>      FYI:
>>>>
>>>>      cd /tmp
>>>>      mkdir apache
>>>>      cd apache
>>>>      git clone git://github.com/apache/karaf.git
>>>>      cd karaf
>>>>      mvn clean install --define skipTests
>>>>
>>>>      result:
>>>>
>>>>      [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>>>>      (default-compile) on project org.apache.karaf.features.core:
>>>>      Compilation failure: Compilation failure:
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/EventAdminListener.java:[36,32]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java:[184,26]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java:[184,115]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java:[565,22]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/EventAdminListener.java:[39,36]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR] -> [Help 1]
>>>>
>>>>      Thank you,
>>>>
>>>>      Andrei
>>>>
>>>>
>>>>      [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>      [INFO] Reactor Summary:
>>>>      [INFO]
>>>>      [INFO] Apache Karaf ...................................... 
>>>> SUCCESS
>>>>      [1.288s]
>>>>      [INFO] OSGi core spec compiled for Java 7 ................ 
>>>> SUCCESS
>>>>      [3.307s]
>>>>      [INFO] Apache Karaf :: Util .............................. 
>>>> SUCCESS
>>>>      [0.392s]
>>>>      [INFO] Apache Karaf :: Main .............................. 
>>>> SUCCESS
>>>>      [1.382s]
>>>>      [INFO] Apache Karaf :: Region ............................ 
>>>> SUCCESS
>>>>      [0.025s]
>>>>      [INFO] Apache Karaf :: Region :: Core .................... 
>>>> SUCCESS
>>>>      [0.472s]
>>>>      [INFO] Apache Karaf :: Features .......................... 
>>>> SUCCESS
>>>>      [0.028s]
>>>>      [INFO] Apache Karaf :: Features :: Core .................. 
>>>> FAILURE
>>>>      [0.392s]
>>>>      [INFO] Apache Karaf :: Shell ............................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Shell :: Table .................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: JAAS .............................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: JAAS :: Boot ...................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: JAAS :: Config .................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: JAAS :: Modules ................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Shell :: Console .................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Features :: Command ............... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Features :: OBR Resolver .......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: KAR ............................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: KAR :: Core ....................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: KAR :: Command .................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Region :: Shell Commands .......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Region :: Persistence ............. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Bundle ............................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Bundle :: Core .................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Bundle :: Commands ................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Bundle :: SpringStateService ...... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: ConfigAdmin ....................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: ConfigAdmin :: Core ............... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: ConfigAdmin :: Commands ........... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Instance .......................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Instance :: Core .................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Instance :: Command ............... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Bundle ............................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Package :: Core ................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Package :: Commands ............... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: HTTP .............................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: HTTP :: Core ...................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: HTTP :: Commands .................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Service ........................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Service :: Core ................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Service :: Command ................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Log ............................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Log :: Core ....................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Log :: Command .................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Deployer .......................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Deployer :: Spring ................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Deployer :: Blueprint ............. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Deployer :: Features .............. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Deployer :: Karaf Archive (.kar) .. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Deployer :: Wrap Non OSGi Jar ..... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Shell :: Various Commands ......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Shell :: SSH ...................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Shell :: Help System .............. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: JAAS :: Jasypt Encryption ......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Jaas :: Command ................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Client ............................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Management ........................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Management ........................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: System ............................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: System :: Core .................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: System :: Shell Commands .......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web ............................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web :: Core ....................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web :: Commands ................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Wrapper ........................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Wrapper :: Core ................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Wrapper :: Shell Commands ......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web Console ....................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web Console :: Console ............ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web Console :: Branding ........... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web Console :: Features Plugin .... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web Console :: Gogo Plugin ........ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web Console :: HTTP Plugin ........ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Web Console :: Instance Plugin .... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Exception ......................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Scheduler ......................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Scheduler :: Core ................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Declarative Services (DS) ......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: SCR :: Shell Commands ............. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: SCR :: Management MBeans .......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: SCR :: Examples ................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Diagnostic ........................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Diagnostic :: Core ................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Diagnostic :: Command ............. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: OBR ............................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: OBR :: Core ....................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: OBR :: Command .................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Tooling ........................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Tooling :: Maven Karaf Plugin ..... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Tooling :: Exam Testing Framework . 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Tooling :: Exam Testing Framework :: 
>>>> Options
>>>>      SKIPPED
>>>>      [INFO] Apache Karaf :: Tooling :: Exam Testing Framework ::
>>>>      Container  SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies ........................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies :: Features ............ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies :: Features :: Framework 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies :: Features :: Standard SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies :: Features :: Spring .. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies :: Features :: Enterprise 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies :: Demos ............... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies :: Default Distribution SKIPPED
>>>>      [INFO] Apache Karaf :: Tooling :: Exam Testing Framework ::
>>>>      Regression Tests  SKIPPED
>>>>      [INFO] Apache Karaf :: Assemblies :: Minimal Distribution SKIPPED
>>>>      [INFO] Apache Karaf :: Demos ............................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Demos :: Web ...................... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Demos :: Branding :: Shell ........ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Demos :: Command :: Extend Console SKIPPED
>>>>      [INFO] Apache Karaf :: Demos :: Demo Dump provider ....... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Demos :: Deployer ................. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Demos :: Deployer :: Kar .......... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Demos :: Deployer :: Bundle ....... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Archetypes ........................ 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Archetypes :: Assembly Archetype .. 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Archetypes :: Command Archetype ... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Archetypes :: Feature Archetype ... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Archetypes :: Kar Archetype ....... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Archetypes :: Bundle Archetype .... 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Archetypes :: Blueprint Archetype . 
>>>> SKIPPED
>>>>      [INFO] Apache Karaf :: Integration Tests ................. 
>>>> SKIPPED
>>>>      [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>      [INFO] BUILD FAILURE
>>>>      [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>      [INFO] Total time: 9.439s
>>>>      [INFO] Finished at: Wed Oct 03 12:04:37 CDT 2012
>>>>      [INFO] Final Memory: 57M/336M
>>>>      [INFO]
>>>> ------------------------------------------------------------------------

>>>>
>>>>      [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>>>>      (default-compile) on project org.apache.karaf.features.core:
>>>>      Compilation failure: Compilation failure:
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/EventAdminListener.java:[36,32]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java:[184,26]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java:[184,115]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java:[565,22]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR]
>>>> /tmp/apache/karaf/features/core/src/main/java/org/apache/karaf/features/internal/EventAdminListener.java:[39,36]

>>>>
>>>>
>>>>      error: type ServiceTracker does not take parameters
>>>>      [ERROR] -> [Help 1]
>>>>      [ERROR]
>>>>
>>>>
>>>
>>
>>
>


-- 
  
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Mime
View raw message