Dashboard > XWork > Documentation > Creating a distribution
  XWork Log In View a printable version of the current page.  
  Creating a distribution
Added by Rainer Hermanns, last edited by Rainer Hermanns on Nov 15, 2008  (view change)
Labels: 
(None)

Update the docs

Export the wiki docs from Confluence http://wiki.opensymphony.com/display/XW

1 Add a press release page for the new release
2 Click on browse Space → Advanced Tab → Export Space
3 Check OFF everything that isn't under XWork2, except for the path to Documentation (ie: XWork)
4 Uncheck include comments
5 Export both HTML and PDF (will take a while...)
6 Delete everything in docs/wikidocs, remove from SVN and commit
7 Add everything back in, when the HTML stuff is one
8 Add the PDF to docs/wikidocs/docs.pdf
9 Commit changes to SVN

Build the release bundles with maven

1 Update the POMs to remove "-SNAPSHOT" from the version
2 Commit the POM changes
3 Tag the release by making a SVN copy of the head or designated revision
 
svn copy -r ###### 
  https://svn.opensymphony.com/svn/xwork/trunk/ 
  https://svn.opensymphony.com/svn/xwork/tags/xwork_#_#_# 
  -m "Tag r###### as XWork #.#.#"
4 Assemble the release, deploy the artifacts to the OpenSymphony maven2 repository
 
OS X Sample
mvn clean install deploy site assembly:assembly -Pj4 -Djava14.jar=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/../Classes/classes.jar
5 Upload the release bundles to http://release.opensymphony.com/ (/var/www/domains/opensymphony.com/release/htdocs)
  Create a new folder for the release as Version #.#.# under xwork
  Upload the file bundles
6 Update the POMs to next version number and add the "-SNAPSHOT" suffix
7 Commit the POM changes
8 Deploy the new snapshot
 
mvn -N install
9 Add the next version to our issue tracker for scheduling new features and fixes
10 Update docs/meta.xml with the newly added download bundles
11 Clear the project cache so that he latest meta.xml information is used www.opensymphony.com/clearProjectCache.jsp
12 Verify the download link
13 Announce the release http://blogs.opensymphony.com

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators