users@jersey.java.net

Breaking changes in Lift cause build failure <was> Fwd: [Jersey] Build failed in Hudson: Jersey #2340

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 22 Oct 2009 10:23:47 +0200

Hi,

Looks like some breaking changes in lift are causing the build to
fail. If i cannot resolve this i am going to have to disable the
jersey lift integration module.

I dunno if they cut a stable release before they made such changes.

Paul.

Begin forwarded message:

>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Jersey Lift
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory /home/hudson/workspace/Jersey/jersey/
> contribs/scala/jersey-lift/target
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Storing buildNumber: 10/22/2009 01:13 AM at timestamp:
> 1256199211589
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [scala:compile {execution: default}]
> [INFO] Checking for multiple versions of scala
> [INFO] Compiling 4 source files to /home/hudson/workspace/Jersey/
> jersey/contribs/scala/jersey-lift/target/classes
> [WARNING] /home/hudson/workspace/Jersey/jersey/contribs/scala/jersey-
> lift/src/main/scala/com/sun/jersey/lift/NodeWriter.scala:8: error:
> Full is not a member of _root_.net.liftweb.util
> [WARNING] import _root_.net.liftweb.util.{Full, Box, Log}
> [WARNING] ^
> [WARNING] /home/hudson/workspace/Jersey/jersey/contribs/scala/jersey-
> lift/src/main/scala/com/sun/jersey/lift/ResourceBean.scala:6: error:
> Full is not a member of _root_.net.liftweb.util
> [WARNING] import _root_.net.liftweb.util.{Log, Full}
> [WARNING] ^
> [WARNING] /home/hudson/workspace/Jersey/jersey/contribs/scala/jersey-
> lift/src/main/scala/com/sun/jersey/lift/LiftTemplateProcessor.scala:
> 8: error: Full is not a member of _root_.net.liftweb.util
> [WARNING] import _root_.net.liftweb.util.{Full, Box, Log}
> [WARNING] ^
> [WARNING] /home/hudson/workspace/Jersey/jersey/contribs/scala/jersey-
> lift/src/main/scala/com/sun/jersey/lift/LiftTemplateProcessor.scala:
> 80: error: not found: type Box
> [WARNING] val template: Box[NodeSeq] =
> TemplateFinder.findAnyTemplate(paths)
> [WARNING] ^
> [WARNING] /home/hudson/workspace/Jersey/jersey/contribs/scala/jersey-
> lift/src/main/scala/com/sun/jersey/lift/LiftTemplateProcessor.scala:
> 82: error: not found: value Full
> [WARNING] case Full(nodes) => {
> [WARNING] ^
> [WARNING] /home/hudson/workspace/Jersey/jersey/contribs/scala/jersey-
> lift/src/main/scala/com/sun/jersey/lift/LiftTemplateProcessor.scala:
> 84: error: not found: value nodes
> [WARNING] val transformedNodes = S.render(nodes, new
> HTTPRequestServlet(request))
> [WARNING] ^
> [WARNING] 6 errors found
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] command line returned non-zero value:1
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: command line returned non-
> zero value:1
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> 579)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
> 478)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
> 315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
> 430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: command
> line returned non-zero value:1
> at org.scala_tools.maven.JavaCommand.run(JavaCommand.java:224)
> at
> org
> .scala_tools
> .maven.ScalaCompilerSupport.compile(ScalaCompilerSupport.java:137)
> at
> org
> .scala_tools
> .maven.ScalaCompilerSupport.doExecute(ScalaCompilerSupport.java:63)
> at
> org.scala_tools.maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:
> 303)
> at
> org
> .scala_tools
> .maven.ScalaCompilerSupport.execute(ScalaCompilerSupport.java:30)
> at
> org
> .apache
> .maven
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
> 451)
> at
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
> 558)
> ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 8 minutes 38 seconds
> [INFO] Finished at: Thu Oct 22 01:13:37 PDT 2009
> [INFO] Final Memory: 44M/79M
> [INFO]
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net
>