What is the minimum eclipse IDE version?

193 views
Skip to first unread message

StevenG

unread,
Nov 30, 2009, 10:24:46 AM11/30/09
to Project Lombok
Hi there,

could anyone please tell me what Eclipse versions are supported (i.e.
the minimum version which is required). I did search the project site
for this information, so I appologize if I overlooked it.

In any case, it didn't seem to work in RAD 7.0.0.3 which is based on
Eclipse 3.2 .

Regards,
Steven

Reinier Zwitserloot

unread,
Nov 30, 2009, 11:47:50 AM11/30/09
to Project Lombok
To be honest, we haven't tested. Last I checked (which has been a
while) lombok works fine in eclipse 3.4.

Anything which is 'based on' doesn't necessarily mean it'll actually
run lombok. In particular, the installer is very much geared towards
finding a real eclipse. Have you tried starting the installer, using
the 'what do I do?' link/button, and installing lombok manually?

StevenG

unread,
Nov 30, 2009, 2:19:23 PM11/30/09
to Project Lombok
Hi Reinier,

thanks for your quick reply. I understand that 'based on' is not a
good
guarantee that things will work.

However, I do have the impression that the installation was
'successful'.
The lombok.jar got copied to my RAD installation dir (after I had
selected
the eclipse.exe), and the eclipse.ini file was updated correctly. I'm
also
relatively sure that the *.ini file was being used at startup (no
vmargs in the
shortcut link).

So I guess I will wait for RAD 7.5 and try it out on Eclipse 3.4+ in
the mean
time.

Regards

Steve

unread,
Dec 14, 2009, 6:06:27 PM12/14/09
to Project Lombok
I've got RAD 7.5.4 (Eclipse 3.4.x) and Lombok does not work. My
environment --

** Win 7 64-bit.
** eclipse.exe and eclipse.ini are in c:\ibm\SDP
** lombok.jar is in same directory.
** eclipse.ini contents ---

-startup
plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-install
C:\ibm\SDP
--launcher.library
plugins
\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731
-vm
jdk\jre\bin\javaw.exe
-vmargs
-Xquickstart
-Xms40m
-Xmx1024m
-Xmnx64m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:name=IBMSDP_%u
-Xnolinenumbers
-XX:MaxPermSize=128M
-Xjit:{org/eclipse/wst/html/core/internal/contenttype/
HTMLHeadTokenizer.primGetNextToken()Ljava/lang/String;}
(disableLookahead),{org/eclipse/jst/jsp/core/internal/parser/internal/
JSPTokenizer.primGetNextToken()Ljava/lang/String;}(disableLookahead)
-javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar

** RAD startup command line --- C:\ibm\SDP\eclipse.exe -product
com.ibm.rational.rad.product.v75.ide

Any ideas? I have this running just fine in a vanilla 3.5 install on
this machine but REALLY need it to work in RAD!

Thanks!
-Steve.



On Nov 30, 2:19 pm, StevenG <the.ultimate.gen...@gmail.com> wrote:
> Hi Reinier,
>
> thanks for your quick reply. I understand that 'based on' is not a
> good
> guarantee that things will work.
>
> However, I do have the impression that the installation was
> 'successful'.
> The lombok.jar got copied to myRADinstallation dir (after I had
> selected
> the eclipse.exe), and the eclipse.ini file was updated correctly. I'm
> also
> relatively sure that the *.ini file was being used at startup (no
> vmargs in the
> shortcut link).
>
> So I guess I will wait forRAD7.5 and try it out on Eclipse 3.4+ in
> the mean
> time.
>
> Regards
>
> On Nov 30, 5:47 pm, Reinier Zwitserloot <reini...@gmail.com> wrote:
>
>
>
> > To be honest, we haven't tested. Last I checked (which has been a
> > while) lombok works fine in eclipse 3.4.
>
> > Anything which is 'based on' doesn't necessarily mean it'll actually
> > run lombok. In particular, the installer is very much geared towards
> > finding a real eclipse. Have you tried starting the installer, using
> > the 'what do I do?' link/button, and installing lombok manually?
>
> > On Nov 30, 4:24 pm, StevenG <the.ultimate.gen...@gmail.com> wrote:
>
> > > Hi there,
>
> > > could anyone please tell me what Eclipse versions are supported (i.e.
> > > the minimum version which is required). I did search the project site
> > > for this information, so I appologize if I overlooked it.
>
> > > In any case, it didn't seem to work inRAD7.0.0.3 which is based on

