You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@esme.apache.org by Richard Hirsch <hi...@gmail.com> on 2009/08/10 09:52:28 UTC

Build broken

Hi,

After performing a sn update, I tried to build with a "mvn clean
install" and got the following error:

[INFO] suggestion: remove the scalaVersion from pom.xml
[ERROR] D:\temp\apache_new\trunk\server\src\main\scala
[ERROR] D:\temp\apache_new\trunk\server\src\main\scala\..\scala
[INFO] Compiling 48 source files to D:\temp\apache_new\trunk\server\target\class
es
[WARNING] D:\temp\apache_new\trunk\server\src\main\scala\org\apache\esme\lib\Msg
Format.scala:44: error: value initialHeaders is not a member of net.liftweb.http
.LiftSession
[WARNING]        agent <- findUserAgent(session.initialHeaders)) yield
[WARNING]                                       ^
[WARNING] one error 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 21 seconds
[INFO] Finished at: Mon Aug 10 09:48:22 CEST 2009
[INFO] Final Memory: 25M/44M
[INFO] ------------------------------------------------------------------------

D.

Re: Build broken

Posted by Vassil Dichev <vd...@apache.org>.
> After performing a sn update, I tried to build with a "mvn clean
> install" and got the following error:
>
> [INFO] suggestion: remove the scalaVersion from pom.xml
> [ERROR] D:\temp\apache_new\trunk\server\src\main\scala
> [ERROR] D:\temp\apache_new\trunk\server\src\main\scala\..\scala
> [INFO] Compiling 48 source files to D:\temp\apache_new\trunk\server\target\class
> es
> [WARNING] D:\temp\apache_new\trunk\server\src\main\scala\org\apache\esme\lib\Msg
> Format.scala:44: error: value initialHeaders is not a member of net.liftweb.http
> .LiftSession
> [WARNING]        agent <- findUserAgent(session.initialHeaders)) yield
> [WARNING]                                       ^
> [WARNING] one error 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 21 seconds
> [INFO] Finished at: Mon Aug 10 09:48:22 CEST 2009
> [INFO] Final Memory: 25M/44M
> [INFO] ------------------------------------------------------------------------

Fixed. Seems some of the changes in git are still trickling to the
maven repo. I've commented the IsIE7 session object, since it doesn't
seem to be used. I've also corrected it to call S.getHeader if anyone
wants to uncomment it and use it later.

Vassil