portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Le Strat <dlest...@yahoo.com>
Subject [J2] Build Process Changes - Version 2.0-M4-SNAPSHOT and above.
Date Wed, 13 Jul 2005 02:35:34 GMT
All,

Step 2 of Jetspeed's build process clean up has been
committed. As a result, a few things have changed when
build the latest Jetspeed (2.0-M4-SNAPSHOT and above).
 A summary of the changes made can be found in <a
href="http://issues.apache.org/jira/browse/JS2-304?page=comments#action_12315646">Apache
Jetspeed Jira</a>.  Also detailed <a 
href="http://www.geocities.com/dlestrat/etc/j2/buildChangeDocs.pdf">build
changes documentation</a> is temporary available on my
web site in PDF format until the Jetspeed web site
gets regenerated.

Then new steps to get started are changed as follow:

If you are build off of Jetspeed 2 source code for the
first time:
<pre>
cd ${jetspeed-2-home} 
maven initMavenPlugin allClean allBuild 
</pre>
If the Jetspeed 2 maven plugin is installed, then to
build the portal and all its components run:
<pre> 
cd ${jetspeed-2-home} 
maven allClean allBuild 
</pre>
If you are using the Hypersonic SQL database, start
the production Hypersonic database by typing 
<pre>
maven j2:start.production.server 
</pre>
Then run quickStart (in seperate window/terminal
session):
<pre>
cd ${jetspeed-2-home} 
maven j2:quickStart 
</pre>
This will recreate the DB to deploy into. WARNING This
will drop all the tables and data in the production
database. 

3. Start up Tomcat. With a browser, go to:
http://localhost:8080/jetspeed

If you are creating a new Portal Application without
the Jetspeed source:

In order to get started with a new portal application
that will include a developer's specific portal
customization, Jetspeed 2 provides as part of its
Maven Plugin a goal that can get you started with your
project. To do so: 

1. Make sure that the following properties are set in
your your ${USER_HOME}/build.properties file: 

- org.apache.jetspeed.portal.name: e.g. testportal.
The name of your new portal application. This will
also be used as the artifactId for your project in the
maven repository. 
- org.apache.jetspeed.genapp.home: e.g.
C:/tools/workspace/testportal. The location where your
new portal application should be created. 
- org.apache.jetspeed.genapp.groupId: e.g. testportal.
The maven pom group id indicates the group location
for your project in the maven repository. 
- org.apache.jetspeed.genapp.name: e.g. My Test
Portal. A friendly name for your new portal.
- org.apache.jetspeed.genapp.currentVersion: e.g. 1.0.
The current version for your new portal application. 

2. Once the above properties are set, make sure that
the Jetspeed 2 Maven Plugin is installed on your local
machine. You can install the Jetspeed 2 Maven Plugin
as follow: 
<pre>
maven -DartifactId=maven-jetspeed2-plugin
-DgroupId=jetspeed2
      -Dversion=2.0-M4-SNAPSHOT plugin:download 
</pre>
where 

- artifactId: The name of the Jetspeed2 plugin
artifact deployed to the maven repository. 
- groupId: The name of the group where the Jetspeed2
plugin is deployed in the maven repository. 
- version: The version that you want to use. For this
functionality, the version should be 2.0-M4-SNAPSHOT
or above.

3. Run the Jetspeed2 plugin target for generating a
new portal application: 
<pre>
maven j2:genapp.portal 
</pre>
4. Go to the directory where you just created your new
portal application and execute: 
<pre>
maven j2:portal.install 
maven j2:quickStart 
</pre>
That's it, you are ready to get started with your new
portal application.

Regards,

David Le Strat.

________________________
David Le Strat
Blogging @ http://dlsthoughts.blogspot.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message