dev@glassfish.java.net

Re: Compiling Glassfish in Eclipse

From: Dinesh Patil <Dinesh.Patil_at_Sun.COM>
Date: Fri, 08 Sep 2006 12:24:56 -0700

Markus, my comments inline..
Markus KARG wrote:

>Tom,
>
>thanks for you kind help, its great to become part of this project. :-)
>
>Unfortunately I never used cvs often (I am an VSS an SVN admin only,
>never used cvs outside of Glassfish) so I hope I did the correct
>commands (as I wrote before, CVS is considered obsoleted by SVN by many
>companies, so I never had the chance to do more than a few tests with it
>before). Please find my comments inlined.
>
>
>
>>1. Update the Snapshot (in English: get the latest build and put it
>>where the build expects it to be.) To do this, I do the following:
>>
>>- checkout the glassfish/bootstrap directory from cvs
>>
>>
>Since I had built Glassfish just minutes ago thanks to the great help of
>Dinesh PATIL (I think PATIL is the family name?),
>
Yes you got it!

>I just tried to
>update, so I guessed the following command:
>
>ok, cvs up -- It seems to have updated nothing -- I even didn't expect
>it to do update something, because I just did it one hour ago.
>
>
>>- From that directory: maven bootstrap {That downloads the latest
>>snapshot and puts it in the right place}
>>
>>
>ok, seems to have worked well.
>
>
>>- note: I don't even do a full glassfish build. entity-persistence is
>>quite isolated from the rest of GlassFish.
>>
>>
>ok, so I'll never cd into that bootstrap folder anymore
>
>
>>2. Update entity-persistence, entity-persistence-tests and
>>appserv-tests from CVS
>>- entity-persistence = the source for the module
>>
>>
>ok, cvs up -- nothing updated, certainly
>
>
after you make your modifications, you may have to do that.. BTW, do you
have developer role?

>>- entity-persistence-tests = the testing module
>>
>>
>Well... there is no workspace/glassfish/entity-persistence-tests module
>actually. I have built Glassfish, but it didn't create such a folder.
>
>What to do now?
>
>
I see this module in glassfish:
https://glassfish.dev.java.net/source/browse/glassfish/
you may have to checkout this explicitely using "cd glassfish; cvs
checkout -d glassfish-persistence-tests"

>>- appserv-tests = the appserver's quicklook tests. They are a
>>prerequisite for check-in
>>
>>
>Same with this, no such folder.
>
>Maven didn't create that.
>
>
yes this is test module, so by default glassfish "checkout" goal doesn't
checkout this, you can do following
% cd glassfish/bootstrap
% maven checkout-quicklook
For configuring and running the tests, GlassFish server should be
stopped, so you can run "asadmin stop-domain domain1" and follow the
steps from
https://glassfish.dev.java.net/public/GuidelinesandConventions.html#Quicklook_Tests
Hope this helps.
thanks
Dinesh