Reinier Zwitserloot

unread,
Dec 15, 2009, 1:39:41 AM12/15/09
to project-lombok
What does 'does not work' mean?

Lombok simply doesn't appear to be running, or are you getting errors?

--Reinier Zwitserloot



--
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/

To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/project-lombok?hl=en

Steve

unread,
Dec 15, 2009, 6:34:30 AM12/15/09
to Project Lombok
Ahh, the dreaded "does not work" explanation. I should know
better....

I create a brand new workspace and a new Java project. Add lombok.jar
to it and then create a simple bean with a few fields. I annotate the
class with @Data and do not see any getter/setter's generated. They
don't appear in the view nor do they appear in the generated .class.
Same goes for the other Lombok annotations.

I never get any errors. Nor is their anything in the .log file for
the workspace. I've restarted RAD (with and without -clean) and
rebooted the box - doesn't help.

Thanks!
-Steve.
> > Groups group forhttp://projectlombok.org/
>
> > To post to this group, send email to project...@googlegroups.com
> > To unsubscribe from this group, send email to
> > project-lombo...@googlegroups.com<project-lombok%2Bunsubscribe@go oglegroups.com>

Steve

unread,
Dec 15, 2009, 6:52:56 AM12/15/09
to Project Lombok
I should also say that I've tried the 0.9.2-BETA3 with the same
results.

Reinier Zwitserloot

unread,
Dec 15, 2009, 7:01:47 AM12/15/09
to Project Lombok
Cripes, I love this community. That's the kind of info I can do
something with.


It looks like lombok is not being picked up -at all-. It's almost like
that eclipse.ini file is not being used. This can happen with custom -
vm parameters, but possibly RAD is doing that under the hood. One easy
way to figure out if this is happening is to handroll the -vmargs.
Like so:

rad.exe -vmargs (all the relevant stuff from eclipse.ini). So,
something like:

rad.exe -vmargs -Xmx512m -Xbootclasspath/a:lombok.jar -
javaagent:lombok.jar

adjust as needed for your OS.

If you get the same result, then something really weird is going on.
Possibly something is getting logged that may help. On linux, run rad
from any terminal window to see the console. On windows, for eclipse
there's "eclipsec", I'm not sure if there's a similar variant for rad.
I hope so. On macs, you have to run not the .app, but from the
terminal, RAD.app/Contents/MacOS/rad -vmargs blahblah to see the
terminal output.

Steve

unread,
Dec 15, 2009, 9:02:51 AM12/15/09
to Project Lombok
Well, let's see...

** I know eclipse.ini is being picked up. If I introduce a syntax
error into that file, RAD/Eclipse vomits when it starts.
** In any case, I took the stuff from eclipse.ini and put it all in
one whopping long command line to launch. Exact same results.
** I launched with eclipsec.exe and the console window was shown.
However, nothing at all was ever displayed in it. Same thing when I
eclipsec.exe on plain old Eclipse 3.5.x. Not sure what I was supposed
to see, but an empty console window didn't seem to be telling me much!
** I know the Lombok vmargs are being picked up. When I do a Help/
About/Configuration Details (I think this is a RAD-specific thing) I
see references to lombok.jar as expected.
** I tried running Lombok on RAD 7.5.4 on a different machine with the
same results. Slightly different platform (WinXp/32 vs my Win7/64),
but the base RAD 7.5.4 is identical.
** Probably a worthless data point, by Lombok also works perfectly
fine in the MyEclipse 8.0 Blue Edition.

Very stumped. I'd really like to get this working!

If you have the energy to dig into this further, you can download a
free trial of RAD from http://www.ibm.com/developerworks/downloads/r/rad/?S_TACT=105AGX15&S_CMP=LP
Note that this one isn't for the faint of heart. A 1.8G-2.9G download
is a smidge more than the normal Eclipse! Plus you have to register
with IBM.

Reinier Zwitserloot

unread,
Dec 15, 2009, 10:33:50 AM12/15/09
to Project Lombok
Registering for IBM's bloatware is not something I can commit to :(

I'm stumped as to why you get absolutely nothing, not even errors,
even though evidently lombok.jar is being loaded. The fact that
eclipsec.exe is not giving you anything is normal; nothing in eclipse
is supposed to print to standard output (though lombok will in certain
situations).

I'm not sure where to go from here. You could grab the sources from
the git repository (just run 'ant installDeps' and then 'ant dist' to
make a distro, this should work on any system so long as you have a
1.6 JVM and ant installed, no other dependencies), and start
debugging. The entry point you're most likely looking for is the
EclipsePatcher class.

