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.