ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <davidcor...@gmail.com>
Subject Re: Nosuchmethod error with latest trunk
Date Thu, 11 Sep 2008 15:01:54 GMT
My fault, I had not been cleaning out the old build directory and there were
some old classes still being jar-ed up with the latest stuff. Worked fine
after deleting the build dir and re-running the jar target.
Regards,
Dave

On Thu, Sep 11, 2008 at 3:29 PM, Dave <davidcorley@gmail.com> wrote:

> Not that I can tell. I've re-run the build with -debug, and all Ivy classes
> are loaded from the recently compiled jar.
>
>
> On Thu, Sep 11, 2008 at 3:19 PM, Maarten Coene <maarten_coene@yahoo.com>wrote:
>
>> Maybe you also have an old ivy.jar in your classpath?
>>
>> Maarten
>>
>>
>>
>>
>> ----- Original Message ----
>> From: Dave <davidcorley@gmail.com>
>> To: ivy-user@ant.apache.org
>> Sent: Thursday, September 11, 2008 4:13:11 PM
>> Subject: Nosuchmethod error with latest trunk
>>
>> Saw the following with a self-generated jar from the latest trunk source.
>> ##############################################################
>> C:\CC\workareas\410\INT\framework>ant -Dbuild.type=INT init
>> Buildfile: build.xml
>>     [echo] BUILD TYPE= INT
>> [ivy:resolve] :: Ivy 2.0.0-rc1-local-20080911102012 - 20080911102012 ::
>> http://ant.apache.org/ivy/ ::
>> :: loading settings :: file =
>> C:\CC\workareas\410\INT\master_build\ivysettings.xml
>> [ivy:resolve] :: resolving dependencies ::
>> com.allfinanz#framework;working@vm-cruise-01
>> [ivy:resolve]   confs: [compile, test]
>> [ivy:resolve]   found log4j#log4j;1.2.15 in shared
>> [ivy:resolve]   found soap#soap;2.3.1 in shared
>> [ivy:resolve]   found xerces#xercesimpl;2.9.1 in shared
>> [ivy:resolve]   found xalan#xalan;2.7.1 in shared
>> [ivy:resolve]   found xalan#serializer;2.7.1 in shared
>> [ivy:resolve]   found xml-apis#xml-apis;2.9.1 in shared
>> [ivy:resolve]   found junit#junit;4.4 in shared
>> [ivy:resolve] :: resolution report :: resolve 516ms :: artifacts dl 0ms
>>
>> ---------------------------------------------------------------------
>>        |                  |            modules            ||   artifacts
>> |
>>        |       conf       | number| search|dwnlded|evicted||
>> number|dwnlded|
>>
>> ---------------------------------------------------------------------
>>        |      compile     |   7   |   0   |   0   |   0   ||   0   |   0
>> |
>>        |       test       |   8   |   0   |   0   |   0   ||   0   |   0
>> |
>>
>> ---------------------------------------------------------------------
>>
>> BUILD FAILED
>> C:\CC\workareas\410\INT\framework\build.xml:29: The following error
>> occurred
>> while executing this line:
>> C:\CC\workareas\410\INT\master_build\build-common-classpaths.xml:15:
>> java.lang.NoSuchMethodError:
>> org.apache.ivy.util.StringUtils.getErrorMessage(Ljava/lang
>> /Exception;)Ljava/lang/String;
>>
>> Total time: 1 second
>> C:\CC\workareas\410\INT\framework>
>> #######################################################################
>> Can anyone tell me whats going on?
>>
>> --
>> "A lot of people are afraid of heights. Not me, I'm afraid of widths."
>>
>>
>>
>>
>>
>
>
> --
> "A lot of people are afraid of heights. Not me, I'm afraid of widths."
>



-- 
"A lot of people are afraid of heights. Not me, I'm afraid of widths."

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message