You can check if lombok actually ends up fixing any eclipse classes by
adding -Dlombok.patcher.debugDir=C:/some/existing/but/empty/directory
in the -vmargs set (in eclipse.ini together with -bootclasspath and
friends). Files that get patched are copied as a file there. If you
don't see any files, then, nothing is getting patched.

If you some files there, that would be interesting information. If you
see absolutely nothing there, you'll have to mess with the
lombok.patcher project (it's standalone from lombok itself). Look at
the ScriptManager class, which hosts a ClassFileTransformer. Stick
some debug prints in there. *every* *single* class loaded by the VM
passes through here, so if you System.out.println every call into it,
your eclipse will take about a minute or 2 to start up, and there'll
be a continuous stream of classnames in your console window, so you
may want to be a bit more discerning and check if anything that starts
with "org/eclipse/jdt/" is flying by. If yes, that would also be
interesting. If no, then either RAD is not using eclipse's JDT at all,
in which case, that will be the end of the line (as far as lombok is
concerned, RAD would be an entirely new IDE with all the complexity
inherent in that for adding lombok support to it), _OR_ RAD is loading
the jdt parts in an entirely separate VM (that'd be very weird,
especially considering that you do see lombok entries in your
configuration details), which you can test by checking your processes.

On Dec 15, 3:02 pm, Steve <stara...@gmail.com> wrote:
> Well, let's see...
>
> ** I know eclipse.ini is being picked up.  If I introduce a syntax
> error into that file, RAD/Eclipse vomits when it starts.
> ** In any case, I took the stuff from eclipse.ini and put it all in
> one whopping long command line to launch.  Exact same results.
> ** I launched with eclipsec.exe and the console window was shown.
> However, nothing at all was ever displayed in it.  Same thing when I
> eclipsec.exe on plain old Eclipse 3.5.x.  Not sure what I was supposed
> to see, but an empty console window didn't seem to be telling me much!
> ** I know the Lombok vmargs are being picked up.  When I do a Help/
> About/Configuration Details (I think this is a RAD-specific thing) I
> see references to lombok.jar as expected.
> ** I tried running Lombok on RAD 7.5.4 on a different machine with the
> same results.  Slightly different platform (WinXp/32 vs my Win7/64),
> but the base RAD 7.5.4 is identical.
> ** Probably a worthless data point, by Lombok also works perfectly
> fine in the MyEclipse 8.0 Blue Edition.
>
> Very stumped.  I'd really like to get this working!
>
> If you have the energy to dig into this further, you can download a
> free trial of RAD fromhttp://www.ibm.com/developerworks/downloads/r/rad/?S_TACT=105AGX15&S_...

James Perkins

unread,
Dec 15, 2009, 11:47:13 AM12/15/09
to project...@googlegroups.com
Just to throw it out there. I too have Rational Developer installed and lombok DOES work for me.

For what it's worth, here is my eclipse.ini file contents.
-vm
C:\Program Files\IBM\SDP\jdk\jre\bin\javaw.exe
--launcher.library
plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731
-startup
plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-install
C:\Program Files\IBM\SDP
-vmargs
-Xquickstart
-Xms100m

-Xmx1024m
-Xmnx64m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:name=IBMSDP_%u
-Xnolinenumbers
-XX:MaxPermSize=128M
-Xjit:exclude={com/ibm/team/coverage/internal/common/report/SourceElementInfo.write*}
-Dosgi.requiredJavaVersion=1.5
-javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar
--
James R. Perkins
http://twitter.com/the_jamezp
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/


To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com

Steve

unread,
Dec 15, 2009, 12:36:46 PM12/15/09
to Project Lombok
Well, that's interesting. What version of RAD on what platform?
> James R. Perkinshttp://twitter.com/the_jamezp
>
>
>
> > You received this message because you are subscribed to the Google
> > Groups group forhttp://projectlombok.org/
>
> > To post to this group, send email to project...@googlegroups.com
> > To unsubscribe from this group, send email to
> > project-lombo...@googlegroups.com<project-lombok%2Bunsubscribe@go oglegroups.com>

Steve

unread,
Dec 15, 2009, 12:47:05 PM12/15/09
to Project Lombok
And what command line is your RAD shortcut using?

I just ran with your eclipse.ini with no luck. I suspect your using a
different version of RAD. The only difference is the -Xjit stuff
which I can't imagine makes a difference. In any case, with or
without, I'm still screwed.

James Perkins

unread,
Dec 15, 2009, 1:05:19 PM12/15/09
to project...@googlegroups.com
I'm using Rational Developer for System i running on Windows XP SP3. The version is 7.5.0. That is the most current for those of us on the IBM i (AS/400).

Here is a little more info from the install manager if it helps at all:

IBM® Rational® Developer for i 7.5.0.3 (Internal Version 7.5.0.20090618_1014)
IBM Rational Developer for i, Version 7.5.0.3 Interim Fix 001 (Internal Version 7.5.0.3_20090717_1314)
IBM® Rational® Business Developer 7.5.1.4 (Internal Version 7.5.1.20091105_1711)

I think the Business Developer is all the Java and EGL stuff.

Feel free to contact me off the group if needed too.
--

You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/


To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com

James Perkins

unread,
Dec 15, 2009, 1:21:30 PM12/15/09
to project...@googlegroups.com
Sorry, forgot to include the command line short cut.
"C:\Program Files\IBM\SDP\eclipse.exe" -product com.ibm.etools.iseries.rdi.welcome.ide
On Tue, Dec 15, 2009 at 09:47, Steve <star...@gmail.com> wrote:
--

You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/


To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com

Reinier Zwitserloot

unread,
Dec 15, 2009, 2:10:47 PM12/15/09
to Project Lombok
Well, the fact that it can work tells us quite a few things.

For one, its rather unlikely then that any version of RAD uses its own
java editor code instead of eclipse's (eclipse's java editor code is
what lombok can work with).


