dev@glassfish.java.net

build questions

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Tue, 26 Jul 2005 12:19:30 -0700

I'm still trying to learn the new build system. While I can probably
figure out the answers to these questions myself, I thought it might be
helpful to have the answers here for others to reference.

I'm following the basic instructions at
https://glassfish.dev.java.net/public/BuildGlassFish.html.
These instructions worked fine to do the first build, but
what happens next?

I did a build and ran some tests and then went back to make
changes and do another build. When I get to "maven configure-runtime"
it fails. Apparently you can only do configure-runtime once.
I'm not clear on whether I *need* to do configure-runtime after
each time I rebuild, or whether it's only needed once per what?

Since configure-runtime failed, I decided I needed to go back
further in the build instructions so I did "maven clobber".
But then I wasn't sure how far back that took me. Did I now
need to do "maven bootstrap" again, or could I go straight into
"maven build"?

Now I've made all my changes. Do I put the changes back using
"cvs commit", or is there a "maven commit"?

If I later want to update my workspace with the latest changes from
the master workspace, do I use "cvs update" or is there a "maven update"?

Other than the first "cvs checkout glassfish/bootstrap" to get started,
is there any other time I should do a "cvs checkout"? Or should I always
use "maven checkout"?

Thanks for helping me with these basic questions!