You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Charles Moulliard <cm...@gmail.com> on 2011/04/06 12:09:01 UTC

camel 2.6 compiled with jdk 1.5.0

Hi,

Does anybody has tried to compile Camel 2.6.0 with jdk 1.5.0 ? That does not
work.

[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 820 source files to
P:\tmp\apache-camel-2.6.0\camel-core\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
\tmp\apache-camel-2.6.0\camel-core\src\main\java\org\apache\camel\model\LoadBalanceDefinition.java:[129,16]
inco
nvertible types
found   : org.apache.camel.model.ProcessorDefinition
required: org.apache.camel.model.LoadBalanceDefinition
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
\tmp\apache-camel-2.6.0\camel-core\src\main\java\org\apache\camel\model\LoadBalanceDefinition.java:[129,16]
inconvertibl
e types
found   : org.apache.camel.model.ProcessorDefinition
required: org.apache.camel.model.LoadBalanceDefinition

So what we mention on web site is not true.

Regards,

Charles

--
View this message in context: http://camel.465427.n5.nabble.com/camel-2-6-compiled-with-jdk-1-5-0-tp4285990p4285990.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: camel 2.6 compiled with jdk 1.5.0

Posted by Hadrian Zbarcea <hz...@gmail.com>.
Try this before building:
rm -rf ~/.m2/repository/org/apache/camel

Hadrian

On Apr 6, 2011, at 6:09 AM, Charles Moulliard wrote:

> Hi,
> 
> Does anybody has tried to compile Camel 2.6.0 with jdk 1.5.0 ? That does not
> work.
> 
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 820 source files to
> P:\tmp\apache-camel-2.6.0\camel-core\target\classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \tmp\apache-camel-2.6.0\camel-core\src\main\java\org\apache\camel\model\LoadBalanceDefinition.java:[129,16]
> inco
> nvertible types
> found   : org.apache.camel.model.ProcessorDefinition
> required: org.apache.camel.model.LoadBalanceDefinition
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> \tmp\apache-camel-2.6.0\camel-core\src\main\java\org\apache\camel\model\LoadBalanceDefinition.java:[129,16]
> inconvertibl
> e types
> found   : org.apache.camel.model.ProcessorDefinition
> required: org.apache.camel.model.LoadBalanceDefinition
> 
> So what we mention on web site is not true.
> 
> Regards,
> 
> Charles
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-2-6-compiled-with-jdk-1-5-0-tp4285990p4285990.html
> Sent from the Camel Development mailing list archive at Nabble.com.


Re: camel 2.6 compiled with jdk 1.5.0

Posted by Willem Jiang <wi...@gmail.com>.
Hi Charles,

I just tried to compile the Camel 2.6.0 with JDK 1.5.0.

[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 31 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 820 source files to 
/Users/jiangning/work/fuse/git/camel/camel-core/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 63 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1364 source files to 
/Users/jiangning/work/fuse/git/camel/camel-core/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 
/Users/jiangning/work/fuse/git/camel/camel-core/target/surefire-reports

Here is my environment

Using Java version: 1.5.0
Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800)
Java version: 1.5.0_22
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.7" arch: "i386" Family: "unix"

Willem

On 4/6/11 6:09 PM, Charles Moulliard wrote:
> Hi,
>
> Does anybody has tried to compile Camel 2.6.0 with jdk 1.5.0 ? That does not
> work.
>
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 820 source files to
> P:\tmp\apache-camel-2.6.0\camel-core\target\classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \tmp\apache-camel-2.6.0\camel-core\src\main\java\org\apache\camel\model\LoadBalanceDefinition.java:[129,16]
> inco
> nvertible types
> found   : org.apache.camel.model.ProcessorDefinition
> required: org.apache.camel.model.LoadBalanceDefinition
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> \tmp\apache-camel-2.6.0\camel-core\src\main\java\org\apache\camel\model\LoadBalanceDefinition.java:[129,16]
> inconvertibl
> e types
> found   : org.apache.camel.model.ProcessorDefinition
> required: org.apache.camel.model.LoadBalanceDefinition
>
> So what we mention on web site is not true.
>
> Regards,
>
> Charles
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-2-6-compiled-with-jdk-1-5-0-tp4285990p4285990.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com