Hi laxmiraghu
I am using Eclipse to develop portlets using CVS, Spring Portlet MVC and
deploying to Jetspeed 2.1.3.
The Sysdeo Tomcat startup/closedown plugin works fine - Jetspeed is just a
Tomcat instance with an extra web application loaded. We also use the
Eclipse WTP plugin, which adds JSP syntax checking (It is rather buggy, but
better than nothing). I have the Spring plugin loaded, but seldom use the
graphing features. The M2 plugin would be useful if you are using Maven 2 as
the build tool. We use Ant, so no plugin is required.
I deploy using an ant script to move (not copy) the portlet application war
file to the Jetspeed deploy directory with the overwrite="true" option. This
is faster than a copy, and avoids most (but not all) of the corrupted war
messages I used to see. There is no need to restart Jetspeed, as it will
detect and load the new war. I have found it is necessary to use a new
browser instance, as the portlet session seems to get lost after deployment.
Debugging works fine - just set a breakpoint as normal. Of course you must
start Tomcat in debug mode:
- from within Eclipse, with the debug option on (Use the Sysdeo plugin, and
start Eclipse with loads of memory available).
- or start Tomcat externally in debug mode, and connect Eclipse as a remote
debugger
There is lots of help on how to do this - the Tomcat help applies equally to
Jetspeed.
Overall, the development process is a little slower than ordinary Spring
MVC/Tomcat development, but not seriously so. Our deployment platform is
IBM Websphere Portal, but the Jetspeed development environment is so much
friendlier and more productive. With a little care it is possible to develop
on Jetspeed and deploy the same war to IBM for UAT and production. We even
develop in Java 1.5 and weave the class files down to Java 1.4 to suit the
antidiluvian WPS server - still stuck on Java 1.4.
Regards
Ron
----- Original Message -----
From: "laxmiraghu" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 13, 2008 3:17 AM
Subject: Re: Integrating jetspeed2 with eclipse3.4
Thanks Ron for the info. It was definitely helpful.
Guess, eclipse 3.4, ganymede comes with all Eclipse standard J2EE tools.
Not sure though.
WIth your inputs i'm searching on the net for more info on that.
Now my question is: with eclipse 3.4, do i still need to install SpringIDE
and M2Eclipse?
Please inform.
Thank you.
ronatartifact wrote:
We use Eclipse exclusively to develop portlets for Jetspeed.
We are mostly on Eclipse 3.3 but I have 3.4 and I do not see much
difference yet, but I am only in charge of the work not doing it. :-).
We have the debugging inside Eclipse working and it is very helpful.
We are trying to use a very strict MVC pattern with our portlets.
We are using JSF, Spring, Hibernate, JasperReports but I am sure other
technologies will work as well.
We do all our builds with Maven.
Given this environment, we have all of the plug-ins that are required to
support these technologies - SpringIDE, Hibernate, M2Eclipse and the
whole set of Eclipse standard J2EE tools.
I believe that the projects are set up with a Spring nature.
I am very impressed with the portlet debugging that is possible within
Eclipse. Breakpoints work well, the guys seem to have access to a lot of
run-time information in Eclipse while running the portal from Eclipse.
I hope that this gives you a bit of help.
I am trying to get a more detailed description of Eclipse for Jetspeed
into the 2.2 documentation. There is a new set of Maven plug-ins coming
with 2.2 which may affect how we build our portlets.
Ron
laxmiraghu wrote:
Hi,
I installed jetspeed2 in my linux OS successfully. When i install
jetspeed2.1.3, it installed tomcat 5.5.23 along with it.
I could able to start the jetspeed server and could able to see the
portal
page by accessing the below url.
http://localhost:8080/jetspeed/portal
Now, i want to integrate jetspeed with eclipse so that my development
will
be easier and faster. I searched web for the info on how to integrate
jetspeed with eclipse, but it wans't helpful to me.
Can anybody here pls help me in step by step process as how to integrate
jetspeed 2 with eclipse?
Do i need to download any plugins?
Any info in this regard is highly appreciated.
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Integrating-jetspeed2-with-eclipse3.4-tp18942543p18946414.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]