users@glassfish.java.net

Re: build issues with gfv2.1 cvs src

From: emiddio-verizon <emiddio_at_verizon.net>
Date: Sun, 27 Dec 2009 12:46:06 -0800

had types in recent post,

after i posted i changed to maven-1.0.2 and java jdk1.5, not 1.6; things worked much better,
but still get errors.

i still get errors way into the build with src checked out with tag SGES211_FCS_BRANCH.

added info to workspace/glassfish/bootstrap/build.properties

did -- maven checkout from bootstrap -- succeed

then do -- maven bootstrap-all build

get errors way into the build -- see attachments;

thanks
gary
  ----- Original Message -----
  From: Jane Young
  To: dev_at_glassfish.dev.java.net
  Cc: users_at_glassfish.dev.java.net
  Sent: Sunday, December 27, 2009 4:14 AM
  Subject: Re: build issues with gfv2.1 cvs src


  You need to build gfv2 with Maven version 1.0.2.
  See: http://wiki.glassfish.java.net/Wiki.jsp?page=BuildInformation


  emiddio-verizon wrote:
    i have dnloaded/built gfv3 just fine.

    months ago last time i built gfv2 src;

    just tried a fresh gfv2 dnload build -- using the published gfv2 instructions -- they look same as in past;

    i get build errors for trying to build gfv2;
    in the 'maven checkout' step in workspace/glassfish/bootstrap directory.

    do i need updated build info -- or is something broke in the gfv2 src tree?

    thanks
    gary

    error msg here

    DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
    Starting the reactor...
    -------------------------------------------------------------------------------
>> Unable to obtain goal [checkout]
>> Error parsing project.xml 'C:\Sun\gfv2src\workspace\glassfish\bootstrap\..\..\glassfish\bootstrap\maven.xml'
>> ParseError at [row,col]:[45,22]
    Message: Unrecognised tag: 'goal'
    -------------------------------------------------------------------------------
    BUILD FAILED
    -------------------------------------------------------------------------------
    Total time : 1 seconds
    Finished at : Saturday, December 26, 2009 11:21:07 AM PST
    Final Memory : 3M/11M
    -------------------------------------------------------------------------------