Portlet Debugging within Eclipse
Hi,
I`m starting, together with other colleagues, the design of a new web portal for scientific applications (seismology), that will be part of a new eu-project.
The idea is to set up a distributed internet infrastructure, in order to give access to several services within one federated web site.
It seems that the available OS portal frameworks, based on portlets and web services, fit this issue in a good way
I`ve just setup an enviroment based on Jetspeed2, Pluto Portal, and WSRP4J.
Well.. I must say, positive results until now.
Anyway, at some point you I had to face on a real everyday life problem.. how to develop, test, and debug portlets without loosing minutes for compiling and redeploying your code for each small change!
Well, there`s the Pluto plugin for Eclipse.. but seems quite outdated, and not really working on my Eclipse 3.2.
Googling and googling.. nothing really useful and complete showed up, until now.
There`s a "infant" Jetspeed plugin project for Eclipse, but ok.. it is "infant"!!
I tried to use Java CreatorII.. no comment.
So.. maybe nothing new, but I found a personal solution that I think could be customized and applied in other enviroments.
This is the software list.
- Eclipese 3.2, wtp plugin 1.5
- Tomcat 5.5.20
- PlutoPortal 1.0.2, checkout here
svn checkout https://svn.apache.org/repos/asf/portals/pluto/branches/pluto-1.0.2/ pluto
Note: In this release this bug http://issues.apache.org/jira/browse/PLUTO-219 is fixed
(Needed for standard JSF 1.1 portlets deployment with jsr-porltet.jar bridge)
- Maven 1.0 (for pluto building and portlet deployment)
- Maven 2.0 with Eclipse Maven2 plugin for portlets .war packaging.
I suppose you already have Pluto deployed into tomcat (so also maven 1 should be well configured), M2 eclipse plugin installed and.. yes, knowledge how to use maven2...
yep, that`s it, I think.
Well in the box you can see the the content of a README file that I`ve prepared for the other developers of the project, we don`t even work in the same institute, we don`t even work in the same country!!.. (and also for me of course, memory fail safe)
Now, I am waiting for comments like.. You are fool.. you can easily use this or that OS tools for the same task!
I really hope so!
Anyway, in the mean time, it seems to work for me, and the development should be quick enough. I hope !
Comments
add a comment
This blog is gravatar enabled.
Your email adress will never be published.
Comment spam will be deleted!

