portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject [J1] Fusion
Date Wed, 30 Jun 2004 21:36:19 GMT
Jetspeed-1 now supports JSR-168 Portlets (Java Portlet API)
The project code name was Fusion, since we are taking Jetspeed-2 and 
running inside Jetspeed-1
J2 is built almost entirely on components, and pipelines, facilitating 
the embedding of the J2 Portal engine inside other apps, or portals

J1 has two J2 pipelines inside of Jetspeed-1
One pipeline renders JSR 168 portlets, the others executes actions
For more details, look at the code under the /fusion directory in J1

Sorry for the lack of documentation, but this code was just checked in 
this week
Im working on more detailed documentation soon to be available

BUILDING

This gets a little tricky.
In theory, you should be able to build J1 and it will download the 
entire J2 dependencies
But ... if you have ever built J2 before, you might get the wrong 
dependencies, since the J2 jars are not snapshots
If you have J2 installed on your system, recommend deleting your local 
J2 maven repo, or simply rebuilding J2 (after updating to the CVS head)
Also, I've tried this on a clean system, and I seem to get intermittent 
problems with the J1 and J2 plugins downloading...

You need some properties:

Set this property in your ${HOME}/build.properties

org.apache.jetspeed.fusion=true

The default is false, so by default J1 builds without JSR-168 support

For the Jetspeed-1 Plugin:

maven.war.appserver.home = {path to the root of your Tomcat}

For the database, you will need to run a separate database for the J2 
registry.
I hope to integrate the 2 databases, but I should probably get a vote 
first

To start HypersonicSQL, From the fusion directory

db.fusion.start

If you want to use another database (only Oracle or MySQL currently 
supported), override the properties found in fusion/project.properties 
in your  ${HOME}/build.properties

 From the jetspeed home directory

maven -Dmaven.test.skip=true war
maven deploy

Startup Tomcat

Drop one or more of these webapps into the 
${TOMCAT_HOME}/jetspeed/WEB-INF/deploy directory for example (or take 
any JSR 168 portlet app deployment):

http://www.bluesunrise.com/portlets/

And it will pick up the portlets in about 10 seconds or less

The app should be expanded out to the webapps directory of Tomcat
Go into the customizer, and go to add portlets, filter by "Portlet API" 
or "JSR 168", select your portlets

If you have any problems, please respond to this email, and not 
directly to me
That way everyone can benefit from your experience


--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office]   +01 707 773-4646
[mobile] +01 707 529 9194


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message