From user-return-66405-apmail-ant-user-archive=ant.apache.org@ant.apache.org Mon Nov 17 07:06:19 2008 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 68877 invoked from network); 17 Nov 2008 07:06:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2008 07:06:19 -0000 Received: (qmail 53186 invoked by uid 500); 17 Nov 2008 07:06:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 53151 invoked by uid 500); 17 Nov 2008 07:06:20 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 53140 invoked by uid 99); 17 Nov 2008 07:06:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 23:06:20 -0800 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: domain of insomniacpenguin@googlemail.com designates 74.125.44.157 as permitted sender) Received: from [74.125.44.157] (HELO yx-out-1718.google.com) (74.125.44.157) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Nov 2008 07:04:56 +0000 Received: by yx-out-1718.google.com with SMTP id 34so961894yxf.70 for ; Sun, 16 Nov 2008 23:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=XjDeBtShQVoS3eZOY8Kios12wMwdKZtBTtNLbUIWsJs=; b=Skm0IoXWhXz97b3Ni+vGSNOxTJTLCz6ktsq0S+2giaWKR4z0EAaxnaH+7Px9QrQgcH QF09Te8LjBd78kcLFtYix9e4P/F9mzoBt+jz/XAwBBXP8/yJMLew/aQ6w7zpC8dSBWZA WPG8oiURFEcOP7HjhCLhkEoXza/UiFUNLo+wE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aQ6v4bBnxoSY/ylFANobrEHZvFJ2aq2v+MidUOv5BPRa3TNw+UG2SrH1t0VeNGnBm+ v9FaBdQAc9nwqLNRDGXMx+MVqXZRA/qKV3jpbhcbVU6XatexIX5sXQZYByD/jbLDbKn5 +WKG2edCRAfERcQd276yp4Aw37/zFghUUzNuc= Received: by 10.90.93.13 with SMTP id q13mr2511309agb.32.1226905529842; Sun, 16 Nov 2008 23:05:29 -0800 (PST) Received: by 10.90.83.3 with HTTP; Sun, 16 Nov 2008 23:05:29 -0800 (PST) Message-ID: Date: Mon, 17 Nov 2008 07:05:29 +0000 From: "Andy Stevens" To: "Ant Users List" Subject: Re: trouble deploying using build.xml - In-Reply-To: <20530578.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20530578.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/11/16 ilango_g : > > I have a Java project in Eclipse and I am trying to build and deploy the > project. Unfortunately my build.xml is failing with two errors. ... > [echo] ##### Building ejb ##### > clean: > compile: > [mkdir] Created dir: C:\Users\i\workspace\RREJB\ejb\build > [mkdir] Created dir: C:\Users\i\workspace\RREJB\ejb\build\classes > [javac] Compiling 1 source file to > C:\Users\i\workspace\RREJB\ejb\build\classes > build-ejb-jar: > [mkdir] Created dir: C:\Users\i\workspace\RREJB\ejb\build\distribution > > BUILD FAILED > C:\Users\i\workspace\RREJB\build.xml:69: The following error occurred while > executing this line: > C:\Users\i\workspace\RREJB\ejb\build.xml:56: > C:\Users\i\workspace\RREJB\ejb\META-INF not found. > > Total time: 2 seconds > ------ > > Any assistance in helping me spot the error in my build.xml is appreciated. > Should I post the build.xml or should I simply upload it here? Well, the build-ejb-jar target or at least line 56 would probably be helpful... Given the context (building an EJB jar for distribution), I'm guessing it's doing something that expects to find an EJB deployment descriptor in the META-INF subdirectory of your EJB sources and isn't even finding that directory, much less the DD. What J2EE version are you developing for? Do you actually have a deployment descriptor? Does C:\Users\i\workspace\RREJB\ejb\META-INF exist, and if not, does the error message change if you create an empty directory of that name? Are you able to run the script successfully outside of Eclipse with a standalone Ant installation? Andy -- http://pseudoq.sourceforge.net/ Open source java Sudoku creator --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org