Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24941 invoked from network); 21 Dec 2005 05:26:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Dec 2005 05:26:50 -0000 Received: (qmail 92907 invoked by uid 500); 21 Dec 2005 05:26:43 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 92863 invoked by uid 500); 21 Dec 2005 05:26:43 -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 92844 invoked by uid 99); 21 Dec 2005 05:26:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2005 21:26:43 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of vishakha.sawant@gmail.com designates 64.233.162.197 as permitted sender) Received: from [64.233.162.197] (HELO zproxy.gmail.com) (64.233.162.197) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2005 21:26:42 -0800 Received: by zproxy.gmail.com with SMTP id n1so72252nzf for ; Tue, 20 Dec 2005 21:26:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Ije9Pq/2OBdntTVksarW4BvTJEmPqZSispoSmmT6vvbLJ4p3FaLxUfPSda0drm1i+sFO5MMuVHZ0wumm58ethrd0Hxv6D0YqISXM8p6SlPH7CY3y7lyUXdOyslzFABcrUB2cJpfasK1fcKIWbAUoVKymyGk/bfwMtO+pzjiYA+8= Received: by 10.64.53.16 with SMTP id b16mr214136qba; Tue, 20 Dec 2005 21:26:21 -0800 (PST) Received: by 10.65.243.13 with HTTP; Tue, 20 Dec 2005 21:26:21 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2005 10:56:21 +0530 From: vishakha sawant To: Ant Users List Subject: Re: problem with running ant in eclipse In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5213_17035030.1135142781555" References: <003c01c604a2$54a6abe0$0d02a8c0@athlon> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5213_17035030.1135142781555 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Rhino, That was not a problem of Eclipse and Ant.It was my fault. As I was using Ant first time I totally forgot that I must copy my *.hbm.xml file to corrosponding packages. Thanks for help Regards Vishakha On 20/12/05, vishakha sawant wrote: > > Hi Rhino, > I have tried Option B from your solution but i dont know it is still not > working. But when I am using eclipse build without my ant build.xml file > it is working. please help me to solve this problem. > Regards, > Vishakha > > On 19/12/05, Rhino wrote: > > > > I had the same issue yesterday so the solution is still fresh in my > > mind. > > > > I'm using Eclipse 3.1.1 with Ant 1.6.5 so I'm going to assume that the > > instructions for 3.1.1 will be the same as for 3.1 and whatever version > > of > > Ant you are using. > > > > You have a decision to make about the placement of your e.jar file: > > A. You can put it in the 'lib' directory beneath Ant -or- > > B. You can put it somewhere else that is more convenient to you. > > > > There is no strong reason to prefer A over B or vice versa. I tend to > > put my > > extra jars within Ant's 'lib' directory but that's just me. If you are > > going > > to go with Option A, use your command prompt or operating system GUI to > > put > > e.jar in the 'lib' directory beneath Ant. In my case, the path is > > E:\eclipse\plugins\org.apache.ant_1.6.5; the 'lib' directory is directl= y > > beneath that location. If you want to go with Option B, you don't need > > to do > > anything else right now. > > > > Then, within Eclipse, go to Window/Preferences. In the Preferences tree= , > > select Ant and expand the tree beneath it; click on Runtime. Now in the > > Classpath page of the Runtime settings, make sure that the Ant Home > > Entries > > contains the path that points to your Ant plugin; in my case (Eclipse > > 3.1.1), that is E:\eclipse\plugins\org.apache.ant_1.6.5. (You might hav= e > > a > > slightly older version of Ant so maybe your plugin is > > org.apache.ant_1.6.3 , > > for example.) If your Ant Home Entries don't point to the Ant plugin > > directory on your system, click the Ant Home button and use the > > directory > > browser to adjust the Ant Home value until it points to your Ant plugin= . > > > > > > To verify that you did this correctly, expand the Ant Home Entries > > branch of > > the tree and verify that the jars listed underneath the ant plugin are > > the > > same as the ones that you see in the 'lib' directory of your Ant plugin= , > > > > using your command line or operating system GUI. All of the same jars > > should > > be present. If you chose Option A, you should see e.jar in this list, > > otherwise, it won't be there. > > > > If you chose Option A, you can click on OK to close the Preferences > > window; > > then try the Ant task which uses e.jar. Remember, you may need to write > > a > > Taskdef if the task is not one of the ones in the core and optional > > tasks > > lists in the Ant Manual. > > > > If you chose Option B, you need to make your e.jar visible to Ant. You > > do > > this by clicking on the 'Add External Jars' button in the Classpath tab > > of > > the Ant Runtime preferences. Use the directory navigator to point to > > e.jar, > > wherever you put it. Click on OK to close the Preferences window; then > > try > > the Ant task which uses e.jar. Remember, you may need to write a Taskde= f > > if > > the task is not one of the ones in the core and optional tasks lists in > > the > > Ant Manual. > > > > Rhino > > > > > > ----- Original Message ----- > > From: "vishakha sawant" > > To: > > Sent: Monday, December 19, 2005 2:17 AM > > Subject: problem with running ant in eclipse > > > > > > Hi, > > I am newbie. I am using eclipse IDE 3.1 and Ant 1.6. This project is > > using > > hibernate for database persistancy. I have hibernate configuration file > > placed in classes/resources folder. I have one e.jar file which uses > > this > > resource file to loadconfiguration of hibernate But after building with > > ant > > tool in eclipse that jar file is not able to get that > > hibernate.cfg.xmlfile (hibernate configuration file). please tell me > > what should i do? please > > help me. > > Any tutorial link about eclipse and ant will also do. > > > > Regards, > > Vishakha > > > > > > > > -----------------------------------------------------------------------= --------- > > > > > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: > > 16/12/2005 > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: > > 16/12/2005 > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > ------=_Part_5213_17035030.1135142781555--