dev@glassfish.java.net

Re: "maven build" fails in admin-gui/admin-jsf, any clues?

From: Dinesh Patil <Dinesh.Patil_at_Sun.COM>
Date: Tue, 24 Oct 2006 13:44:01 -0700

This was broken due to in-between the checkins in admin-gui module, now
this is fixed, try it after updating the admin-gui module.
thanks
Dinesh

Krishnamohan Meduri wrote:

>Hi,
>
>I get this error with "maven build" on my solaris work station. Until
>y'day evening, I was able to build fine.
>
>Does anybody have any clues? BTW, I did unset ANT_HOME in my env.
>
>======================
> [java] init:
> [java] [mkdir] Created dir:
>/krishna/glassfish5/glassfish/admin-gui/admin-jsf/build/WEB-INF/classes
> [java]
> [java] compile-java:
> [java] [exec] Buildfile: aptbuild.xml
> [java]
> [java] [exec] compile:
> [java] [exec] [echo] JSFTEMP = lib/jsftemplating-dt.jar
> [java] [exec] [apt] Compiling 62 source files to
>/krishna/glassfish5/glassfish/admin-gui/admin-jsf/build/WEB-INF/classes
> [java] [exec] [apt] error: Unable to write
>'META-INF/jsftemplating/Handler.map' file while processing @Handler
>annotation: java.io.FileNotFoundException:
>file:/krishna/glassfish5/publish/glassfish/lib/install/applications/admingui/adminGUI-JSF_war/WEB-INF/lib/jsftemplating.jar!/META-INF/jsftemplating/Handler.map
>(No such file or directory)
> [java] [exec] [apt] at
>java.io.FileOutputStream.openAppend(Native Method)
> [java] [exec] [apt] at
>java.io.FileOutputStream.<init>(FileOutputStream.java:177)
> [java] [exec] [apt] at
>java.io.FileOutputStream.<init>(FileOutputStream.java:102)
> [java] [exec] [apt] at
>com.sun.jsftemplating.annotation.HandlerAPFactory.getHandlerMapWriter(HandlerAPFactory.java:127)
> [java] [exec] [apt] at
>com.sun.jsftemplating.annotation.HandlerAPFactory.setup(HandlerAPFactory.java:103)
> [java] [exec] [apt] at
>com.sun.jsftemplating.annotation.HandlerAPFactory.getProcessorFor(HandlerAPFactory.java:81)
> [java] [exec] [apt] at
>com.sun.tools.apt.comp.Apt.main(Apt.java:433)
> [java] [exec] [apt] at
>com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:458)
> [java] [exec] [apt] at
>com.sun.tools.apt.main.Main.compile(Main.java:1075)
> [java] [exec] [apt] at
>com.sun.tools.apt.main.Main.compile(Main.java:938)
> [java] [exec] [apt] at
>com.sun.tools.apt.Main.processing(Main.java:95)
> [java] [exec] [apt] at
>com.sun.tools.apt.Main.process(Main.java:43)
> [java] [exec] [apt] at
>com.sun.tools.apt.Main.main(Main.java:34)
> [java] [exec] [apt] Note:
>/krishna/glassfish5/glassfish/admin-gui/admin-jsf/src/java/com/sun/enterprise/tools/admingui/handlers/ConfigurationHandlers.java
>uses or overrides a deprecated API.
> [java] [exec] [apt] Note: Recompile with
>-Xlint:deprecation for details.
> [java] [exec] [apt] 1 error
> [java]
> [java] [exec] BUILD FAILED
> [java] [exec]
>/krishna/glassfish5/glassfish/admin-gui/admin-jsf/aptbuild.xml:32:
>Compile failed; see the compiler error output for details.
> [java]
> [java] [exec] Total time: 11 seconds
> [java]
> [java] BUILD FAILED
> [java] /krishna/glassfish5/glassfish/admin-gui/build.xml:48: The
>following error occurred while executing this line:
> [java]
>/krishna/glassfish5/glassfish/admin-gui/admin-jsf/build.xml:57: exec
>returned: 1
> [java]
> [java] Total time: 1 minute 57 seconds
> [java] [ERROR] Java Result: 1
>
>BUILD FAILED
>File...... /krishna/glassfish5/glassfish/bootstrap/maven.xml
>Element... maven:reactor
>Line...... 191
>Column.... 40
>Unable to obtain goal [build-pe] --
>/krishna/glassfish5/glassfish/bootstrap/../../glassfish/bootstrap/maven.xml:528:28:
><fail> No message
>Total time: 37 minutes 3 seconds
>Finished at: Tue Oct 24 12:50:01 PDT 2006
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
>