From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/wljspc.html | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/wljspc.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/wljspc.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/wljspc.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/wljspc.html new file mode 100644 index 00000000..56634947 --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/wljspc.html @@ -0,0 +1,99 @@ + + + +WLJSPC Task + +

wljspc

+

Description

+

Class to precompile JSP's using weblogic's jsp compiler (weblogic.jspc)

+Tested only on Weblogic 4.5.1 - NT4.0 and Solaris 5.7,5.8
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeValuesRequired
srcroot of source tree for JSP, ie, the document root for your weblogic serverYes
+dest root of destination directory, what you have set as WorkingDir in the weblogic propertiesYes
+package start package name under which your JSP's would be compiledYes
+classpathClass path to use when compiling jsp'sYes
+

+
+ +A classpath should be set which contains the weblogic classes as well as all application classes
+referenced by the JSP. The system classpath is also appended when the jspc is called, so you may
+choose to put everything in the classpath while calling Apache Ant. However, since presumably the JSP's will reference
+classes being build by Ant, it would be better to explicitly add the classpath in the task
+
+The task checks timestamps on the JSP's and the generated classes, and compiles
+only those files that have changed.
+
+It follows the weblogic naming convention of putting classes in
+ _dirName/_fileName.class for dirname/fileName.jsp
+
+

+


+Example
+

+

+

+<target name="jspcompile" depends="compile">
+  <wljspc src="c:\\weblogic\\myserver\\public_html" dest="c:\\weblogic\\myserver\\serverclasses" package="myapp.jsp">
+    <classpath>
+      <pathelement location="${weblogic.classpath}"/>
+      <pathelement path="${compile.dest}"/>
+    </classpath>
+  </wljspc>
+</target>
+
+ +

+ +

Limitations

+ + + + -- cgit