Author: mstruk
Date: 2011-05-19 13:38:39 -0400 (Thu, 19 May 2011)
New Revision: 6505
Added:
sandbox/as7_support/README.txt
Modified:
sandbox/as7_support/pc/jboss-as7-extension/pom.xml
Log:
Instructions for building, packaging and running SimplePortal with JBossAS 7
Added: sandbox/as7_support/README.txt
===================================================================
--- sandbox/as7_support/README.txt (rev 0)
+++ sandbox/as7_support/README.txt 2011-05-19 17:38:39 UTC (rev 6505)
@@ -0,0 +1,27 @@
+This branch is for the development of JBoss AS7 support
+
+To deploy SimplePortal to JBoss AS7 follow these steps:
+
+cd wci
+mvn install -Dmaven.test.skip
+
+cd ..
+cd pc
+mvn install -P!default,portal -Dmaven.test.skip
+
+cd jboss-as7-extension
+mvn install -Ppkg-jbossas7,download -Dexo.projects.directory.dependencies=SERVERS_DIR
+
+(the previous command automatically downloads jboss-7.0.0.Beta3 build and unpacks it into
SERVERS_DIR. If you already have this JBoss AS7 build in SERVERS_DIR you can omit
'download' profile)
+
+cd target
+cd jboss-7.0.0.Beta3
+cd bin
+./standalone.sh (or just 'standalone' on Windows)
+
+You should see exactly one stacktrace deliberately thrown by FailOnInitPortlet.
+
+Goto:
http://localhost:8080/simple-portal
+
+Click around, and see how everything that should be working is working, and how what
shouldn't be working isn't working :)
+
Modified: sandbox/as7_support/pc/jboss-as7-extension/pom.xml
===================================================================
--- sandbox/as7_support/pc/jboss-as7-extension/pom.xml 2011-05-19 17:01:09 UTC (rev 6504)
+++ sandbox/as7_support/pc/jboss-as7-extension/pom.xml 2011-05-19 17:38:39 UTC (rev 6505)
@@ -45,9 +45,25 @@
</dependencies>
</dependencyManagement>
- <modules>
- <module>extension</module>
- <module>modules</module>
- </modules>
+ <profiles>
+ <profile>
+ <id>modules</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>extension</module>
+ <module>modules</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>pkg-jbossas7</id>
+ <modules>
+ <module>extension</module>
+ <module>modules</module>
+ <module>pkg</module>
+ </modules>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file