...
- Impose a source code repository freeze until the source code is tagged. Announce the freeze on the fluid-work mailing list (fluid-work@fluidproject.org).
- Users are prohibited from committing to the source code repository trunk while the tagging operation is under way.
- Modify the release information in the necessary files:
- Edit the maven project file(s) (
pom.xml
andproject.xml
). - Set the contents of the
<version>
tags as appropriate, for example:Code Block <version>0.1</version>
- Edit the ant properties file(s) (
build-scripts/build.properties
). - Set the contents of the
<version>
tag as appropriate, for example:Code Block fluid_version = 0.1
- Ensure that the dependencies lists in
build-scripts/build.properties
are up-to-date:- The dependencies lists must include all of the file that are to be included in the bundle.
- The order of occurrance of the files in each list must take into account any dependencies between the files.
- Commit these project files to the repository.
- Edit the maven project file(s) (
- Check out a fresh, clean working copy of the source code from the trunk.
- Execute:
Code Block svn co https://source.fluidproject.org/svn/fluid/components/trunk fluid-0.1
- Execute:
- Using this working copy, ensure that the build works.
- In the
fluid-0.1
folder, execute:Code Block mvn clean install
- The build should create a war file containing the fluid components. The war file is created in
.../fluid-0.1/target/fluid-components-0.1.war
, and is copied to the local maven 2 repository,.../.m2/repository/org/fluidproject/fluid-components/0.1/fluid-components-0.1.war
.
- In the
- Run the jqUnit tests (by opening the HTML test files in a browser), and ensure that all succeed.
- Tag the source with the release version number.
- Execute:
Code Block svn copy fluid-0.1 https://source.fluidproject.org/svn/fluid/components/tags/fluid-0.1
- Note that the above assumes that "fluid-0.1" is the directory containing the maven project file with the correct release version tag.
- Execute:
- Modify the version of the maven and ant project files (
pom.xml
,project.xml
andbuild-scripts/build.properties
) on trunk to reflect that trunk development is now a snapshot of the next release version. For example:Code Block <version>0.2-SNAPSHOT</version>
- Commit the trunk's modified maven project file.
- Lift the prohibition of committing to the trunk of the repository by announcing same on the fluid-work mailing list (fluid-work@fluidproject.org).
...