[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipse.org-committers] Users of projectlombok.org at eclipse.org?
|
My thoughts...
* Functionality - interesting!
* License - MIT, looks good.
* Maturity - the project is over 2 years old, many releases since then, seems to have an active community (based on their mailing list / group discussions)
* Usage at
eclipse.org - Could not find any project that distributes this library.
* Installation into Eclipse - I assume they had their reasons why they came up with their solution, but starting the little install application in their jar file that modifies the eclipse.ini (to be more precise: the VM parameters) seems a little bit odd from an Eclipse point of view. IMO this 'user install experience' has to be improved when someone wants to integrate this lib into Eclipse.
* Eclipse Orbit would be the natural home at
eclipse.org. I assume that such a library would find many users as soon as it has passed the legal process.
Regards,
Markus
On Sun, Jan 1, 2012 at 10:34, Marcel Bruch
<bruch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi there,
before we start: A happy new year!
Little more than a month ago Denis mentioned that this list's purpose is to ask questions related to committer topics. So here is one that bothers me for a while now (hope this list is the right place to ask this question).
I frequently stumble over little annoying things like missing toString methods, boilerplate code for getters and setters, as well as "implementing hashCode" and "equals" etc. Most implementations look the same. For instance, hashCode, toString and equals almost always look as follows in our code:
public int hashCode(){
return org.apache.commons.lang3.HashCodeBuilder.reflectiveHashCode(this)
}
public boolean equals(Object other){
return org.apache.commons.lang3.EqualsBuilder.reflectiveEquals(this,other)
}
public String toString(){
return org.apache.commons.lang3.ToStringBuilder.reflectiveToString(this)
}
Project Lombok aims to assist developers here by using annotations such as @ToString or @EqualsAndHashCode. See the screencast on http://projectlombok.org/ for more details on it. http://projectlombok.org/features/ gives a pretty fast overview of its features. It seems that there is also an integration into Eclipse and into Maven to run the code generation as part of your build. For the IDE Integration Lombok patches the code so that it "sees" the generated methods but does not require you to actually write it in source.
My questions to the list:
Does any project/committer use Project Lombok?
Does any project/committer use Spring Roo (which seems to be "not that far away")?
Are there any concerns about using Project Lombok at Eclipse?
Thanks,
Marcel
--
Eclipse Code Recommenders:
w www.eclipse.org/recommenders
tw www.twitter.com/marcelbruch
g+ www.gplus.to/marcelbruch
_______________________________________________
eclipse.org-committers mailing list
eclipse.org-committers@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipse.org-committers
IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation. To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.