From user-return-7185-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Tue Aug 07 13:40:42 2007 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 43189 invoked from network); 7 Aug 2007 13:40:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 13:40:42 -0000 Received: (qmail 87694 invoked by uid 500); 7 Aug 2007 13:40:34 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 87667 invoked by uid 500); 7 Aug 2007 13:40:34 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 87656 invoked by uid 99); 7 Aug 2007 13:40:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 06:40:34 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of c1vamsi1c@gmail.com designates 209.85.198.186 as permitted sender) Received: from [209.85.198.186] (HELO rv-out-0910.google.com) (209.85.198.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 13:40:29 +0000 Received: by rv-out-0910.google.com with SMTP id b22so1226687rvf for ; Tue, 07 Aug 2007 06:40:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Ye6WGpwssnzobvl4CEHqTomQM8/Mj/Itg8g+VooUDPALRXy5ScKEM9UouLCmy4x917vwAbivuxgniIHd4ATJRk8TQU6B/9CVKp/HgG9U1cWZuV4/h9I6v0vGvnOK5xvqZOWtv9piT6LSXLGMR72f4F512vYGCNGuDyHqbUXnGuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=d5L28gWs+qf7DuXTQ+FklyDZ7gQTkzvAZ5XJ0ENLtXXmcQffQ1Q0t3Pwg2MTPegtv4ytrl1PvUNU47D9J809HuyHH5eIVG5C3VkuFKsD42gbCvcsUjyYF34YbtmiXT0vNUx5YGkQCXWouellSSGecku8OvvrCzr1/9xwlj5YzD4= Received: by 10.141.21.19 with SMTP id y19mr2537009rvi.1186494008990; Tue, 07 Aug 2007 06:40:08 -0700 (PDT) Received: by 10.141.19.11 with HTTP; Tue, 7 Aug 2007 06:40:08 -0700 (PDT) Message-ID: <22d56c4d0708070640u2a226fefo4d9fe89c49e8ed0f@mail.gmail.com> Date: Tue, 7 Aug 2007 19:10:08 +0530 From: "Vamsavardhana Reddy" To: user@geronimo.apache.org Subject: Re: the newest available dependencies - question In-Reply-To: <22d56c4d0708070635y66ab272aqd76c8e3dc21cc037@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29402_2893041.1186494008982" References: <523671.31472.qm@web27707.mail.ukl.yahoo.com> <22d56c4d0708070635y66ab272aqd76c8e3dc21cc037@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_29402_2893041.1186494008982 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Oops... that bombs. If I have 1.2 and 1.15, 1.15 gets selected. Can you create a JIRA. https://issues.apache.org/jira/browse/GERONIMO Thanks and regards, Vamsi On 8/7/07, Vamsavardhana Reddy wrote: > > Which version of Geronimo are you using? Can you post a testcase? With > Geronimo 2.0, I am noticing that if I don't specify the version in > dependency, it is selecting the latest version from repository. I have used > versions 1.0 and 1.1 in my verification. > > Thanks and regards, > Vamsi > > On 8/7/07, Xh wrote: > > > > Hi All! > > > > I was wondering if there is a way I can point to Apache Geronimo that I > > want the newest version of given dependency? > > > > I have few versions of my "commons" libraries and I thought it would be > > very nice feature if I wouldn't have to change my and > > redeploy whole application each time I change something in my commons > > libraries. > > > > I've deployed successfully my app with: > > > > > > dataweaver > > dataweaver-commons > > jar > > > > > > (so I guess that element is not required) > > > > added new method (getVersion) to the one of my classes. > > > > when running the result: > > > > java.lang.NoSuchMethodError: > > org.xh.dataweaver.common.utils.StringUtils.getVersion() > > > > when I add the element: > > > > > > dataweaver > > dataweaver-commons > > 1.15 > > jar > > > > > > StringUtils.getVersion () works fine. > > > > So, is there any way I can point to AG that I want the newest available > > dependencies? > > > > thanks and regards > > Lukasz > > > > ------------------------------ > > Yahoo! Mail is the world's favourite email. Don't settle for less, sign > > up for your free account today > > . > > > > ------=_Part_29402_2893041.1186494008982 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Oops... that bombs.  If I have 1.2 and 1.15, 1.15 gets selected.  Can you create a JIRA.  https://issues.apache.org/jira/browse/GERONIMO

Thanks and regards,
Vamsi

On 8/7/07, Vamsavardhana Reddy <c1vamsi1c@gmail.com> wrote:
Which version of Geronimo are you using?  Can you post a testcase?  With Geronimo 2.0, I am noticing that if I don't specify the version in dependency, it is selecting the latest version from repository.  I have used versions 1.0 and 1.1 in my verification.

Thanks and regards,
Vamsi


On 8/7/07, Xh < xhsaymyname@yahoo.co.uk > wrote:
Hi All!

I was wondering if there is a way I can point to Apache Geronimo that I want the newest version of given dependency?

I have few versions of my "commons" libraries and I thought it would be very nice feature if I wouldn't have to change my <dependency><version> and redeploy whole application each time I change something in my commons libraries.

I've deployed successfully my app with:

<dependency>
                <groupId>dataweaver</groupId>
                <artifactId>dataweaver-commons</artifactId>
                <type>jar</type>
</dependency>

(so I guess that <version> element is not required)

added new method (getVersion) to the one of my classes.

when running the result:

java.lang.NoSuchMethodError: org.xh.dataweaver.common.utils.StringUtils.getVersion()

when I add the <version> element:

<dependency>
                <groupId>dataweaver</groupId>
                <artifactId>dataweaver-commons</artifactId>
                <version>1.15</version>
                <type>jar</type>
</dependency>

StringUtils.getVersion () works fine.

So, is there any way I can point to AG that I want the newest available dependencies?

thanks and regards
Lukasz


Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today.


------=_Part_29402_2893041.1186494008982--