...
Code Block |
---|
svn checkout https://www.ja-sig.org/svn/up3sandbox/portal/trunk |
into a directory you've created to house your uPortal 3 Sandbox workspace.
That "/trunk" bit is critical – you probably don't want to check out all the tags and branches as well.
Build System
uPortal 3 Sandbox uses Maven 2 as its build system. Maven 2.0.6 is recommended as of this writing and differs from earlier Maven 2.0.x versions in dependency handling.
...
Code Block |
---|
C:\hsqldb\hsqldb_1_8_0_7\hsqldb\bin>java -cp ../lib/hsqldb.jar org.hsqldb.Server -port 8887 |
Building uPortal
...
Sandbox
When working with a multi-project maven project is to initially run 'mvn install' from the base directory. This process will take a few minutes as it builds the portal source code, the uP3 WAR and the uP3 EAR. All of the built artifacts will be installed the the local repository.
Code Block |
---|
mvn install |
Developing with uPortal
...
Sandbox
If changes are only being made in a sub-project it is ok to run the maven compile/test/package goals within that sub-project. Any time development effort switches to a different sub-project mvn install should be run on the root project.
Ant utilities
deploy
Deploys the uP3 uP EAR to Tomcat. Requires that 'mvn package' has been run on the root of the project before running.
deploy-up3war
Deploys the uP3 uP WAR to Tomcat (Used when doing uP3 development). Runs 'mvn install' on the uportal3-impl and uP3 sub-projects then deploys the WAR to tomcat using the Pluto Assembler task.
...