Last updated August 27, 2009 05:00, by Jason Lee
Feedicon  

New, experimental process


  1. hg clone ssh://$USER@hg.kenai.com/scales~mercurial
  2. cd scales~mercurial
  3. mvn test
  4. mvn clean
  5. mvn -B -P release -DdryRun=true -Dtag=mojarra-scales-$VERSION -DautoVersionSubmodules=true -DpreparationGoals=install release:prepare
  6. mvn release:clean
  7. mvn -B -P release -Dtag=mojarra-scales-$VERSION -DautoVersionSubmodules=true -DpreparationGoals=install release:prepare
  8. mvn -B -Dtag=mojarra-scales-$VERSION -DautoVersionSubmodules=true -DreleaseProfiles=release release:perform

Old steps

NOTE: Currently, Scales requires JDK 5 to build. This limitation should soon be removed.

Create a branch from trunk workspace

The branch is named: MOJARRA_SCALES_x_y

Checkout the branch workspace

cd to the branch workspace

Anyone doing a release will need a build.properties that defines the value keystore.pass in the source root, as well as keystore.ks, which can be obtained from any authorized Scales developer.

Update the version numbers in the POMs and source files

The Maven release plugin should probably be used for this process, but I've had nothing but pain with it. For now, we'll do this manually.

Update the version number in the following files:

Update the MultiFileUpload component

The MultiFileUpload component needs to know the exact name of the jars it will need to tell the applet to request. That being so, those names and versions are hard-coded in the component itself. Yes, this is extremely icky, but it's working for now. :) At some point, that information will be pulled from the build (patches welcome! :). For the time being, it must be maintained by hand. Until that change is made, edit the following file:

Edit the value for DEP_JARS, making sure that the version numbers are correct.

Build the workspace

Commit the changes to the branch.

Tag the branch

Deploy to the Maven Repository ===


Merge to trunk

TBD

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close