Re: CVS snapchot compile problems
Yoav Shapira wrote: Howdy, I guess you're trying to buld tomcat 5? Are you going the download way or the build.properties way? Yoav Shapira I went the build.properties way, for the record... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CVS snapchot compile problems
Howdy, I guess you're trying to buld tomcat 5? Are you going the download way or the build.properties way? Yoav Shapira --- Antonio_Fiol_Bonnín <[EMAIL PROTECTED]> wrote: > Hello, > > I have just followed the instructions on > http://jakarta.apache.org/tomcat/building.html and I get the following: > > [... (successful) beginning of build and some blank lines removed ...] > build-servletapi: > [echo] == Building: > ./binaries/servlet-api-2.4/lib/servlet-api.jar > prepare: > static: > compile: > examples: > javadoc: > jar: > [copy] Copying 1 file to > /home/fiol/tomcat-build/jakarta-servletapi-5/jsr15 > 4/build > [jar] Building jar: > /home/fiol/tomcat-build/jakarta-servletapi-5/jsr154/bi > naries/servlet-api-2.4/lib/servlet-api.jar > dist: > [... I understand that servlet API has been built correctly, then > jarred, so it's OK ...] > [... however ...] > build-jspapi: > [echo] == Building: ./binaries/jsp-api-2.0/lib/jsp-api.jar > prepare: > static: > compile: > [javac] Compiling 42 source files to > /home/fiol/tomcat-build/jakarta-servlet > api-5/jsr152/build/classes > [javac] > /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ > servlet/jsp/JspFactory.java:58: cannot resolve symbol > [javac] symbol : class Servlet > [javac] location: package servlet > [javac] import javax.servlet.Servlet; > [javac] ^ > [javac] > /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ > servlet/jsp/JspFactory.java:59: cannot resolve symbol > [javac] symbol : class ServletRequest > [javac] location: package servlet > [javac] import javax.servlet.ServletRequest; > [javac] ^ > [javac] > /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ > servlet/jsp/JspFactory.java:60: cannot resolve symbol > [javac] symbol : class ServletResponse > [javac] location: package servlet > [javac] import javax.servlet.ServletResponse; > [javac] ^ > [... and some more errors: it seems it is not finding the servlet API ...] > > Any clues? > > I am not quite familiar with ANT so I don't know how I can force the > JSR152 compile to include servlet-api.jar in its classpath. Would anyway > this be the solution? I suppose if it was, someone would have spotted it > before... > > Antonio Fiol > > > > ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s = Yoav Shapira [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CVS snapchot compile problems
Sorry I am replying tomy own post. Problem solved: - I was using not JDK 1.4, but an older version. - I had set the base.home property to a relative path, where it should be an absolute one, or at least, not as relative as mine... Sorry again. Antonio Fiol Antonio Fiol Bonnín wrote: Hello, I have just followed the instructions on http://jakarta.apache.org/tomcat/building.html and I get the following: [... (successful) beginning of build and some blank lines removed ...] build-servletapi: [echo] == Building: ./binaries/servlet-api-2.4/lib/servlet-api.jar prepare: static: compile: examples: javadoc: jar: [copy] Copying 1 file to /home/fiol/tomcat-build/jakarta-servletapi-5/jsr15 4/build [jar] Building jar: /home/fiol/tomcat-build/jakarta-servletapi-5/jsr154/bi naries/servlet-api-2.4/lib/servlet-api.jar dist: [... I understand that servlet API has been built correctly, then jarred, so it's OK ...] [... however ...] build-jspapi: [echo] == Building: ./binaries/jsp-api-2.0/lib/jsp-api.jar prepare: static: compile: [javac] Compiling 42 source files to /home/fiol/tomcat-build/jakarta-servlet api-5/jsr152/build/classes [javac] /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ servlet/jsp/JspFactory.java:58: cannot resolve symbol [javac] symbol : class Servlet[javac] location: package servlet [javac] import javax.servlet.Servlet; [javac] ^ [javac] /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ servlet/jsp/JspFactory.java:59: cannot resolve symbol [javac] symbol : class ServletRequest[javac] location: package servlet [javac] import javax.servlet.ServletRequest; [javac] ^ [javac] /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ servlet/jsp/JspFactory.java:60: cannot resolve symbol [javac] symbol : class ServletResponse[javac] location: package servlet [javac] import javax.servlet.ServletResponse; [javac] ^ [... and some more errors: it seems it is not finding the servlet API ...] Any clues? I am not quite familiar with ANT so I don't know how I can force the JSR152 compile to include servlet-api.jar in its classpath. Would anyway this be the solution? I suppose if it was, someone would have spotted it before... Antonio Fiol smime.p7s Description: S/MIME Cryptographic Signature
CVS snapchot compile problems
Hello, I have just followed the instructions on http://jakarta.apache.org/tomcat/building.html and I get the following: [... (successful) beginning of build and some blank lines removed ...] build-servletapi: [echo] == Building: ./binaries/servlet-api-2.4/lib/servlet-api.jar prepare: static: compile: examples: javadoc: jar: [copy] Copying 1 file to /home/fiol/tomcat-build/jakarta-servletapi-5/jsr15 4/build [jar] Building jar: /home/fiol/tomcat-build/jakarta-servletapi-5/jsr154/bi naries/servlet-api-2.4/lib/servlet-api.jar dist: [... I understand that servlet API has been built correctly, then jarred, so it's OK ...] [... however ...] build-jspapi: [echo] == Building: ./binaries/jsp-api-2.0/lib/jsp-api.jar prepare: static: compile: [javac] Compiling 42 source files to /home/fiol/tomcat-build/jakarta-servlet api-5/jsr152/build/classes [javac] /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ servlet/jsp/JspFactory.java:58: cannot resolve symbol [javac] symbol : class Servlet [javac] location: package servlet [javac] import javax.servlet.Servlet; [javac] ^ [javac] /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ servlet/jsp/JspFactory.java:59: cannot resolve symbol [javac] symbol : class ServletRequest [javac] location: package servlet [javac] import javax.servlet.ServletRequest; [javac] ^ [javac] /home/fiol/tomcat-build/jakarta-servletapi-5/jsr152/src/share/javax/ servlet/jsp/JspFactory.java:60: cannot resolve symbol [javac] symbol : class ServletResponse [javac] location: package servlet [javac] import javax.servlet.ServletResponse; [javac] ^ [... and some more errors: it seems it is not finding the servlet API ...] Any clues? I am not quite familiar with ANT so I don't know how I can force the JSR152 compile to include servlet-api.jar in its classpath. Would anyway this be the solution? I suppose if it was, someone would have spotted it before... Antonio Fiol smime.p7s Description: S/MIME Cryptographic Signature