ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-ant/docs/manual/OptionalTasks wljspc.html
Date Sun, 05 Aug 2001 14:01:30 GMT
conor       01/08/05 07:01:30

  Modified:    docs/manual optionaltasklist.html
  Added:       docs/manual/OptionalTasks wljspc.html
  WLJSPC task documentation
  Submitted by: <>
  Revision  Changes    Path
  1.16      +1 -0      jakarta-ant/docs/manual/optionaltasklist.html
  Index: optionaltasklist.html
  RCS file: /home/cvs/jakarta-ant/docs/manual/optionaltasklist.html,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- optionaltasklist.html	2001/07/27 09:14:58	1.15
  +++ optionaltasklist.html	2001/08/05 14:01:30	1.16
  @@ -44,6 +44,7 @@
   <a href="OptionalTasks/test.html">Test</a><br>
   <a href="Integration/VAJAntTool.html#tasks">Visual Age for Java Tasks</a><br>
   <a href="OptionalTasks/vss.html#tasks">Microsoft Visual SourceSafe Tasks</a><br>
  +<a href="OptionalTasks/wljspc.html">Weblogic JSP Compiler</a><br>
   <a href="OptionalTasks/xmlvalidate.html">XmlValidate</a><br>
  1.1                  jakarta-ant/docs/manual/OptionalTasks/wljspc.html
  Index: wljspc.html
  <head><title> Ant optional task manual : wljspc </title></head>
  <p>Class to precompile JSP's using weblogic's jsp compiler (weblogic.jspc)</p>
  Tested only on Weblogic 4.5.1 - NT4.0 and Solaris 5.7,5.8<br>
  <table border="1" cellPadding="2" cellSpacing="0">
        <td>oot of source tree for JSP, ie, the document root for your weblogic server</td>
        <td> root of destination directory, what you have set as WorkingDir in the weblogic
        <td> start package name under which your JSP's would be compiled</td>
        <td>Class path to use when compiling jsp's</td>
  A classpath should be set which contains the weblogic classes as well as all application
  referenced by the JSP. The system classpath is also appended when the jspc is called, so
you may<br>
  choose to put everything in the classpath while calling Ant. However, since presumably the
JSP's will reference<br>
  classes being build by Ant, it would be better to explicitly add the classpath in the task<br>
  The task checks timestamps on the JSP's and the generated classes, and compiles<br>
  only those files that have changed.<br>
  It follows the weblogic naming convention of putting classes in<br>
  <b> _dirName/_fileName.class for dirname/fileName.jsp   </b><br>
  &lt;target name="jspcompile" depends="compile"><br>
  &lt;wljspc src="c:\\weblogic\\myserver\\public_html" dest="c:\\weblogic\\myserver\\serverclasses"
package="myapp.jsp" ><br>
  &lt;pathelement location="${weblogic.classpath}" /><br>
  &lt;pathelement path="${compile.dest}" /><br>
  This works only on weblogic 4.5.1
  It compiles the files thru the Classic compiler only.<br>
   Since it is my experience that weblogic jspc throws out of memory error on being given
  many files at one go, it is called multiple times with one jsp file each.

View raw message