incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imtiaz Ahmed H E" <in.imt...@gmail.com>
Subject Re: Build failure...
Date Tue, 01 Jun 2010 13:15:48 GMT
I deleted the repository. It worked. Thanks.

I'm new to Maven. How did that make it work ?

Imtiaz

----- Original Message ----- 
From: "Vassil Dichev" <vdichev@apache.org>
To: <esme-dev@incubator.apache.org>; <in.imtiaz@gmail.com>
Sent: Tuesday, June 01, 2010 1:36 PM
Subject: Re: Build failure...


Can you try deleting the maven cache/repository to force a refresh?

The error message shows ambiguous implicits for the same method in the
same class, which doesn't make sense.


On Tue, Jun 1, 2010 at 7:55 AM,  <in.imtiaz@gmail.com> wrote:
> I'm away till about 10.30 GMT. Will check when I get back.
>
> Imtiaz
>
> Sent from BlackBerry® on Airtel
>
> -----Original Message-----
> From: Vassil Dichev <vdichev@apache.org>
> Date: Tue, 1 Jun 2010 07:37:37
> To: <esme-dev@incubator.apache.org>
> Subject: Re: Build failure...
>
> Are you sure you have the newest update? This seems to have been fixed
> by revision 949713 (dated 31 May). Do you have the following import in
> Boot.scala:
>
> import TimeHelpers.timeSpanToLong
>
>
> On Tue, Jun 1, 2010 at 6:29 AM, Imtiaz Ahmed H E <in.imtiaz@gmail.com> 
> wrote:
>> I did an SVN update on my complete esme anonymous checkout and did a 
>> build with mvn install and got the following build failure...are others 
>> getting it too ? I'm trying to test before attaching a fix to a Jira 
>> issue but not getting anywhere because of this build failure. Would 
>> someone fix?
>>
>>
>> [INFO] Unable to find resource 'com.twitter:xrayspecs:pom:1.0.4' in 
>> repository A
>> pache Repo (http://people.apache.org/repo/m1-ibiblio-rsync-repository)
>> Downloading: 
>> http://repo1.maven.org/maven2/com/twitter/xrayspecs/1.0.4/xrayspecs
>> -1.0.4.pom
>> [INFO] Unable to find resource 'com.twitter:xrayspecs:pom:1.0.4' in 
>> repository c
>> entral (http://repo1.maven.org/maven2)
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO] [scala:compile {execution: default}]
>> [INFO] suggestion: remove the scalaVersion from pom.xml
>> [ERROR] D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala
>> [ERROR] D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\..\scala
>> [INFO] Compiling 4 source files to 
>> D:\SVNCheckoutsESME\esme\trunk\server\target\
>> classes
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\bootstrap\liftweb
>> \Boot.scala:208: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] val resentPeriod = Props.getLong("stats.resent.period", 1 week)
>> [WARNING] ^
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\bootstrap\liftweb
>> \Boot.scala:210: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] case Full(interval) if interval > (1 minute) => interval
>> [WARNING] ^
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\bootstrap\liftweb
>> \Boot.scala:211: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] case_ => 1 hour
>> [WARNING] ^
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\bootstrap\liftweb
>> \Boot.scala:213: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] val linksPeriod = Props.getLong("stats.links.period", 1 week)
>> [WARNING] ^
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\bootstrap\liftweb
>> \Boot.scala:215: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] case Full(interval) if interval > (1 minute) => interval
>> [WARNING] ^
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\bootstrap\liftweb
>> \Boot.scala:216: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] case_ => 1 hour
>> [WARNING] ^
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\bootstrap\liftweb
>> \Boot.scala:277: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] val tenMinutes: Long = 10 minutes
>> [WARNING] ^
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\org\apache\esme\s
>> nippet\UserSnip.scala:202: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] PopStatsActor !? PopStatsActor.TopStats(ResendStat, 5, 1 week) 
>> mat
>> ch {
>> [WARNING] ^
>> [WARNING] 
>> D:\SVNCheckoutsESME\esme\trunk\server\src\main\scala\org\apache\esme\s
>> nippet\UserSnip.scala:226: error: type mismatch;
>> [WARNING] found : net.liftweb.util.TimeHelpers.TimeSpan
>> [WARNING] required: Long
>> [WARNING] Note that implicit conversions are not applicable because they 
>> are amb
>> iguous:
>> [WARNING] both method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.
>> util.TimeHelpers#TimeSpan)Long
>> [WARNING] and method timeSpanToLong in trait TimeHelpers of type 
>> (net.liftweb.u
>> til.TimeHelpers#TimeSpan)Long
>> [WARNING] are possible conversion functions from 
>> net.liftweb.util.TimeHelpers.T
>> imeSpan to Long
>> [WARNING] PopStatsActor !? PopStatsActor.TopStats(LinkClickedStat, 5, 1 
>> week
>> ) match {
>> [WARNING] ^
>> [WARNING] 9 errors found
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] command line returned non-zero value:1
>> [INFO] ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 2 minutes 29 seconds
>> [INFO] Finished at: Tue Jun 01 07:57:05 IST 2010
>> [INFO] Final Memory: 28M/69M
>> [INFO] ------------------------------------------------------------------------
>> D:\SVNCheckoutsESME\esme\trunk\server>
> 


Mime
View raw message