You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by sh...@e-z.net on 2012/08/29 07:57:23 UTC

Xalan Java - Developer version inconsistency problem

Hi,

I have been thinking seriously about Xalan-Java version numbering
and how to deploy the versioning.  I have found a severe inconsistency
when trying to deploy a DEVELOPER version.

I think that Xalan Java 2.7.D2 should be used until 2.7.2 is to be released.

The build scripts using ANT are reflective of version 2.7.1 but the
comments regarding D2 are different that what I was expecting when
looking at the *Version.src and *Version.java files.

The Xerces Java (XML Parser) appears to have released version 2.11.0.
Note that the ANT build of Xalan Java refers to Xerces version 2.9.0.

See File: xalan/java/trunk/build.xml  // the ANT build file

<project name="Xalan" default="jar" basedir=".">
  <property name="version.VERSION"     value="2"/>
  <property name="version.RELEASE"     value="7"/>
  <property name="version.DEVELOPER"   value="D"/>
  <property name="version.MINOR"       value="2"/>

  <property name="version"     
value="${version.VERSION}_${version.RELEASE}_${version.DEVELOPER}${version.MINOR}"/>

  <property name="impl.version"    
value="${version.VERSION}.${version.RELEASE}.${version.DEVELOPER}${version.MINOR}"/>

  <!-- Xerces Java XML Parser Version Information -->
  <property name="parser.version.VERSION"  value="2"/>
  <property name="parser.version.RELEASE"  value="11"/>
  <property name="parser.version.MINOR"    value="0"/>

<!-- Should we still be using /xml-commons-external-1.3.02-src.tar? -->

<!-- The existing ANT build.xml also wants to build the webpage documentation
     using the old stylebook controls in xalan/java/trunk/xdocs/ -->

<!-- The new webpages have been redesigned and no longer use the stylebook
program. The webpages are now built using a standards compliant XSLT
command line processor. I have not yet copied the new webpage sources
into the xdocs directory. -->

<!-- The JAVADOCS control file still works for interactive API web pages. -->

<!-- The ANT build.xml copies the *Version.src to *Version.java by replacing
     the assigned values for ${version.VERSION} ${version.RELEASE}
     ${version.DEVELOPER} and ${version.MINOR}. -->

<!-- Java Version Dependencies,  We must verify that new Java features do not
     break the ANT build processes -->

----------------------------

BEWARE:  The DEVELOPER version usage in build.xml is incompatible with the
     version logic shown in *Version.src files.
[1]
     trunk/build.xml file requires that ${version.DEVELOPER} = "D".

     <property name="version"/> and
     <property name="impl.version"/>

     require that ${version.DEVELOPER} be the letter "D".
[2]
     *Version.src files requires that @version.DEVELOPER@ = "2".

     If length of @version.DEVELOPER@ > 0
        report D@version.DEVELOPER@
     else
        report @version.MINOR$

We need the version logic to be consistent.
-------------------------------

Sincerely,
Steven J. Hathaway
Xalan Documentation Project








---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org