Frank Villarreal wrote:
I miss plain 'ole Ant builds bundled with dependencies ... :-(
I wish I could help you, but alas Maven IMHO is a disaster. I've tried
learning it, but it's just too painful.
I agree with you. Maven is not really for normal users and it is too
painful for smaller tasks. I am using binary distribution of Jetspeed-2
to create my custom portal. I use Eclipse with WTP for most of the stuff
and I am very happy with it. If you really just want to have a custom
portal and don't want to change any thing in Jetspeed source code, I
would suggest you to use the installer version of Jetspeed-2.
This process is manual and error prone, however, it is one time process
and after if you pay a little care you should able to do it in couple of
hours.
Here goes my mini Howto for creating custom portal with Jetspeed and
Eclipse. This howto is for Tomcat 5.5. and Eclipse 3.1.1 with Web Tool
Project. If you use different server, you may need to make changes
accordingly.
1. Download multi db installer version of Jetspeed.
2. Create database and database user for your favorite db. I use
PostgreSQL. If you use PostgreSQL, installer will not work out of box.
You will need to unjar it, apply a postgres specific patch and create a
new Jar before you run it.
2. Install Jetspeed. This step is required only to create and populate
the database for Jetspeed. I could not yet figure out, what are the
scripts to run manually to create database schema. I think (I am not
sure though) Jetspeed database Schema is in XML file and some maven
scripts convert them to SQL. Installer converts those scripts into SQL
scripts and creates and populates the database.
3. Create a Dynamic Web Project in Eclipse. You must have WTP plugins
installed in Eclipse.
4. Copy $JETSPEED_HOME/webapps/jetspeed/* files into your
$PORTAL_HOME/WebContents directory.
5. Move $JETSPEED_HOME/webapps/jetspeed/WEB-INF/classes files in your
$PORTAL_HOME/src directory.
5. Copy $JETSPEED_HOME/conf/Catalina/localhost/jetspeed.xml file into
$PORTAL_HOME/WebContents/META-INF/context.xml.
7. Copy $JETSPEED_HOME/shared/lib/* in your $TOMCAT_HOME/share/ directory.
8. Copy $JETSPEED_HOME/common/endorsed in your
$TOMCAT_HOME/common/endorsed directory.
9. Deploy your portal. If you have added your web module into Server
Runtime, eclipse will automatically deploy your portal.
10. If you want to deploy admin and demo applications into your portal,
copy them from $JETSPEED_HOME/webapps/jetspeed/WEB-INF/deploy directory
to $PORTAL_HOME/WebContents/WEB-INF/deploy directory and restart Tomcat.
($JETSPEED_HOME above is the directory where you have installed
Jetspeed-2,. $PORTAL_HOME is your portal project directory in your
workspace and $TOMCAT_HOME is your Tomcat install directory).
I have observed, Eclipse does not does not copy the contents of shared
directory from $TOMCAT_HOME into server runtime instance location (i.e
$YOUR_WORKSPACE/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
directory. Check if you have the shared directory in place, if not copy
it manually.
Now you can start customizing your portal. Most of the customizations
you will do in the $PORTAL_HOME/WebContents/WEB-INF/pages directory.
Layout and portlet decorations are in
$PORTAL_HOME/WebContents/decorations directory.
I hope this will be helpful.
Regards,
Raj
-----Original Message-----
From: Church Michael R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 08:15 AM
To: '[email protected]'
Subject: Jetspeed 2 Setup and Development Problems, Private Network
I am currently trying to set up a Jetspeed-2 portal on a private network.
Internet access from this private network is strictly forbidden.
My ultimate intention is to create a portal with my own newly-developed
portlets to provide web services to those of my work colleagues that have
access to the private network.
However, I am having problems simply setting Jetspeed-2 up at all. Leaving
aside the fact that the various setup guides all seem to be inconsistent
(and more than a little ambiguous), there seems to be a
fundamental problem
that I don't think can be circumvented. Unless somebody out there knows
better, of course ...
One of the very first things that I am required to do is "build the maven
plugin" (see
http://wiki.apache.org/portals/Jetspeed2/QuickstartForTheImpatient for
details), by issuing the command "maven initMavenPlugin". This
does not work
at all.
It seems that the act of building the maven plugin requires that
maven go to
one of a number of web sites to identify and download the latest
versions of
a series of jar files to my PC. Which is impossible for me,
because my PC is
not connected to the internet, and isn't allowed to be.
Can somebody out there confirm for me that this is the case? And if it is
the case, has anybody out there come across the problem
themselves and found
a way to get around it?
The Maven web site and the Jetspeed web site are both less than helpful on
this matter. In fact, neither of them indicates that a connection to the
internet is mandatory in order to use maven to build a Jetspeed2 portal.
Many thanks,
Mike Church
The Information contained in this E-Mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s).
For those other than the recipient any disclosure, copying, distribution,
or any action taken or omitted to be taken in reliance on such information
is prohibited and may be unlawful.
Emails and other electronic communication with QinetiQ may be monitored.
Calls to QinetiQ may be recorded for quality control,
regulatory and monitoring purposes.
---------------------------------------------------------------------
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]