[jboss-cvs] JBossAS SVN: r95978 - in projects/jboss-jca/trunk: sjc and 2 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Nov 3 16:09:30 EST 2009
Author: jesper.pedersen
Date: 2009-11-03 16:09:30 -0500 (Tue, 03 Nov 2009)
New Revision: 95978
Added:
projects/jboss-jca/trunk/sjc/src/main/resources/root/
projects/jboss-jca/trunk/sjc/src/main/resources/root/index.html
projects/jboss-jca/trunk/sjc/src/main/resources/root/jboss.css
Modified:
projects/jboss-jca/trunk/build.xml
projects/jboss-jca/trunk/sjc/build.xml
Log:
[JBJCA-214] Provide online documentation
Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml 2009-11-03 21:05:47 UTC (rev 95977)
+++ projects/jboss-jca/trunk/build.xml 2009-11-03 21:09:30 UTC (rev 95978)
@@ -48,6 +48,8 @@
================================= -->
<property name="lib.dir" value="${basedir}/lib" />
<property name="build.dir" value="${basedir}/build" />
+ <property name="api.dir" value="${basedir}/api" />
+ <property name="doc.dir" value="${basedir}/doc" />
<property name="target.dir" value="${basedir}/target" />
<property name="tools.dir" value="${basedir}/tools" />
<property name="reports.dir" value="${basedir}/reports" />
@@ -279,6 +281,9 @@
<mkdir dir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}/doc" />
<mkdir dir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}/doc/spec" />
+ <ant dir="sjc" inheritRefs="true" target="war"/>
+ <delete dir="${build.dir}/sjc"/>
+
<ant dir="doc/userguide" target="pdf"/>
<ant dir="doc/developerguide" target="pdf"/>
@@ -310,9 +315,6 @@
<gzip zipfile="${name}-${major}.${minor}.${patch}.${type}.tar.gz"
src="${name}-${major}.${minor}.${patch}.${type}.tar"/>
- <bzip2 zipfile="${name}-${major}.${minor}.${patch}.${type}.tar.bz2"
- src="${name}-${major}.${minor}.${patch}.${type}.tar"/>
-
<delete file="${name}-${major}.${minor}.${patch}.${type}.tar"/>
</target>
@@ -556,6 +558,8 @@
<delete dir="${build.dir}"/>
<delete dir="${target.dir}"/>
<delete dir="${reports.dir}"/>
+ <delete file="${name}-${major}.${minor}.${patch}.${type}.zip" />
+ <delete file="${name}-${major}.${minor}.${patch}.${type}.tar.gz" />
</target>
<!-- =================================
Modified: projects/jboss-jca/trunk/sjc/build.xml
===================================================================
--- projects/jboss-jca/trunk/sjc/build.xml 2009-11-03 21:05:47 UTC (rev 95977)
+++ projects/jboss-jca/trunk/sjc/build.xml 2009-11-03 21:09:30 UTC (rev 95978)
@@ -166,4 +166,55 @@
</target>
+ <!-- =================================
+ Target: war
+ ================================= -->
+ <target name="war" depends="compile">
+ <mkdir dir="${build.dir}/sjc/war"/>
+ <mkdir dir="${build.dir}/sjc/war/api"/>
+ <mkdir dir="${build.dir}/sjc/war/userguide"/>
+ <mkdir dir="${build.dir}/sjc/war/developerguide"/>
+
+ <ant dir="${api.dir}" inheritRefs="true" target="docs"/>
+ <move todir="${build.dir}/sjc/war/api">
+ <fileset dir="${target.dir}/docs/spec">
+ <include name="**/*"/>
+ </fileset>
+ </move>
+
+ <ant dir="${doc.dir}/userguide" target="html"/>
+ <move todir="${build.dir}/sjc/war/userguide">
+ <fileset dir="${build.dir}/en/html">
+ <include name="**/*"/>
+ </fileset>
+ </move>
+
+ <ant dir="${doc.dir}/developerguide" target="html"/>
+ <move todir="${build.dir}/sjc/war/developerguide">
+ <fileset dir="${build.dir}/en/html">
+ <include name="**/*"/>
+ </fileset>
+ </move>
+
+ <copy todir="${build.dir}/sjc/war">
+ <fileset dir="src/main/resources/root/">
+ <include name="**/*"/>
+ </fileset>
+ </copy>
+
+ <war destfile="${target.dir}/root.war"
+ needxmlfile="false">
+ <fileset dir="${build.dir}/sjc/war"/>
+ </war>
+
+ <delete dir="${build.dir}/en"/>
+
+ <copy todir="${target.dir}/sjc/deploy">
+ <fileset dir="${target.dir}">
+ <include name="*.war"/>
+ </fileset>
+ </copy>
+
+ </target>
+
</project>
Added: projects/jboss-jca/trunk/sjc/src/main/resources/root/index.html
===================================================================
--- projects/jboss-jca/trunk/sjc/src/main/resources/root/index.html (rev 0)
+++ projects/jboss-jca/trunk/sjc/src/main/resources/root/index.html 2009-11-03 21:09:30 UTC (rev 95978)
@@ -0,0 +1,45 @@
+<html>
+ <head>
+ <title>JBoss JCA</title>
+ <link rel="stylesheet" href="jboss.css" type="text/css" />
+ </head>
+ <body>
+ <h1>JBoss JCA</h1>
+
+ <h2>Administration console</h2>
+
+ <ul>
+ <li><a href="/console" target="_blank">Administration console</a></li>
+ </ul>
+
+ <h2>Documentation</h2>
+
+ <ul>
+ <li><a href="/api" target="_blank">API</a></li>
+ <li><a href="/userguide" target="_blank">User guide</a></li>
+ <li><a href="/developerguide" target="_blank">Developer guide</a></li>
+ </ul>
+
+ <h2>Project</h2>
+
+ <ul>
+ <li><a href="http://www.jboss.org/jca" target="_blank">Web site</a></li>
+ <li><a href="http://www.jboss.org/jca/downloads.html" target="_blank">Download</a></li>
+ <li><a href="http://www.jboss.org/jca/community.html" target="_blank">Community</a></li>
+ <li><a href="http://www.jboss.org/jca/issues.html" target="_blank">Issue Tracker</a></li>
+ <li><a href="http://jboss.org/jca/sourcecode.html" target="_blank">Source Code</a></li>
+ <li><a href="http://jboss.org/jca/build.html" target="_blank">Build</a></li>
+ </ul>
+
+ <p/>
+
+ <table width="100%" class="copyright">
+ <tr>
+ <td class="copyright">
+ Copyright © 2009 <a href="http://www.jboss.org/jca" target="_blank">JBoss, by Red Hat</a>
+ </td>
+ </tr>
+ </table>
+
+ </body>
+</html>
Added: projects/jboss-jca/trunk/sjc/src/main/resources/root/jboss.css
===================================================================
--- projects/jboss-jca/trunk/sjc/src/main/resources/root/jboss.css (rev 0)
+++ projects/jboss-jca/trunk/sjc/src/main/resources/root/jboss.css 2009-11-03 21:09:30 UTC (rev 95978)
@@ -0,0 +1,187 @@
+html {
+ height: 100%;
+ min-height: 100%;
+ background-color : #ffffff;
+ color : #454545;
+ border-collapse : collapse;
+ border-style: none;
+ margin : 0px auto;
+ padding: 0px;
+}
+
+body {
+ background-color : #ffffff;
+ color : #454545;
+ margin : 0px auto;
+ text-align : left;
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size: 10pt;
+ border-collapse : collapse;
+ border-style: none;
+ padding: 5px;
+}
+
+a {
+ color: #527fa8;
+ text-decoration: underline;
+}
+
+hr {
+ border-top: 1px solid #a4b2b9;
+ border-right: 0px solid #a4b2b9;
+ border-left: 0px solid #a4b2b9;
+ border-bottom: 0px solid #a4b2b9;
+ margin-bottom: 3px;
+}
+
+img {
+ border: 0px;
+}
+
+h1 {
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size : 14pt;
+ font-weight : bold;
+ background-color: white;
+ color: #50667c;
+ padding: 1px;
+}
+
+h2 {
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size : 12pt;
+ font-weight : bold;
+ background-color: #50667c;
+ color: white;
+ padding: 1px;
+}
+
+h3 {
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size : 11pt;
+ font-weight : bold;
+ background-color: white;
+ color: #50667c;
+ padding: 1px;
+}
+
+h4 {
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size : 10pt;
+ font-weight : bold;
+ background-color: white;
+ color: #50667c;
+ padding: 1px;
+}
+
+h5 {
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size : 10pt;
+ font-weight : bold;
+ background-color: white;
+ color: #50667c;
+ padding: 1px;
+}
+
+h6 {
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size : 10pt;
+ font-weight : bold;
+ background-color: white;
+ color: #50667c;
+ padding: 1px;
+}
+
+table {
+ width: 100%;
+ border-color: #50667c;
+ border-style: solid;
+ border-collapse : collapse;
+}
+
+tr th {
+ font-size: 10pt;
+ font-weight: bold;
+ color: #5f6a6f;
+ text-align: left;
+ padding: 1px;
+}
+
+tr td {
+ font-size: 10pt;
+ vertical-align: top;
+ text-align: left;
+ padding: 1px;
+}
+
+input {
+ font-family: Tahoma,Verdana,sans-serif;
+ font-size: 8pt;
+}
+
+input.readonly {
+ border: 1px solid #999999;
+ background-color: #C0C0C0;
+}
+
+input.writable {
+ border: 1px solid #999999;
+ background-color: #FFFFFF;
+}
+
+pre {
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+
+* .roweven {
+ background-color: white;
+}
+
+* .rowodd {
+ background-color: #eff4f7;
+}
+
+* .error {
+ font-size: 8pt;
+ color: red;
+}
+
+* .copyright {
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size: 8pt;
+ text-align : center;
+ color: white;
+ background-color: #50667c;
+ padding : 3px 0px 0px 0px;
+ margin : 0px;
+ vertical-align : bottom;
+}
+
+.copyright a {
+ font-family : "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ font-size: 8pt;
+ text-align : center;
+ color : white;
+ background-color : #50667c;
+ text-decoration : none;
+}
+
+.copyright a:link {
+ color : white;
+ background-color : #50667c;
+}
+
+.copyright a:visited {
+ color : white;
+ background-color : #50667c;
+}
+
+.copyright a:hover {
+ color : white;
+ background-color: #50667c;
+ text-decoration : underline;
+}
More information about the jboss-cvs-commits
mailing list