Commit f6b6e378 authored by Görel Hedin's avatar Görel Hedin
Browse files

Small updates to release process.

parent 65579120
......@@ -87,20 +87,24 @@ Possibly, the test suites for JastAdd2 and JastAdd3 could be merged at some poin
For the time being, we keep them as separate suites, but with the same numbers for the same tests.
1. Make sure the ChangeLog, reference manual, and the release-notes.html contains appropriate content.
1 Make sure the following files have appropriate content:
- ChangeLog
- doc/reference-manual.html
- doc/release-notes.html
2. Create a new jar file:
> make jar
3. Run all test cases.
4. Make clean and commit.
5. Run the release script which will show you commands for doing the release.
> ./release
4. Run the release script which will show you commands for doing the release.
> ./
This will involve:
- Creating a new tagged version R20110506 (or other appropriate date)
- Patching html files with version R20110506
- Creating a zip file for the source distribution
- Creating a zip file for the binary distribution.
- Upload the zip files and appropriate documentation to
- Cleaning up
6. Browse to and check the content.
5. Browse to and check the content.
6. Make clean and commit
7. Update the web pages to reflect the new release on the download and news pages.
......@@ -200,6 +204,7 @@ Directories and files:
manifest Manifest file for building the jastadd2.jar file
newrelease A script for patching two files with a new version
number: jastadd/ and manifest A script printing the commands for doing a release.
ChangeLog A textfile recording changes done to JastAdd, intended for
users of JastAdd (focusing on external behavior).
......@@ -13,6 +13,36 @@
<h2> Source distribution </h2>
<li> The source: <a href=""></a>
<br> Unpack by the command "unzip" </li>
<li> The source: <a href=""></a></li>
<li> Unpack by the command "unzip" </li>
<li> Get <a href="">AspectJ 1.5.3</a>,
and install it as follows: </li>
<li>Create a new empty dir where you unpack aspectj-1.5.3.jar by the command
<pre>jar -xf aspectj-1.5.3.jar
<li> Move its "lib" directory to "jastadd-src/tools" and rename it to "aspectj-1.5.3".
You should end up with the following directory structure:
<li> Go to jastadd-src and build jastadd2.jar:
> cd jastadd-src
> make jar
......@@ -6,7 +6,7 @@
<h1>Reference manual for JastAdd
<h1>Reference manual for JastAdd2 R20110506
......@@ -2,6 +2,15 @@
VERSION=R`date +%Y%m%d`
echo Do the following commands to create and upload jastadd2 version ${VERSION}
# Patch the html files to use the correct version number
echo "sed -e '/JastAdd2 Release R/ s/Release R......../Release '${VERSION}'/' doc/index.html >doc/"
echo rm doc/index.html
echo mv doc/ doc/index.html
echo "sed -e '/Reference manual for JastAdd2 R/ s/JastAdd2 R......../JastAdd2 '${VERSION}'/' doc/reference-manual.html >doc/"
echo rm doc/reference-manual.html
echo mv doc/ doc/reference-manual.html
# Create a zip file for the source distribution
echo make source-zip
#make source-zip
......@@ -15,7 +24,7 @@ echo ssh \"cd /cs/jastadd/releases/jastadd2 \&\& mkdir ${VERSION
#ssh "cd /cs/jastadd/releases/jastadd2 && mkdir ${VERSION}"
# Upload the zip files and appropriate documentation to
echo scp jastadd2-src.jar doc/*.html doc/*.php${VERSION}
echo scp jastadd2.jar doc/*.html doc/*.php${VERSION}
#scp jastadd2-src.jar doc/*.html doc/*.php${VERSION}
# Cleaning up
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment