persistence@glassfish.java.net

Re: Compiling Glassfish in Eclipse

From: Markus KARG <markus.karg_at_gmx.net>
Date: Wed, 16 Aug 2006 10:23:08 +0200

Eduardo,

I have managed a dozen of open source projects on my own and know your
problems certainly. But I learned one lesson very soon: If you have a
lot of items on your stack and one of them is "make it easy for
contributors to add their code", then do that before anything else. Why
that? Because the easier it is to add small contributions, the more
contributors will add code to the project. In turn, they will help you
fix all the other items on your stack. If you do all the items on your
own before making it easier to contribute code, then you will have to do
all the work on your own while all the others cannot help you anything
an get frustrated. I learned about that in my own projects, also in some
projects I contributed to. So this is no critics, just a tip.

If I find more time, I certainly will try out to contribute my changes
for MaxDB (and maybe more) to Glassfish, but at the moment, I do not
have the time to invest more time in the unnecessarily complex structure
of the Glassfish code (in fact, the modularization is the main problem
for Eclipse -- you have to add every single src folder manually, which
needs hours of time).

Have Fun
Markus

Eduardo Pelegri-Llopart wrote:
> >
> > 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
>
> Yes, we want them. We are just your typical Open Source project:
> there is always a long list of things to do.
>
> Let's see what others say.
>
> - eduard/o
>
> 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
>
>