dev@glassfish.java.net

Re: build error

From: Jane Young <jane.young_at_oracle.com>
Date: Fri, 16 Mar 2012 06:44:23 -0700

Are you still seeing the build error even after Jason's suggestion of
updating the nucleus/packager workspace?
The build is failing since it's not able to find a stage directory in
target. It's hard to tell from the snippet that you attached why stage
directory is not created. The stage directory is created during ant
target "stage-distribution-fragments". Was there any error during this
target run?

Jane


On 3/15/12 1:49 PM, Carla Mott wrote:
> I'm getting the following build error. I did the following steps:
>
> update settings.xml with new mirror info
> mvn update (in main dir)
> mvn -U install
>
> Any ideas?
>
> <snip>
> create.package:
>
> filter-module-artifacts:
> [copy] Copying 1 file to
> /Users/cmott/gfws/main/nucleus/packager/nucleus-management/target
> [delete] Deleting 54 files from
> /Users/cmott/gfws/main/nucleus/packager/nucleus-management/target/artifacts
> [mkdir] Created dir:
> /Users/cmott/gfws/main/nucleus/packager/nucleus-management/target/artifacts/distribution-fragments
> [move] Warning:
> /Users/cmott/gfws/main/nucleus/packager/nucleus-management/target/stage/glassfish
> not found.
>
> create-zip-artifact:
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred
> while executing this line:
> /Users/cmott/gfws/main/nucleus/packager/nucleus-management/build.xml:61:
> The following error occurred while executing this line:
> /Users/cmott/gfws/main/nucleus/packager/common-targets.xml:144:
> /Users/cmott/gfws/main/nucleus/packager/nucleus-management/target/stage not
> found.
>