You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by sh...@apache.org on 2002/04/19 02:15:13 UTC

cvs commit: jakarta-taglibs/standard README.dist README build.xml

shawn       02/04/18 17:15:13

  Modified:    standard README build.xml
  Added:       standard README.dist
  Log:
  Changes to build process and distribution notes.
  
  Revision  Changes    Path
  1.6       +2 -2      jakarta-taglibs/standard/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/README,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- README	17 Apr 2002 02:53:35 -0000	1.5
  +++ README	19 Apr 2002 00:15:13 -0000	1.6
  @@ -1,5 +1,5 @@
   JSP Standard Tag Library (JSTL)
  -Release: Beta 1
  +Release: Beta 2
   
   Thanks for downloading the JSTL Beta 1 release.  We hope you find the tags,
   documents, and examples here of interest.  We're curious to hear your
  @@ -14,5 +14,5 @@
   
   Enjoy!
   
  -  -- Shawn Bayern
  +  -- Shawn Bayern <ba...@essentially.net>
        on behalf of JSR-052 (JSTL) Expert Group
  
  
  
  1.8       +44 -44    jakarta-taglibs/standard/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	6 Mar 2002 22:18:10 -0000	1.7
  +++ build.xml	19 Apr 2002 00:15:13 -0000	1.8
  @@ -53,13 +53,31 @@
          <param name="file" value="${jdbc2_0-stdext.jar}"/>     
          <param name="fail.message" value="This build process for the Standard Taglib requires the Sun JDBC 2.0 Optional Package (Standard Extensions).  Please define the property jdbc2_0-stdext.jar in your build.properties file and ensure that the file exists."/>
       </antcall>
  +    <!--
       <antcall target="checkRequiredFile">
          <param name="file" value="${crimson.jar}"/>     
          <param name="fail.message" value="This build process for the Standard Taglib requires a JAXP 1.1-compliant XML parser, such as crimson.jar.  Please define the property crimson.jar in your build.properties file and ensure that the file exists."/>
       </antcall>
  +    -->
  +    <antcall target="checkRequiredFile">
  +       <param name="file" value="${jaxp-api.jar}"/>     
  +       <param name="fail.message" value="This build process for the Standard Taglib requires jaxp-api.jar from JAXP 1.2.  Please define the property jaxp-api.jar in your build.properties file and ensure that the file exists."/>
  +    </antcall>
  +    <antcall target="checkRequiredFile">
  +       <param name="file" value="${dom.jar}"/>     
  +       <param name="fail.message" value="This build process for the Standard Taglib requires dom.jar from JAXP 1.2.  Please define the property jaxp-api.jar in your build.properties file and ensure that the file exists."/>
  +    </antcall>
  +    <antcall target="checkRequiredFile">
  +       <param name="file" value="${sax.jar}"/>     
  +       <param name="fail.message" value="This build process for the Standard Taglib requires sax.jar from JAXP 1.2.  Please define the property jaxp-api.jar in your build.properties file and ensure that the file exists."/>
  +    </antcall>
  +    <antcall target="checkRequiredFile">
  +       <param name="file" value="${xercesImpl.jar}"/>     
  +       <param name="fail.message" value="This build process for the Standard Taglib requires a xercesImpl.jar from JAXP 1.2.  Please define the property xercesImpl.jar in your build.properties file and ensure that the file exists."/>
  +    </antcall>
       <antcall target="checkRequiredFile">
          <param name="file" value="${xalan.jar}"/>     
  -       <param name="fail.message" value="This build process for the Standard Taglib requires a JAXP 1.1-compliant XSLT processors, such as xalan.jar.  Please define the property xalan.jar in your build.properties file and ensure that the file exists."/>
  +       <param name="fail.message" value="This build process for the Standard Taglib requires xalan.jar.  Please define the property xalan.jar in your build.properties file and ensure that the file exists."/>
       </antcall>
       <!--
       <antcall target="checkRequiredFile">
  @@ -72,13 +90,6 @@
       </antcall>
       -->
   
  -    <!--
  -    <antcall target="checkOptionalFile">
  -       <param name="file" value="${jxpath.jar}"/>
  -       <param name="warn.message" value="The standard taglib requires that you provide the JXPath JAR if you desire support of the JXPath Expression Language.  Since the property jxpath.jar in your build.properties file does not point to a valid file or is not defined, JXPath support will not be included in the compilation or the 'example' application."/>
  -    </antcall>
  -    -->
  -
       <!-- Set up build directories -->
       <mkdir dir="${build.dir}"/>
       <mkdir dir="${build.doc}"/>
  @@ -131,33 +142,22 @@
       </copy>
       <copy file="${jdbc2_0-stdext.jar}" tofile="${build.examples}/WEB-INF/lib/jdbc2_0-stdext.jar" />
       <copy file="${xalan.jar}" tofile="${build.examples}/WEB-INF/lib/xalan.jar" />
  -    <copy file="${crimson.jar}" tofile="${build.examples}/WEB-INF/lib/crimson.jar" />
  +    <copy file="${jaxp-api.jar}" tofile="${build.examples}/WEB-INF/lib/jaxp-api.jar" />
  +    <copy file="${dom.jar}" tofile="${build.examples}/WEB-INF/lib/dom.jar" />
  +    <copy file="${sax.jar}" tofile="${build.examples}/WEB-INF/lib/sax.jar" />
  +    <copy file="${xercesImpl.jar}" tofile="${build.examples}/WEB-INF/lib/xercesImpl.jar" />
       <!-- <copy file="${xml-apis.jar}" tofile="${build.examples}/WEB-INF/lib/xml-apis.jar" /> -->
   
       <!-- Copy required external API jar files -->
  -    <!--
  -    <copy file="${jaxp.jar}"
  -          tofile="${build.examples}/WEB-INF/lib/jaxp.jar"/>
  -    <copy file="${crimson.jar}"
  -          tofile="${build.examples}/WEB-INF/lib/crimson.jar"/>
  -    -->
       <!-- Copy the 'standard' TLD files -->
       <copy todir="${build.examples}/WEB-INF">
         <fileset dir="conf" includes="*.tld"/>
       </copy>
  -    <!--
  -    <copy file="${dist-jx.tld}"
  -              tofile="${build.examples}/WEB-INF/jx.tld"/>
  -    <copy file="${dist-jr.tld}"
  -              tofile="${build.examples}/WEB-INF/jr.tld"/>
  -    <copy file="${dist-x.tld}"
  -              tofile="${build.examples}/WEB-INF/x.tld"/>
  -    <copy file="${dist-scriptfree.tld}"
  -              tofile="${build.examples}/WEB-INF/scriptfree.tld"/>
  -    -->
       <!-- Copy the 'standard' jar files -->
  -    <copy file="${dist.library}/standard.jar"
  +    <copy file="${dist.library}/lib/standard.jar"
                 tofile="${build.examples}/WEB-INF/lib/standard.jar"/>
  +    <copy file="${dist.library}/lib/jstl.jar"
  +              tofile="${build.examples}/WEB-INF/lib/jstl.jar"/>
       <javac srcdir="${examples.src}" destdir="${build.examples}/WEB-INF/classes"
           classpath="${servlet23.jar}:${build.library}"/>
     </target>
  @@ -198,12 +198,8 @@
     </target>
   -->
   
  -<!--    <javac srcdir="${library.src}" destdir="${build.library}"
  -           classpath="${servlet23.jar}:${jxpath.jar}:${jdbc2_0-stdext.jar}:${crimson.jar}:${xalan.jar}:${jaxen-full.jar}:${saxpath.jar}"
  -	   debug="on"/>
  --->
         <javac srcdir="${library.src}" destdir="${build.library}"
  -         classpath="${servlet23.jar}:${jxpath.jar}:${jdbc2_0-stdext.jar}:${xalan.jar}:${crimson.jar}:${jaxen-full.jar}:${saxpath.jar}"
  +         classpath="${servlet23.jar}:${jdbc2_0-stdext.jar}:${jaxp-api.jar}:${dom.jar}:${sax.jar}:${xercesImpl.jar}:${xalan.jar}:${jaxen-full.jar}:${saxpath.jar}"
            debug="on"/>
   
     </target>
  @@ -232,22 +228,26 @@
   
     <!-- Create the library distribution files -->
     <target name="library-dist" depends="library">
  -    <!-- Create the tag library jar -->
  -    <jar jarfile="${dist.library}/standard.jar"
  -         basedir="${build.library}"/>
  +   <mkdir dir="${dist.library}/lib"/>
  +   <mkdir dir="${dist.library}/tld"/>
  +   <jar jarfile="${dist.library}/lib/standard.jar"
  +         basedir="${build.library}"
  +         includes="org/apache/**"/>
       <!-- Create the 'standard' API jar -->
  -    <jar jarfile="${dist.library}/jstl.jar"
  +    <jar jarfile="${dist.library}/lib/jstl.jar"
            basedir="${build.library}"
            includes="javax/**"/>
  -    <copy todir="${dist.dir}/${taglib.name}">
  -      <fileset dir="conf" includes="*.tld"/>
  -    </copy>
  -    <!--
  -    <copy file="${conf.src}/jx.tld" tofile="${dist-jx.tld}"/>
  -    <copy file="${conf.src}/x.tld" tofile="${dist-x.tld}"/>
  -    <copy file="${conf.src}/jr.tld" tofile="${dist-jr.tld}"/>
  -    <copy file="${conf.src}/scriptfree.tld" tofile="${dist-scriptfree.tld}"/>
  -    -->
  +    <copy file="README.dist" tofile="${dist.dir}/${taglib.name}/README"/>
  +    <copy file="${jaxen-full.jar}" todir="${dist.dir}/${taglib.name}/lib"/>
  +    <copy file="${saxpath.jar}" todir="${dist.dir}/${taglib.name}/lib"/>
  +    <copy file="${conf.src}/c.tld" todir="${dist.dir}/${taglib.name}/tld"/>
  +    <copy file="${conf.src}/c-rt.tld" todir="${dist.dir}/${taglib.name}/tld"/>
  +    <copy file="${conf.src}/x.tld" todir="${dist.dir}/${taglib.name}/tld"/>
  +    <copy file="${conf.src}/x-rt.tld" todir="${dist.dir}/${taglib.name}/tld"/>
  +    <copy file="${conf.src}/fmt.tld" todir="${dist.dir}/${taglib.name}/tld"/>
  +    <copy file="${conf.src}/fmt-rt.tld" todir="${dist.dir}/${taglib.name}/tld"/>
  +    <copy file="${conf.src}/sql.tld" todir="${dist.dir}/${taglib.name}/tld"/>
  +    <copy file="${conf.src}/sql-rt.tld" todir="${dist.dir}/${taglib.name}/tld"/>
     </target>
   
     <!-- Create the entire set of distribution files -->
  
  
  
  1.1                  jakarta-taglibs/standard/README.dist
  
  Index: README.dist
  ===================================================================
  JSP Standard Tag Library (JSTL)
  Release: Beta 2
  
  Thanks for downloading the JSTL Beta 1 release.  We hope you find the tags,
  documents, and examples here of interest.  We're curious to hear your
  feedback on this release, which represents work in progress toward a
  standard JSP Tag Library.  Please contact us at
  
  	mailto:jsr052-comments@sun.com
  
  with any comments you might have.
  
  BINARY DISTRIBUTION
  
  This is the binary distribution of the Beta2 JSTL reference
  implementation.
  
  To use this distribution with your web applications, simply copy the JAR
  files in the 'lib' directory to your application's WEB-INF/lib directory.
  Then, import JSTL into your pages with the following directives:
  
    CORE LIBRARY
      EL:  <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
      RT:  <%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>
  
    XML LIBRARY
      EL:  <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
      RT:  <%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt" %>
  
    FMT LIBRARY 
      EL:  <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
      RT:  <%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt" %>
  
    SQL LIBRARY
      EL:  <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
      RT:  <%@ taglib prefix="sql_rt" uri="http://java.sun.com/jstl/sql_rt" %>
  
  Please join the taglibs-user@jakarta.apache.org mailing list if you have
  general usage questions about JSTL.
  
  Enjoy!
  
    -- Shawn Bayern <ba...@essentially.net>
       on behalf of JSR-052 (JSTL) Expert Group
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>