Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 31372 invoked from network); 30 Nov 2000 12:25:27 -0000 Received: from dkf-gw.dkf.de (root@212.172.202.10) by locus.apache.org with SMTP; 30 Nov 2000 12:25:27 -0000 Received: from linux (dyn116.dkf.de [212.172.202.48]) by dkf-gw.dkf.de (8.9.3/8.9.3) with SMTP id OAA07172 for ; Thu, 30 Nov 2000 14:02:03 +0100 From: "G.Nagarajan" To: Subject: using ant in windows nt Date: Thu, 30 Nov 2000 13:27:21 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <975580834.50072.ezmlm@jakarta.apache.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, I am using ant for building and compiling my web application on windows nt. I modified the sample build.xml which comes with tomcat. The problem is the application is deployed under a directory called "null" in the directory where I run build.bat. I tried running ant separately using the ant command and -Dtomcat.home=%tomcat_home%, but still it is creating the null directory. any help will be appreciated. Thanks Nagaraj. The build.xml is as follows The build.bat file ------------------ @echo off rem Build Script for "ib" rem Identify the custom class path if "%CLASSPATH%" == "" goto noclasspath set _CLASSPATH=%CLASSPATH% set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%/classes goto restclasspath :noclasspath set _CLASSPATH= set CLASSPATH=%TOMCAT_HOME%/classes :restclasspath set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%/lib/jasper.jar set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%/lib/servlet.jar set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%/lib/webserver.jar ant -Dtomcat.home=%TOMCAT_HOME% %1 %2 %3 %4 %5 %6 %7 %8 %9 rem clean up classpath set CLASSPATH=%_CLASSPATH% set _CLASSPATH=