So, either Steve's version fires up a new JVM instance for some reason
whereas James's doesn't, or something I've never encountered before is
the problem. Unknown unknowns and all that.

On Dec 15, 7:21 pm, James Perkins <jrperkin...@gmail.com> wrote:
> Sorry, forgot to include the command line short cut.
> "C:\Program Files\IBM\SDP\eclipse.exe" -product
> com.ibm.etools.iseries.rdi.welcome.ide
> --
> James R. Perkinshttp://twitter.com/the_jamezp

Steve

unread,
Dec 16, 2009, 8:20:20 AM12/16/09
to Project Lombok
I suspect that my RAD is firing off a 2nd JVM. When I launch I see
two entries in my task manager --

** eclipse.exe with the "-vmargs -javaagent:lombok.jar -Xbootclasspath/
a:lombok.jar"
** A javaw.exe with the same args as above (minus the -vmargs) plus
all the extra stuff that was included in my eclipse.ini.

Regular Eclipse just show an eclipse.exe with no args.

Reinier Zwitserloot

unread,
Dec 16, 2009, 10:18:29 AM12/16/09
to project-lombok
I think technically 1 eclipse.exe and 1 javaw.exe could be par for the course. What happens when you run eclipse.exe? (I don't have any machine with windows here to check this).

If they both mention lombok.jar then this can't be the problem. If one of them doesn't, then it could be.

--Reinier Zwitserloot



Groups group for http://projectlombok.org/


To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com

Nicolas F

unread,
Dec 16, 2009, 10:30:25 AM12/16/09
to Project Lombok
Hi,

FYI, the eclipse.ini file is ignored if the command line eclipse.exe
takes any argument, just like your shortcut. I had this problem when
first using Lombok and when I removed all parameters, it worked just
fine. What it happens with RAD can be entirely another matter, or not.

Steve

unread,
Dec 16, 2009, 10:48:51 AM12/16/09
to Project Lombok
Ok. Let's keep the puzzle going if anyone still has the energy.

Per Nicolas' suggestion I changed my RAD shortcut to simply -

c:\ibm\sdp70\eclipse.exe

previously it also included "-product
com.ibm.rational.rad.product.v75.ide" on the command line.

So, when I fire it up the core RAD functionality appears to be working
OK. Not sure what that -product option is for since I certainly don't
see a difference *yet*.

Anyway, the Java process is now -

C:\ibm\SDP\jdk\jre\bin\javaw.exe
-Xquickstart
-Xms100m
-Xmx1024m
-Xmnx64m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:name=IBMSDP_%u -Xnolinenumbers
-XX:MaxPermSize=128M
-Dosgi.requiredJavaVersion=1.5
-javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar
-jar C:\ibm\SDP\plugins
\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar

And still no joy - Lombok doesn't work.
Reply all
Reply to author
Forward
0 new messages