Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 70515 invoked from network); 24 Mar 2006 08:42:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Mar 2006 08:42:41 -0000 Received: (qmail 56576 invoked by uid 500); 24 Mar 2006 08:42:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 56511 invoked by uid 500); 24 Mar 2006 08:42:13 -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 56496 invoked by uid 99); 24 Mar 2006 08:42:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Mar 2006 00:42:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [69.94.67.109] (HELO irush.irush.net) (69.94.67.109) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Mar 2006 00:42:05 -0800 Received: from user3 ([61.17.70.173]) (authenticated bits=0) by irush.irush.net (8.12.10/8.12.10) with ESMTP id k2O9ei2d026356 for ; Fri, 24 Mar 2006 04:40:51 -0500 Message-ID: <001c01c64f1e$c6610ca0$0401a8c0@user3> From: "Naveen Kumar A.H" To: "Ant Users List" References: <619DEF058861054DA2820C6C581E9A7B08B711@CHNSHLMSG01.ad.infosys.com> Subject: Re: WAR task in ANT Date: Fri, 24 Mar 2006 14:11:36 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Use Nested elements ... Here it is with war task.. src.dir is java source... prefix is the driectory in which u want to place eg:- if u want source in web-inf/src then use prefix as prefix="web-inf/src" ,i hope it will solve ur problem. Regards Naveen Kumar A.H **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Proof Systems has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Proof Systems India Pvt Ltd reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Proof Systems e-mail system. ***PROOF SYSTEMS******** End of Disclaimer ********PROOF SYSTEMS*** ----- Original Message ----- From: "Ruth Lydia Samuel" To: "Ant Users List" Sent: Friday, March 24, 2006 10:32 AM Subject: RE: WAR task in ANT > Hi, > Actually i want to include my source files also in my war file. > The purpose is that the war file will be imported into my web project and > i want my source files to come at the proper location inside my web > project. This is how i want my web project to look like when i import my > war file. > > WebProject -> Javacontent -> sourcefiles > WebProject -> Webcontent -> web-inf/lib > -> webinf/classes > -> web-inf > > But now if i import my war file into my webproject, the source files > actually move to webcontent/ directory rather than javacontent/ directory. > > Thanks, > Lydia. > > -----Original Message----- > From: Naveen Kumar A.H [mailto:naveen.kumar@proofsys.com] > Sent: Thursday, March 23, 2006 7:25 PM > To: Ant Users List > Subject: Re: WAR task in ANT > > > Hi > ur problem is not clear if u want to place .class files into > web-inf/classes > folder use Nested elements ... > > regards > Naveen > ----- Original Message ----- > From: "Ruth Lydia Samuel" > To: > Sent: Thursday, March 23, 2006 7:13 PM > Subject: WAR task in ANT > > >> >> Hi, >> I'm having issues using the WAR task in ANT when i try to bundle the >> source(.java) files also. It bundles the files. But if i try to export it >> into my webproject, all the source files get extracted to the webcontent >> part of the webproject rather than the javacontent. So the required class >> files are not generated under web-inf/classes folder when i rebuild my >> project. >> >> Can anyone provide pointers to circumvent this issue. >> >> Thanks, >> Lydia. >> >> **************** CAUTION - Disclaimer ***************** >> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended >> solely for the use of the addressee(s). If you are not the intended >> recipient, please notify the sender by e-mail and delete the original >> message. Further, you are not to copy, disclose, or distribute this >> e-mail >> or its contents to any other person and any such actions are unlawful. >> This e-mail may contain viruses. Infosys has taken every reasonable >> precaution to minimize this risk, but is not liable for any damage you >> may >> sustain as a result of any virus in this e-mail. You should carry out >> your >> own virus checks before opening the e-mail or attachment. Infosys >> reserves >> the right to monitor and review the content of all messages sent to or >> from this e-mail address. Messages sent to or from this e-mail address >> may >> be stored on the Infosys e-mail system. >> ***INFOSYS******** End of Disclaimer ********INFOSYS*** >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org