Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0ED72E2B6 for ; Fri, 25 Jan 2013 13:38:55 +0000 (UTC) Received: (qmail 49859 invoked by uid 500); 25 Jan 2013 13:38:54 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 49824 invoked by uid 500); 25 Jan 2013 13:38:54 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 49803 invoked by uid 99); 25 Jan 2013 13:38:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 13:38:53 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gacu-users@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 13:38:46 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TyjUP-000161-1t for users@camel.apache.org; Fri, 25 Jan 2013 14:38:41 +0100 Received: from 85.91.123.14 ([85.91.123.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jan 2013 14:38:41 +0100 Received: from anemish by 85.91.123.14 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jan 2013 14:38:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@camel.apache.org From: Alexander Nemish Subject: Re: Scala DSL with Scala 2.10 Date: Fri, 25 Jan 2013 13:38:11 +0000 (UTC) Lines: 31 Message-ID: References: <1355882749507-5724331.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 85.91.123.14 (Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11) X-Virus-Checked: Checked by ClamAV on apache.org Henryk Konsek writes: > > > I have logged ticket > > https://issues.apache.org/jira/browse/CAMEL-6011 > > > > And upgrading Scala now. > > Actually this is not a Scala-way to just upgrade the version of the library. > > In fact we should create separated module for 2.10 (cloned from the > 2.9). New development should take place in 2.10 module while existing > 2.9 module should be kept for the compatibility reasons. > > Now we force people who want to switch from Camel 2.10 to Camel 2.11 > to migrate all their business code to Scala 2.10 as well. And this can > be painful for them. > > I can handle this issue if you want, but I strongly recommend to keep > Scala 2.9 support. > > Totally agree. The Scala way to do is to build and publish camel-scala_2.9.2- 2.11.0.jar and camel-scala_2.10-2.11.0.jar so sbt could manage scala version automatically. You may want to check http://www.scala- sbt.org/release/docs/Getting-Started/Library-Dependencies.html#getting-the- right-scala-version-with Cheers, Alexander Nemish