persistence@glassfish.java.net

Re: Compiling Glassfish in Eclipse

From: Markus KARG <markus.karg_at_gmx.net>
Date: Wed, 16 Aug 2006 19:15:41 +0200

Eduardo,

hope this will be soon, because I spent two more hours today in
downloading the out-aged maven 1.0.2 on my machine and tried once more
to get Glassfish built (following the rules on the Glassfish WebSite),
but now maven is not working correctly, complaining about things
non-maven-admins do not understand. So once more, I give up. If your
project is ready for *FAST* contributing, I'll be glad to contribute
then (please let me know by direct mail, since I will quite the
subscription to this mailing list soon as it is of no more interest
since I am not able to contribute my code). But until then, sorry, I
need to prefer working around the missing MaxDB support in my
application instead of contributing the MaxDB support to Glassfish. If I
would have done so from the beginning, I would have saved more than once
day of work. Sad, but true. As you see, now we're back as we had been on
Monday: Still no MaxDB support in Glassfish, still not improved
contribution process. I am sad about this, actually, but two days of
frustration is enough. I am willing to spend my 20 years of experience
in coding, but I am not willing spending more nerves on failing attempts
to just compile the code. As you can seen, using maven not only has
benefits. If the project structure just would be one src folder
containing the complete source tree plus a simple build.xml, then you
still would have modularization AND anybody could use Eclipse / ANT
without spending days... :-(

Markus

Eduardo Pelegri-Llopart wrote:
> Hi Markus. I certainly agree; but sometimes, in a very large and
> complex project, making it easy is not that easy :-(. But we are
> seing a spike in interest in GlassFish so we are going to try to
> improve this in the near future.
>
> THanks, and please keep your interest in GlassFish
>
> - eduard/o
>
> Markus KARG wrote:
>> 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
>>>
>>>
>>
>
>