Commits

Anonymous committed e812688

minor updates to webwork and xwork release process

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@370e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (3)

 name=xwork
 version=1.0.3
+fullname = XWork
+cvs.tag = xwork_1-0-4
+latest.download = https://xwork.dev.java.net/files/documents/709/6750/xwork-1.0.3.zip
             classpathref="cp"
             author="true"
             version="true"
-            windowTitle="${name} ${version} API"
-            doctitle="${name}"
-            footer="<a href="http://www.opensymphony.com/" target="_top">XWork Project Page</a>"
+            windowTitle="${fullname} API - ${version}"
+            doctitle="${fullname} API (${version})"
+            footer="<a href="http://www.opensymphony.com/xwork" target="_top">XWork Project Page</a>"
             use="true"
             verbose="false">
             <link href="http://java.sun.com/j2se/1.3/docs/api/"/>
         </zip>
     </target>
 
+    <target name="release">
+        <!-- update the navpanel.jsp to include the download link -->
+        <filter token="DOWNLOAD" value="${latest.download}"/>
+        <copy tofile="${docs}/navpanel.jsp" file="${docs}/navpanel-source.jsp" filtering="yes" overwrite="yes"/>
+
+        <cvs command="commit -m '${name} ${version} release' ${docs}/navpanel.jsp"/>
+        <cvs command="tag -F ${cvs.tag}"/>
+
+        <!-- update the website -->
+        <sshexec host="www.opensymphony.com"
+            username="${website.username}"
+            password="${website.password}"
+            trust="yes"
+            command="cd /opt/j2ee/opensymphony/${name};export JAVA_HOME='/usr/java/jdk';cvs update -P -d;/usr/java/ant-1.5.4/bin/ant docs;"/>
+
+
+        <!-- update the ibiblio repository -->
+        <scp password="${ibiblio.password}"
+            trust="yes"
+            todir="${ibiblio.username}@opensymphony.formicary.net:/home/rsync/repository/opensymphony/jars"
+            file="${build}/${name}-${version}.jar"/>
+    </target>
 </project>
 
 

docs/navpanel-source.jsp

+<p>
+<h3>XWork</h3>
+<a href="/xwork">Home</a><br/>
+<a href="@DOWNLOAD@">Download</a> (<a href="@DOWNLOAD_JAR@">JAR</a>)<br>
+<a href="/xwork/wikidocs/Documentation.html">Documentation</a> (<a href="/xwork/wikidocs/docs.pdf">PDF</a>)<br>
+<a href="/xwork/api/">API Documentation</a><br>
+</p>
+<h3>Services</h3>
+<b>JIRA</b><br>
+- <a href="http://jira.opensymphony.com/secure/BrowseProject.jspa?id=10050">Issue Overview</a><br>
+- <a href="http://jira.opensymphony.com/secure/BrowseProject.jspa?id=10050&report=roadmap">Roadmap</a><br>
+- <a href="http://jira.opensymphony.com/secure/BrowseProject.jspa?id=10050&report=changelog">Changelog</a><br>
+<b>Wiki</b><br>
+- <a href="http://wiki.opensymphony.com/display/XW">XWork page</a>
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.