]> granicus.if.org Git - docbook-dsssl/commitdiff
Prepared xsl-xalan module for standalone release.
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 23 Aug 2007 05:27:32 +0000 (05:27 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 23 Aug 2007 05:27:32 +0000 (05:27 +0000)
xsl-xalan/.cvsignore [new file with mode: 0644]
xsl-xalan/AUTHORS [new file with mode: 0644]
xsl-xalan/BUGS [new file with mode: 0644]
xsl-xalan/COPYING [new file with mode: 0644]
xsl-xalan/INSTALL [new file with mode: 0644]
xsl-xalan/Makefile [new file with mode: 0644]
xsl-xalan/README [new file with mode: 0644]
xsl-xalan/VERSION [new file with mode: 0644]
xsl-xalan/nbproject/build-impl.xml
xsl-xalan/nbproject/project.properties

diff --git a/xsl-xalan/.cvsignore b/xsl-xalan/.cvsignore
new file mode 100644 (file)
index 0000000..364705b
--- /dev/null
@@ -0,0 +1,3 @@
+build
+javadoc
+xalan27.jar
diff --git a/xsl-xalan/AUTHORS b/xsl-xalan/AUTHORS
new file mode 100644 (file)
index 0000000..425a1bd
--- /dev/null
@@ -0,0 +1,3 @@
+The DocBook Xalan extensions are maintained by Norman Walsh,
+<ndw@nwalsh.com>, and members of the DocBook Project,
+<docbook-developers@sf.net>
diff --git a/xsl-xalan/BUGS b/xsl-xalan/BUGS
new file mode 100644 (file)
index 0000000..fb63728
--- /dev/null
@@ -0,0 +1,22 @@
+To view a list of all open bugs for the DocBook Xalan extensions:
+
+  http://docbook.sf.net/tracker/xsl-xalan/bugs
+
+To submit a bug report against the DocBook Xalan extensions::
+
+  http://docbook.sf.net/tracker/submit/bug
+
+To do a full-text search of all DocBook Project issues:
+
+  http://docbook.sf.net/tracker/search
+
+The DocBook Xalan extensions are for use with the DocBook Project
+XSL stylesheets. Discussion about the DocBook XSL stylesheets
+takes place on the docbook-apps mailing list:
+
+  http://wiki.docbook.org/topic/DocBookAppsMailingList
+
+Real-time discussion takes place on IRC:
+
+  http://wiki.docbook.org/topic/DocBookIrcChannel
+  irc://irc.freenode.net/docbook
diff --git a/xsl-xalan/COPYING b/xsl-xalan/COPYING
new file mode 100644 (file)
index 0000000..6354987
--- /dev/null
@@ -0,0 +1,39 @@
+Copyright
+---------
+Copyright (C) 1999-2007 Norman Walsh
+Copyright (C) 2005-2007 The DocBook Project
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the ``Software''), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Except as contained in this notice, the names of individuals
+credited with contribution to this software shall not be used in
+advertising or otherwise to promote the sale, use or other
+dealings in this Software without prior written authorization
+from the individuals in question.
+
+Any stylesheet derived from this Software that is publically
+distributed will be identified with a different name and the
+version strings in any derived Software will be changed so that
+no possibility of confusion between the derived package and this
+Software will exist.
+
+Warranty
+--------
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT.  IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
+CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/xsl-xalan/INSTALL b/xsl-xalan/INSTALL
new file mode 100644 (file)
index 0000000..dd376aa
--- /dev/null
@@ -0,0 +1,31 @@
+$Id: INSTALL 7275 2007-08-23 04:49:53Z xmldoc $
+
+INSTALL file for the DocBook Xalan extensions
+
+----------------------------------------------------------------------
+Case #1: Installation using a package management system
+----------------------------------------------------------------------
+If you've installed the DocBook Xalan extensions distribution using
+"apt-get", "yum", "urpmi", or some similar package-management
+front-end, then as part of the package installation, the
+xalan27.jar file for the extensions have most likely already been
+installed in the appropriate location for your system. To determine
+where the jar file is installed, consult the specific documentation
+for your system (for example, the README.Debian file).
+
+----------------------------------------------------------------------
+Case #2: Installing manually
+----------------------------------------------------------------------
+To manually "install" the xalan27.jar file, simply place it in a
+directory where you'd normally store jar files.
+
+----------------------------------------------------------------------
+How to use the DocBook Xalan extensions
+----------------------------------------------------------------------
+To use the DocBook Xalan extensions, add the absolute path to the
+xalan27.jar file (wherever you may it installed) to your Java
+classpath and process your documents with the Xalan-Java XSLT
+engine and with the value of the DocBook XSL stylesheets
+"use.extensions" parameter set to 1.
+
+For a few more details, see the README file.
diff --git a/xsl-xalan/Makefile b/xsl-xalan/Makefile
new file mode 100644 (file)
index 0000000..fbf2117
--- /dev/null
@@ -0,0 +1,29 @@
+include ../buildtools/Makefile.incl
+include ../releasetools/Variables.mk
+
+DISTRO=xsl-xalan
+
+# value of DISTRIB_DEPENDS is a space-separated list of any
+# targets for this distro's "distrib" target to depend on
+DISTRIB_DEPENDS =
+
+# value of ZIP_EXCLUDES is a space-separated list of any file or
+# directory names (shell wildcards OK) that should be excluded
+# from the zip file and tarball for the release
+DISTRIB_EXCLUDES =
+
+ANT = ant
+ANT_OPTS =
+
+all: xalan27.jar javadoc
+
+xalan27.jar: $(wildcard src/com/nwalsh/xalan/*.java)
+       $(ANT) jar
+
+javadoc:
+       $(ANT) javadoc
+
+clean:
+       $(ANT) clean
+
+include ../releasetools/Targets.mk
diff --git a/xsl-xalan/README b/xsl-xalan/README
new file mode 100644 (file)
index 0000000..a05052d
--- /dev/null
@@ -0,0 +1,54 @@
+----------------------------------------------------------------------
+              README file for the DocBook Xalan Extensions
+----------------------------------------------------------------------
+$Id: README 7275 2007-08-23 04:49:53Z xmldoc $
+
+These are Java extensions for use with the DocBook XML stylesheets
+and the Xalan-Java XSLT engine.
+
+This README file provides only very minimal documentation on the
+DocBook Project Xalan extensions. For more complete information
+on the features the extensions provide and on how to use them
+with the DocBook Project XSL stylesheets, see Bob Stayton's book
+"DocBook XSL: The Complete Guide", available online at:
+
+  http://www.sagehill.net/docbookxsl/
+
+----------------------------------------------------------------------
+Installation
+----------------------------------------------------------------------
+For information on installing these extensions, see the INSTALL file.
+
+----------------------------------------------------------------------
+How to use the DocBook Xalan extensions
+----------------------------------------------------------------------
+To use the DocBook Xalan extensions, add the absolute path to the
+xalan27.jar file to your Java classpath and process your documents
+with the Xalan-Java XSLT engine and with the value of the DocBook XSL
+stylesheets "use.extensions" parameter set to 1.
+
+----------------------------------------------------------------------
+Manifest
+----------------------------------------------------------------------
+AUTHORS       contact information
+BUGS          about known problems
+COPYING       copyright information
+INSTALL       installation instructions
+README        this file
+TODO          about planned features not yet implemented
+VERSION       release metadata, including the current version
+              number (note that the VERSION file is an XSL stylesheet)
+NEWS          changes since the last public release
+
+xalan27.jar   Java extensions for use with the Xalan-Java XSLT engine
+
+----------------------------------------------------------------------
+Changes
+----------------------------------------------------------------------
+For a hyperlinked view of the cumulative change history for the
+DocBook Xalan extensions, see the following:
+
+  http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/xsl-xalan/?view=log
+  http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/xsl-java/?view=log
+
+See the NEWS file for changes made since the previous release.
diff --git a/xsl-xalan/VERSION b/xsl-xalan/VERSION
new file mode 100644 (file)
index 0000000..8f4de67
--- /dev/null
@@ -0,0 +1,108 @@
+<?xml version='1.0'?> <!-- -*- nxml -*- vim: set foldlevel=2: -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/"
+  xmlns:sf="http://sourceforge.net/"
+  xmlns:dyn="http://exslt.org/dynamic"
+  xmlns:xalan="http://icl.com/xalan"
+  exclude-result-prefixes="fm sf"
+  version='1.0'>
+
+<xsl:output omit-xml-declaration="yes"/>
+
+<xsl:param name="get"/>
+<xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/>
+<xsl:param name="Tag" select="concat('V',translate(string(document('')//fm:Version[1]),'.',''))"/>
+<xsl:param name="DistroTitle" select="string(document('')//fm:Branch[1])"/>
+<xsl:param name="DistroName">docbook-xsl-xalan</xsl:param>
+<xsl:param name="PreviousRelease">0.0</xsl:param>
+<xsl:param name="PreviousReleaseRevision">7155</xsl:param>
+<xsl:param name="Revision">$Revision: 7276 $</xsl:param>
+<xsl:param name="VersionFileURL">$URL: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl-xalan/VERSION $</xsl:param>
+<xsl:param name="sf-relid" select="0"/>
+<xsl:strip-space elements="fm:*"/>
+
+<fm:project>
+  <fm:Project>DocBook</fm:Project>
+  <fm:Branch>Xalan Extensions</fm:Branch>
+  <fm:Version>1.0-pre</fm:Version>
+<!--
+  <fm:License>MIT/X Consortium License</fm:License>
+-->
+  <fm:Release-Focus>
+Initial freshmeat announcement
+<!-- * Documentation -->
+<!-- * Code cleanup -->
+<!-- * Minor feature enhancements -->
+<!-- * Major feature enhancements -->
+<!-- * Minor bugfixes -->
+<!-- * Major bugfixes -->
+<!-- * Minor security fixes -->
+<!-- * Major security fixes -->
+  </fm:Release-Focus>
+  <fm:Home-Page-URL>http://sourceforge.net/projects/docbook/</fm:Home-Page-URL>
+  <fm:Gzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.tar.gz?download</fm:Gzipped-Tar-URL>
+  <fm:Zipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.zip?download</fm:Zipped-Tar-URL>
+  <fm:Bzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.bz2?download</fm:Bzipped-Tar-URL>
+  <fm:Changelog-URL>http://sourceforge.net/project/shownotes.php?release_id={SFRELID}</fm:Changelog-URL>
+  <fm:CVS-URL>http://docbook.svn.sourceforge.net/viewvc/docbook/</fm:CVS-URL>
+  <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL>
+  <fm:Changes>This is the initial release of the Xalan extensions as a separate package.
+</fm:Changes>
+</fm:project>
+
+<xsl:template match="/" priority="-100">
+  <xsl:choose>
+    <xsl:when test="$get = 'Tag'">
+      <xsl:value-of select="$Tag"/>
+    </xsl:when>
+    <xsl:when test="$get = 'PreviousRelease'">
+      <xsl:value-of select="$PreviousRelease"/>
+    </xsl:when>
+    <xsl:when test="$get = 'PreviousReleaseRevision'">
+      <xsl:value-of select="$PreviousReleaseRevision"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$sf-relid = 0">
+        <xsl:message terminate="yes">
+         <xsl:text>You must specify the sf-relid as a parameter.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+      <xsl:apply-templates select="//fm:project"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="fm:project">
+  <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates select="fm:Changes" mode="text"/>
+</xsl:template>
+
+<xsl:template match="fm:Changes"/>
+
+<xsl:template match="fm:Gzipped-Tar-URL|fm:Zipped-Tar-URL|fm:Bzipped-Tar-URL">
+  <xsl:value-of select="local-name(.)"/>
+  <xsl:text>: </xsl:text>
+  <xsl:value-of select="substring-before(., '{DISTRONAME-VERSION}')"/>
+  <xsl:value-of select="concat($DistroName, '-', $VERSION)"/>
+  <xsl:value-of select="substring-after(., '{DISTRONAME-VERSION}')"/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="fm:Changelog-URL">
+  <xsl:value-of select="local-name(.)"/>
+  <xsl:text>: </xsl:text>
+  <xsl:value-of select="substring-before(., '{SFRELID}')"/>
+  <xsl:value-of select="$sf-relid"/>
+  <xsl:value-of select="substring-after(., '{SFRELID}')"/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="fm:*">
+  <xsl:value-of select="local-name(.)"/>
+  <xsl:text>: </xsl:text>
+  <xsl:value-of select="normalize-space(.)"/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet>
index fa2628e4dfa2c88c7405c454ae1d9ac5cea82ecb..32279fbb4e3e51d16232f25a1324bae9d0283385 100644 (file)
@@ -531,7 +531,8 @@ is divided into following sections:
     <target name="deps-clean" depends="init" unless="no.deps"/>
     <target name="-do-clean" depends="init">
         <delete dir="${build.dir}"/>
-        <delete dir="${dist.dir}"/>
+        <delete file="${dist.dir}/xalan27.jar"/>
+        <delete dir="${dist.dir}/javadoc"/>
     </target>
     <target name="-post-clean">
         <!-- Empty placeholder for easier customization. -->
index f6e21137a0c7eba0790052c10033d18487b8a65e..f91a827da50fd5aff28aab0efd04a36a38e0d5b2 100644 (file)
@@ -12,8 +12,8 @@ debug.classpath=\
     ${run.classpath}
 debug.test.classpath=\
     ${run.test.classpath}
-# This directory is removed when the project is cleaned:
-dist.dir=dist
+dist.dir=.
+# This jar file and javadoc are removed when the project is cleaned.
 dist.jar=${dist.dir}/xalan27.jar
 dist.javadoc.dir=${dist.dir}/javadoc
 file.reference.xalan.jar=../../../../../usr/local/java/xalan2/xalan.jar