...
sakai.properties updates
1. Release.
Update component/component-api/component/src/config/org/sakaiproject/config/config
project *.sakai.properties updating version.service
, version.sakai
and uncommenting stealthToolsstealthTools@org.sakaiproject.tool.api.ActiveToolManager
. Commit changes.
...
Confirm that pack-demo pom includes the binary artifact generation code.
.svnignore
Update .svnignore
and commit changes.
Add
No Format |
---|
Sakai.keystore
sakaiartifactgenerator.sh
|
Update .externals
Check out 2.6.0 branch .externals to local tag prep folder and update revision numbers to last commit from above steps. This ensures that the next checkout will include all branch prep commits.
No Format |
---|
cd /Users/arwhyte/Development/svn/sakai_tag_prep
svn co -N https://source.sakaiproject.org/svn/sakai/branches/sakai_2-5-4 sakai_2-5-4_branch
(!) When running sed watch out for mucking up the content-review project when searching on -r.
sed 's/-r [0-9]*/-r 55588/' < .externals > .externals_temp
cp .externals_temp .externals
svn propset -F .externals svn:externals .
svn propget svn:externals
svn commit -m "tag prep for next release"
|
Check out 2.6.0 branch again and confirm checkout includes all tag prep commits as well as updated .externals.
Cut RC1 tag.
Release Prep
Local build machine environment
...
5. Ensure that 2.6.0 binds to the correct K1 release.
...
<sakai.kernel.version>1.0.9</sakai.kernel.version>
Check Eclipse metadata files and ensure they include correct dependencies. If not run
No Format |
---|
mvn eclipse:clean
mvn eclipse:eclipse
|
and commit changes.
.svnignore
Update .svnignore
and commit changes.
Add
No Format |
---|
Sakai.keystore
sakaiartifactgenerator.sh
|
Update .externals
No longer required as .externals is set up to pull from the head of the 2.6.0 branch.
Check out 2.6.0 branch .externals to local tag prep folder and update revision numbers to last commit from above steps. This ensures that the next checkout will include all branch prep commits.
Cut RC1 tag.
Release Prep
Local build machine environment
- Check out 2.6.0 branch
- clean Tomcat 5.5.26
- empty .m2/repository/org/sakaiproject
- new MySQL 5.0.51 sakai db
- Confirm maven-taglib is defined in .M2/settings.xml
No Format |
---|
<!-- Reference plugins in order to use <goalPrefix> short-hand -->
<pluginGroups>
<pluginGroup>net.sourceforge.maven-taglib</pluginGroup>
</pluginGroups>
|
favicon
Confirm that the Sakai favicon.ico is in /library/src/webapp/icon
Pack-demo pom.xml snippet below:
No Format |
---|
<!-- ReferenceReplace pluginsthe infavorite ordericon to use <goalPrefix> short-handfrom tomcat --> <pluginGroups> <pluginGroup>net.sourceforge.maven-taglib</pluginGroup> </pluginGroups> |
favicon
Confirm that the Sakai favicon.ico is in /library/src/webapp/icon
Pack-demo pom.xml snippet below:
No Format |
---|
<!-- Replace the favorite icon from tomcat -->
<copy file="${basedir}/../reference/library/src/webapp/icon/favicon.ico"
tofile="${basedir}/target/pack/webapps/ROOT/favicon.ico"
overwrite="true" />
|
conversion scripts (runconversion.sh)
...
<copy file="${basedir}/../reference/library/src/webapp/icon/favicon.ico"
tofile="${basedir}/target/pack/webapps/ROOT/favicon.ico"
overwrite="true" />
|
conversion scripts (runconversion.sh)
Check for presence of *runconversion.sh (in assignment, content (named content-runconversion.sh, db) and make sure names get trapped by artifact generation script.
No Format |
---|
dhcp-dc-prog13:branches arwhyte$ find 2.6.0/ -type f -name "*conversion.sh" -print
2.6.0//assignment/runconversion.sh
2.6.0//content/content-runconversion.sh
2.6.0//mailarchive/mailarchive-runconversion.sh
|
/master/pom.xml
Confirm <distributionManagement>
, maven-taglib-plugin
, wagon-webdav <build>
extensions are in place and that the org.sakaiproject.maven.plugins <version> is set to 1.2.0. Commit changes if necessary.
...
No Format |
---|
<plugin>
<!-- javadocs -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<debug>true</debug>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
<link>http://java.sun.com/j2ee/1.5.0/docs/api/</link>
<link>http://static.springframework.org/spring/docs/2.0.8/api/</link>
<link>http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/api/</link>
<link>http://jakarta.apache.org/velocity/api/</link>
<link>http://www.hibernate.org/hib_docs/v3/api/</link>
<link>http://james.apache.org/javadocs/</link>
<link>http://james.apache.org/mailet/</link>
</links>
<breakiterator>true</breakiterator>
<verbose>false</verbose>
<aggregate>true</aggregate>
<maxmemory>512m</maxmemory>
<additionalJOption>-J-Xms168m -J-Xmx512m -J-XX:PermSize=128m -J-XX:NewSize=64m</additionalJOption>
<version>2.3</version>
</configuration>
</plugin>
|
2. Confirm that taglib profile is included.
No Format |
---|
<profile> <id>taglib</id> <modules> <module>gradebook/app/ui</module> <module>help/help-tool</module> <module>jsf</widgets</module>configuration> <module>mailtool/mailtool</module> <module>metaobj/metaobj-util/tool-lib</module> <module>msgcntr/messageforums-app</module> <module>osp/common/tool-lib</module> <module>osp/glossary/tool-lib</module> <module>osp/jsf/widgets</module> <module>osp/presentation/tool-lib</module> <module>podcasts/podcasts-app</module> <module>postem/postem-app</module> <module>profile/profile-app</module> <module>roster/roster-app</module> <module>rwiki/rwiki-tool/tool< </plugin> |
2. Confirm that taglib profile is included.
No Format |
---|
<profile> <id>taglib</id> <modules> <module>gradebook/app/ui</module> <module>sam<module>help/samigohelp-app<tool</module> <module>sections<module>jsf/sections-app<widgets</module> <module>sections/sections-app-util<<module>mailtool/mailtool</module> <module>syllabus/syllabus-app</module> </modules> <profile> |
Update .externals
Check out 2.6.0 branch .externals to local tag prep folder and update revision numbers to last tag prep commit. This ensures that the next checkout will include all tag prep commits.
No Format |
---|
cd /Users/arwhyte/Development/svn/sakai_tag_prep svn co -N https://source.sakaiproject.org/svn/sakai/branches/sakai_2-5-4 sakai_2-5-4_branch Update manually component project only in .externals. Do not run sed and overwrite other projects. svn propset -F .externals svn:externals . svn propget svn:externals svn commit -m "tag prep for next release" <module>metaobj/metaobj-util/tool-lib</module> <module>msgcntr/messageforums-app</module> <module>osp/common/tool-lib</module> <module>osp/glossary/tool-lib</module> <module>osp/jsf/widgets</module> <module>osp/presentation/tool-lib</module> <module>podcasts/podcasts-app</module> <module>postem/postem-app</module> <module>profile/profile-app</module> <module>roster/roster-app</module> <module>rwiki/rwiki-tool/tool</module> <module>sam/samigo-app</module> <module>sections/sections-app</module> <module>sections/sections-app-util</module> <module>syllabus/syllabus-app</module> </modules> <profile> |
Update .externals
No longer required as .externals is set up to pull from the head of the 2.6.0 branch.
Check out 2.6.0 branch again and confirm checkout includes .externals to local tag prep folder and update revision numbers to last tag prep commit. This ensures that the next checkout will include all tag prep commits as well as updated .externals.
Generate Release artifacts
...