Some more observations while testing Geronimo Eclipse Plugin 2.0.0 (RC3):
a) When defining a new server, "Apache Geronimo v1.2 Server" doesn't get
listed in the list of available servers.

b) Looks like WTP 2.0.1RC2 has solved the problem reported in
GERONIMODEVTOOLS-209 if the HelloWorld WAR's geronimo-web.xml uses
1.1Geronimo schemas. However, if
geronimo-web.xml" is edited to use 2.0 version of Geronimo schemas, then
"Run As -> Run on Server" won't open internal browser.

c) Another very important thing related to "eclipse.ini" settings.
The default contents of "eclipse.ini" is shown below:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx256m

This is *really* messy. With the default provided settings as above, my
Eclipse crashed about 7 times! with "java.lang.OutOfMemoryError: PermGen
space" errors and I was not at all able to complete the steps mentioned in
http://cwiki.apache.org/geronimo/java-ee-50-app-development-on-geronimo-simplified-using-eclipse.html

However, as suggested by Tim, I created a shortcut to eclipse.exe as below
"E:\IDEs\eclipse3.3.1_WTP2.0.1RC2_gep2.0rc3\eclipse.exe -vmargs -Xms256m
-Xmx256m -XX:MaxPermSize=128m"

And when I use this shortcut, everything worked great and I was able to
complete
http://cwiki.apache.org/geronimo/java-ee-50-app-development-on-geronimo-simplified-using-eclipse.htmlin
one-go in less than 30 minutes. So the key is to correctly set
"-vmargs
-Xms256m -Xmx256m -XX:MaxPermSize=128m" arguments.

We need to figure out how to set these in "eclipse.ini" itself and recommend
them strongly to users in "Release Notes" as well as in "
http://people.apache.org/~mcconne/releases/RC3/Geronimo_Eclipse_Plugin_2.0.0_Instructions-RC3.txt
"
If we can also update
http://people.apache.org/~mcconne/releases/RC3/build.xml to automagically
edit eclipse.ini with the correct settings, that would just be great!

Thanks,
Shiva

On 9/17/07, Shiva Kumar H R <[EMAIL PROTECTED]> wrote:
>
> Tim,
> The "Install prerequisites" section of  
> http://people.apache.org/~mcconne/releases/RC3/Geronimo_Eclipse_Plugin_2.0.0_Instructions-RC3.txt
>
> <http://people.apache.org/%7Emcconne/releases/RC3/Geronimo_Eclipse_Plugin_2.0.0_Instructions-RC3.txt>
> needs following updates:
>
> 1) "1 -- Europa (also known as Eclipse 3.3), which is platform specific"
> Need to mention package name as "Eclipse Classic" to avoid confusions as
> raised in RC2 voting thread. Also, shouldn't the version be changed to
> 3.3.1? Please see
> http://www.eclipse.org/eclipse/development/freeze_plan_3_3_1.html
> So, this could look something like:
> "1 -- Eclipse 3.3.1 (Eclipse Classic package of Europa distribution),
> which is platform specific"
>  <http://www.eclipse.org/eclipse/development/freeze_plan_3_3_1.html>
> 2) "3 -- Data Tools Platform (DTP) 1.5"
> Should be "3 -- Data Tools Platform (DTP) 1.5.1"
>
> 3) "4 -- Eclipse Modeling Framework (EMF) 2.3"
> Should be "4 -- Eclipse Modeling Framework (EMF) 2.3.1"
> http://www.eclipse.org/modeling/emf/downloads/?project= lists
> emf-sdo-xsd-SDK-M200709120130.zip under 2.3.1 Maintenance Builds
>
> 4) "5 -- Graphical Editing Framework (GEF) 3.3"
> Should be "5 -- Graphical Editing Framework (GEF) 3.3.1"
> http://download.eclipse.org/tools/gef/downloads/index.php lists
> GEF-SDK-M20070814-1555.zip under 3.3.1 Stream Maintenance Builds
>
> 5) "That is why this ant script downloads and installs the WTP 2.0.1 RC1
> artifacts."
> Should be:
> "That is why this ant script downloads and installs the WTP 2.0.1 RC2
> artifacts."
>
> - Shiva
>

Reply via email to