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 gl...@apache.org on 2001/07/05 00:14:23 UTC
cvs commit: jakarta-taglibs/src/taglib-template build.xml
glenn 01/07/04 15:14:23
Modified: src/taglib-template build.xml
Log:
Add example for jsp1.2
Revision Changes Path
1.2 +10 -5 jakarta-taglibs/src/taglib-template/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-taglibs/src/taglib-template/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 2001/05/23 11:33:54 1.1
+++ build.xml 2001/07/04 22:14:22 1.2
@@ -13,10 +13,10 @@
<!-- By default, common.xml adds servlet.jar to the classpath
ant uses when building your taglib. If you need to use
- additional jar files you will have to override the ant
- definition of the classpath by uncommenting the below
- declarations and adding any required jar files to the
- ant classpath. -->
+ additional jar files or this is a JSP1.2 taglib you will
+ have to override the ant definition of the classpath by
+ uncommenting the below declarations and adding any required
+ jar files to the ant classpath. -->
<!-- Load in your local build properties which define jar
file locations.
@@ -24,13 +24,18 @@
<!-- Define additional jar files to be used by ant when
building your taglib. The classpath value is a ":"
separated list of jar file property names from your
- local build.properties file.
+ local build.properties file. Use servlet23.jar instead
+ of servlet.jar if this is a JSP1.2 taglib.
<property name="classpath" value="${servlet.jar}:${jakarta-oro.jar}"/> -->
+ <!-- Define the property jsp12.present if this is a JSP 1.2 taglib
+ <property name="jsp12.present" value="true"/> -->
+
<!-- common.xml defines a number of targets in its build process
which you can override in your local build.xml file. In this
case we want to override the ant target "checkRequirements.pre"
so that we can verify that the required jar files are present.
<property name="checkRequirements.pre" value="checkRequirements.pre"/> -->
+
<!-- Here is the ant target that overrides "checkRequirements.pre"
<target name="checkRequirements.pre">