persistence@glassfish.java.net

Re: Compiling Glassfish in Eclipse

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Tue, 15 Aug 2006 10:50:35 -0700

Hi Markus,

Before you give up, let's try to solve this.

Option a) is not to check out all of the glassfish code - you only need
persistence-api and entity-persistence modules to compile your changes.
See https://glassfish.dev.java.net/public/BuildGlassFish.html and
https://glassfish.dev.java.net/public/GuidelinesandConventions.html#Quicklook_Tests
for details.
You should also check out entity-persistence-tests - it's not part of
the glassfish source checkout, and it has its own readme with the steps
on how to run the tests.

You don't need to understand maven to build glassfish, just follow the
rules in the how-to doc. Note: the maven goals might be changing this week,
so I suggest to wait until after this week's promotion build.

Option b) send your question to dev and users aliases to see if anybody
knows how to do it :).

regards,
-marina

Markus KARG wrote:
> As I wrote yesterday, I just want to spent a few hours contributing the
> code necessary to support MaxDB / SAPDB (which shouldn't be much more
> than editing a copy of the Sybase adaptor class).
>
> After spending three hours for downloading the Glassfish source and
> trying to convince Eclipse to compile, I gave up now. I don't have time
> to find out how to compile the source any longer. I read thousands of
> lines of how-tos for using Netbeans (which I don't have installed) and
> Maven (which I am not aware how to use) but there is no SIMPLE info on
> how to just let ANT or Eclipse run to get it built.
>
> Hey, remember, I just want to contribute one single class...!
>
> So is there a SIMPLE way to configure Eclipse to compile Glassfish
> available? Or is there build.xml I haven't found?
>
> I will neither learn how to use Netbeans nor how to administrate Maven
> just to contribute a class that is to be written in less than one hour. :-(
>
> So if there is no simple way to compile Glassfish or to contribute my
> code in another way, I am sorry, then I have to abstain from
> contributing to Glassfish (sad, but true, but my time is scarce).
>
> It must be possible to download the code and type "ant" or press
> Eclipse's "build" button if you want to receive SMALL contributions. But
> maybe you don't want them, actually?
>
> Thanks
> Markus