This a known issue due to pre-compiling all the JSP's that the developers are working through. For now - make the task "optional" by added an if condition to the target definition, for example:
<target name="build-webapps-precompile"
depends="init" description="Builds the admin webapp"
if="precompile_webapps">


Then this will skip this task UNLESS you pass -Dprecompile_webapps=true on the ant command line. For example:
ant -Dprecompile_webapps=true clean deploy



OR


You can just ignore this error because it is the last step of the build and tomcat5 should start up fine.

-Tim

Jacob Kjome wrote:

Hmm....


I've got Ant-1.5.2beta1 installed on Win2k and I can't get past here...

build-main:
[javac] Compiling 1 source file to D:\myclasses\Repository\Jakarta\tomcat5_2
003-02-21\jakarta-tomcat-5\build\server\webapps\admin\WEB-INF\classes
[javac] This version of java does not support the classic compiler; upgradin
g to modern
[mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\server\webapps\admin\WEB-INF\src\admin
[mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\ROOT\WEB-INF\src
[mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\ROOT\WEB-INF\classes
[mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka
rta-tomcat-5\build\webapps\jsp-examples\WEB-INF\src
[jasper2] Error in class org.apache.jasper.JspC


BUILD FAILED
file:D:/myclasses/Repository/Jakarta/tomcat5_2003-02-21/jakarta-tomcat-5/build.x


ml:265: org.apache.jasper.JasperException: Error compiling \jsp2\tagfiles\hello.
jsp



Jake



At 08:15 PM 2/21/2003 -0800, you wrote:


Since you are behind a firewall, make sure that you have set 'proxy.host',
'proxy.port', and 'proxy.use' in your "build.properties" file. They are
commented out in the "build.properties.default" file.


At a guess, the wall you are hitting first is due to using a version of
Jakarta-Ant < 1.5.  You need to use at least 1.5 to build TC 5.

"Filip Hanik" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
try this,

cvs checkout jakarta-tomcat-5
cd jakarta-tomcat-5
ant download
ant checkout
ant dist

Filip

-----Original Message-----
From: Steve Guo [mailto:[EMAIL PROTECTED]
Sent: Friday, February 21, 2003 1:54 PM
To: tomcatuser
Subject: tomcat5.0 build problem



Hi, this is the first time I tried to build tomcat from source, ran into the
following problems. If you can provide your comment or point me to resource,
I would appreciate it. Thanks. Steve


1. I followed the instructions in BUILDING.TXT, almost exactly - the
Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from
Xalan2.4.1.


2. I got the following error after running ant:

Buildfile: build.xml

check.source:

get.source:

check.out:

BUILD FAILED

Build.xml:67: the <cvs> task doesn't support the 'compression' attribute.

3. I am running behind corporate firewall.





---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to