Environment: OS: Fedora 13 Java: Oracle/Sun jdk/jre 1.6.0_21 (32 bit) Container: Tomcat 6.0.18 (but see notes below) IDE: NetBeans 6.8 with Portal Pack 3.0.3 Build tool: Maven 2.2.1
I used NetBeans 6.8 (waiting until the Portal Pack gets ported to 6.9.1) to create the Maven project. This worked cleanly, creating the master project and two modules. I added some custom goals to mimic jetspeed:mvn -Dtarget=<name>. Creating a Generic Portlet worked as expected (sans Override annotations - looks like a Portal Pack issue), and makes the appropriate portlet.xml modifications. Some issues: I did find the JIRA issue with page.security and fixed that in the project. I also found that: http://portals.apache.org/jetspeed-2/tutorial/02/default-page.html seems to point to the wrong page to be modified. The page I had to modify to change the style was: jetexpress-portal/src/main/webapp/WEB-INF/pages/folder.metadata When doing multiple installs using the jetspeed:mvn -Dtarget=deploy-pa, jetspeed:mvn -Dtarget=deploy-portal, the $CATALINA_HOME/lib jars were copied (again). I'm not sure why this is necessary. When running the build from the Maven artifact in Tomcat 6.0.18, I received the following error (277 lines, but I'm just posting the first few): 25.08.2010 14:24:40 ERROR [org.apache.jetspeed.page.document.psml.CastorFileSystemDocumentHandler.unmarshallDocument ():570] Could not unmarshal the file /home/myhome/Apache/Jetspeed/apache- tomcat-6.0.18/webapps/jetexpress/WEB-INF/pages/_template/new-user/default- page.psml Illegal Text data found as child of: page value: " AboutJetspeed"{File: [not available]; line: 33; column: 8} This is the end of the fragment describing the AboutJetspeed portlet in j2-admin. I didn't see anything obviously wrong, but then this is my first attempt using Jetspeed and portlets. So: 1. Why does the Maven target copy over the $CATALINA/lib jars every time? 2. How can I fix the error message for the AboutJetspeed portlet? Thanks much. . . . just my two cents. /mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-user-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-user-h...@portals.apache.org