Skip to main content

[GF Dev] Which IDE is able to build the whole glassfish-svn/trunk content?

3 replies [Last post]
grunt2000
Offline
Joined: 2010-04-06
Points: 0

Hello,

I am trying to set my environment in order to compile Glassfish v3 trunk from a
svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/v3
to track some troubles I am facing.

For checkout and maven compilation from command line, no trouble. Everything builds smootly, provided I let the computer the three hours it needs for that.

But when entering Eclipse 3.5.1, this is another story...

I started with this Eclipse.ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
384M
-vm
C:\Program Files\Java\jdk1.6.0_17\bin
org.eclipse.platform
--launcher.XXMaxPermSize
384m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1250m

This is the hugiest environment (in term of memory) my Eclipse allows to start with (I have a Windows 7 computer 32 bits with 4GB, but it seems that I can't ask for more than 2 GB per application at a time?).
But after a short while Eclipse ends in a Out of Memory, one way or another. After having to do an Automatic Build of the projects.

I have under my Eclipse a Maven plugin, m2eclipse, I guess this plugin may have a responsability in my troubles.

What are known versions of IDE(s) that are truly able to manage the Glassfish project?
And how shall I set them?

Thanks,

Grunt.

Message was edited by: grunt2000

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
grunt2000
Offline
Joined: 2010-04-06
Points: 0

Eventually, I have installed [i]NetBeans 6.8[/i] to build [i]Glassfish[/i].
It has a far lower amount of features comparing to [i]Eclipse[/i] (especially options for Java formatting that are sparse), but it works.

I've left [i]Eclipse[/i] when [i]m2eclipse[/i] succeeded in importing [i]Glassfish[/i] projects but then [i]Eclipse[/i] considered them as [i]Maven[/i] projects instead of Java projects. Therefore it was not able to declare some projects being some dependencies of others.
(to be more concrete: [i].project[/i] files could exist under subdirectories, but no [i].classpath[/i] files).

I ran the [i]Maven[/i] [i]eclipse:eclipse[/i] plugin, said to handle this problem. But if it created some files I was astounded to discover that some [i].classpath[/i] files had for comment something like "[i]This file generated by mvn eclipse:eclipse is not compatible with m2eclipse.[/i]"!
As far as I know, [i]m2eclipse[/i] is the only plugin existing for handling [i]Maven[/i] under eclipse. So I was wondering about the goal of all this work.

It was a bit too much for me.
[b][i]Eclipse 3.5[/i] is unable to handle [i]Maven[/i] properly.[/b] Maybe [i]Eclipse 3.9[/i] will be the version truely designed to manage Maven projects, not delegating this task to a plugin that is only a pain.

[i](Am I angry enough? May be I should drink a bit more of this wine that doesn't get along with me. I could then explain more my feelings...).[/i]

Justin Lee

IntelliJ IDEA works wonders. Probably the best maven integration out
there. Just point IDEA at the root pom.xml in the v3 dir and it'll
import and configure the whole thing. I recommend using the IDE profile
it offers. Doesn't add quite so many modules as the default one.

On 4/10/10 5:40 AM, glassfish@javadesktop.org wrote:
> Hello,
>
> I am trying to set my environment in order to compile Glassfish v3 trunk from a
> [i]svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/v3[/i]
> to track some troubles I am facing.
>
> For checkout and maven compilation from command line, no trouble. Everything builds smootly, provided I let the computer the three hours it needs for that.
>
> But when entering Eclipse 3.5.1, this is another story...
>
> I started with this Eclipse.ini file:
> [i]-startup
> plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
> -product
> org.eclipse.epp.package.jee.product
> --launcher.XXMaxPermSize
> 384M
> -vm
> C:\Program Files\Java\jdk1.6.0_17\bin
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 384m
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx1250m[/i]
>
> This is the hugiest environment (in term of memory) my Eclipse allows to start with (I have a Windows 7 computer 32 bits with 4GB, but it seems that I can't ask for more than 2 GB per application at a time?).
> But after a short while Eclipse ends in a Out of Memory, one way or another. After having to do an Automatic Build of the projects.
>
> I have under my Eclipse a Maven plugin. I think this is the one everybody have, and know as "[i]the worst plugin created since the beginning of the humanity history.[/i]" (if I remember well its name is [i]m2eclipse[/i], but you will reconize it for sure if I tell you that it is one whose "Updates Indexes" task started at launching often takes hours and hangs). I guess this plugin may have a responsability in my troubles.
>
> What are known versions of IDE(s) that are truly able to manage the Glassfish project?
> And how shall I set them?
>
> Thanks,
>
> Grunt.
> [Message sent by forum member 'grunt2000']
>
> http://forums.java.net/jive/thread.jspa?messageID=396236
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Mr. Gregory Gerard

try the spring STS distribution of eclipse - maven ships built in and
has worked better for me this way than discrete installations of all
the different plugins. you can install the glassfish plugins manually
later if needed (don't have the link handy but the update site won't
work apparently)

for memory, you might be hosed.

On Apr 10, 2010, at 2:40, glassfish@javadesktop.org wrote:

> Hello,
>
> I am trying to set my environment in order to compile Glassfish v3
> trunk from a
> [i]svn checkout https://svn.dev.java.net/svn/glassfish-svn/trunk/v3[/
> i]
> to track some troubles I am facing.
>
> For checkout and maven compilation from command line, no trouble.
> Everything builds smootly, provided I let the computer the three
> hours it needs for that.
>
> But when entering Eclipse 3.5.1, this is another story...
>
> I started with this Eclipse.ini file:
> [i]-startup
> plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
> -product
> org.eclipse.epp.package.jee.product
> --launcher.XXMaxPermSize
> 384M
> -vm
> C:\Program Files\Java\jdk1.6.0_17\bin
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 384m
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx1250m[/i]
>
> This is the hugiest environment (in term of memory) my Eclipse
> allows to start with (I have a Windows 7 computer 32 bits with 4GB,
> but it seems that I can't ask for more than 2 GB per application at
> a time?).
> But after a short while Eclipse ends in a Out of Memory, one way or
> another. After having to do an Automatic Build of the projects.
>
> I have under my Eclipse a Maven plugin. I think this is the one
> everybody have, and know as "[i]the worst plugin created since the
> beginning of the humanity history.[/i]" (if I remember well its name
> is [i]m2eclipse[/i], but you will reconize it for sure if I tell you
> that it is one whose "Updates Indexes" task started at launching
> often takes hours and hangs). I guess this plugin may have a
> responsability in my troubles.
>
> What are known versions of IDE(s) that are truly able to manage the
> Glassfish project?
> And how shall I set them?
>
> Thanks,
>
> Grunt.
> [Message sent by forum member 'grunt2000']
>
> http://forums.java.net/jive/thread.jspa?messageID=396236
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net