Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 19979 invoked from network); 3 Oct 2008 10:32:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2008 10:32:33 -0000 Received: (qmail 66626 invoked by uid 500); 3 Oct 2008 10:32:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66585 invoked by uid 500); 3 Oct 2008 10:32:17 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 66573 invoked by uid 99); 3 Oct 2008 10:32:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2008 03:32:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.200.114] (HELO web30501.mail.mud.yahoo.com) (68.142.200.114) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Oct 2008 10:31:14 +0000 Received: (qmail 74718 invoked by uid 60001); 3 Oct 2008 10:31:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=d+sGfj22wDzesORbMdvwryAhnenlN3sR89oqLljVid9mUD/lC2//aKpQ9tHCmELMVXlrF+vPDXmFXTulqXAg03mn017opYxQoacpfivsUVY5fXHZaaW0qFQuCAPE6LIb6ZqWkZzdEJsSRICpXrFsk/W1Fva5VYxlo/y77C4r2lA=; X-YMail-OSG: FqZ8ma0VM1mDul85NyRg0DLTbhqirine14venH7Bcz8R76sW42bNRREXyV9f76Ae2TasgsJO.KgUwcLssnXYVS7M9b_HVcdAXfYdLu6YgPzL8EuDVj29kHRzTSC41Sz0zFiuHnxlBP8R_srrzDnFCJBPvtLg1g-- Received: from [82.84.1.21] by web30501.mail.mud.yahoo.com via HTTP; Fri, 03 Oct 2008 03:31:48 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Fri, 3 Oct 2008 03:31:48 -0700 (PDT) From: Elalmaire Reply-To: elalmaire@yahoo.com Subject: Using JDT compiler from build.xml To: users@tomcat.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <617110.74158.qm@web30501.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm a new tomcat user. I'm running Apache Tomcat ver 6.0.18 on Windows Vista with JRE 6 (so I've setted JRE_HOME). >From docs, I've read that it's possible to use a jre since "Tomcat 6.0 uses the Eclipse JDT Java compiler for compiling JSP pages", but when I try to compile with ant (the sample consists in two jsps and two servlets) I have: ------------------------------------ Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.6.0_07\lib\tools.jar Buildfile: build.xml Trying to override old definition of datatype resources prepare: compile: [javac] Compiling 2 source files to c:\exercises\myapp\build\WEB-INF\classes BUILD FAILED c:\exercises\myapp\build.xml:305 : Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre1.6.0_07" Total time: 1 second ---------------------------- Shouldn't Tomcat use jasper_jdt.jar in $CATALINA_HOME/lib? or have I to change the javac task into something else? or what? Fran --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org