users@glassfish.java.net

glassfish build faied(admin-gui model)

From: <glassfish_at_javadesktop.org>
Date: Wed, 25 Jul 2007 20:06:05 PDT

hi:
  i met this problem during building admin-gui model.
this is the log.

     [java] Executing 'C:\jdk1.5\jre\bin\java.exe' with arguments:
'-Xmx256M'
'-Dant.home=D:\glassfishSrc\glassfish\bootstrap/../../publish/glassfish/lib/ant'
'-classpath'
'D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-antlr.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-apache-bcel.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-apache-bsf.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-apache-log4j.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-apache-oro.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-apache-regexp.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-apache-resolver.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-commons-logging.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-commons-net.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-icontract.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-jai.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-javamail.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-jdepend.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-jmf.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-jsch.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-junit.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-launcher.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-netrexx.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-nodeps.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-starteam.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-stylebook.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-swing.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-trax.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-vaj.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-weblogic.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-xalan1.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant-xslp.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\ant.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\xercesImpl.jar;D:\glassfishSrc\publish\glassfish\lib\ant\lib\xml-apis.jar;C:\jdk1.5\lib\tools.jar'
'org.apache.tools.ant.Main'
'-f'
'D:\glassfishSrc\glassfish\bootstrap/../../glassfish/admin-gui/build.xml'
'-Dglassfish.maven=D:\glassfishSrc\glassfish\bootstrap/../../glassfish/bootstrap'
'-Dglassfish.home=D:\glassfishSrc\glassfish\bootstrap/../../publish/glassfish'
'all'
'-Dbuild_id=local'
'-Dmaven.proxy.host='
'-Dmaven.proxy.port='
'-Dnative.build='
'-Duse.jks=true'
''

The ' characters around the executable and arguments are
not part of the command.

     [java] Buildfile: D:\glassfishSrc\glassfish\bootstrap\..\..\glassfish\admin-gui\build.xml
     [java]
     [java] init:
     [java] [mkdir] Created dir: D:\glassfishSrc\glassfish\admin-gui\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]
     [java] [exec] [i][b]BUILD FAILED[/b][/i]
     [java] [exec] D:\glassfishSrc\glassfish\admin-gui\aptbuild.xml:72: Apt task requires Java 1.5+
     [java]
     [java] [exec] Total time: 1 second
     [java]
     [java] assemble-jar:
     [java] [copy] Copying 3 files to D:\glassfishSrc\glassfish\admin-gui\build\WEB-INF\classes
     [java] [jar] Building jar: D:\glassfishSrc\publish\glassfish\lib\install\applications\admingui\adminGUI_war\WEB-INF\lib\admin.jar
     [java] [jar] Building jar: D:\glassfishSrc\publish\glassfish\lib\install\applications\admingui\adminGUI_war\WEB-INF\lib\admin-en.jar
     [java]
     [java] assemble-helpfiles:
     [java]
     [java] assemble-war:
     [java] [echo] Copying web content for admingGUI-JSF_war: D:\glassfishSrc\glassfish\bootstrap/../../publish/glassfish/lib/install/applications/admingui/adminGUI_war
     [java]
     [java] all:
     [java]
     [java] BUILD SUCCESSFUL
     [java] Total time: 10 seconds

how to solve this problem ,thank in advance.
[Message sent by forum member 'wangyz' (wangyz)]

http://forums.java.net/jive/thread.jspa?messageID=228268