Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 74104 invoked from network); 23 Jul 2007 19:08:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2007 19:08:36 -0000 Received: (qmail 56445 invoked by uid 500); 23 Jul 2007 19:08:33 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 56405 invoked by uid 500); 23 Jul 2007 19:08:33 -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 56393 invoked by uid 99); 23 Jul 2007 19:08:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 12:08:33 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: unknown (herse.apache.org: error in processing during lookup of tsakai@gallo.ucsf.edu) Received: from [63.193.204.12] (HELO mail12.egcrc.net) (63.193.204.12) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 12:08:31 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7CD5C.CF7A6044" Subject: RE: repost: trooubled with ant from source install Date: Mon, 23 Jul 2007 12:08:10 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: repost: trooubled with ant from source install Thread-Index: AcfNWeSeHNXbrGl+TwmWR2ZYpxafuQAATH9A References: <46A4DEFA.8000207@mdl.com> <46A4F773.4000804@mdl.com> From: "Tena Sakai" To: "Ant Users List" , "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7CD5C.CF7A6044 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Alexey, > What about "bootstrap.sh -f fetch.xml"? I just did that and got: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [tsakai@vixen apache-ant-1.7.0]$ bootstrap.sh -f fetch.xml ... Bootstrapping Ant Distribution ... Compiling Ant Classes Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. ... Copying Required Files ... Building Ant Distribution Buildfile: fetch.xml BUILD FAILED Target "bootstrap" does not exist in the project "fetch".=20 Total time: 0 seconds ... Failed Building Ant Distribution ! [tsakai@vixen apache-ant-1.7.0]$ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=20 I grep'ed bootstrap in fetch.xml and it doesn't have any. I see lots of target tags with different names. I also a warning: So my question now is how can I pass the target names to the invoked fetch.xml? And do you know which names the warning above is referring to? There are a bunch of them after the warning. Thank you. Tena Sakai tsakai@gallo.ucsf.edu -----Original Message----- From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com] Sent: Mon 7/23/2007 11:46 AM To: Ant Users List Subject: Re: repost: trooubled with ant from source install =20 What about "bootstrap.sh -f fetch.xml"? - Alexey. Tena Sakai wrote: > Hi Peter, > > I don't have ANT_SRC set. I supposed it is in > $ANT_HOME/src, but I issued a command: > > find /usr/local/ant/apache-ant-1.7.0 -name ant > > and it came back with: > > /usr/local/ant/apache-ant-1.7.0/src/etc/poms/ant > /usr/local/ant/apache-ant-1.7.0/src/etc/testcases/taskdefs/ant > = /usr/local/ant/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant > /usr/local/ant/apache-ant-1.7.0/src/script/ant > /usr/local/ant/apache-ant-1.7.0/src/main/org/apache/tools/ant > /usr/local/ant/apache-ant-1.7.0/src/resources/org/apache/tools/ant > /usr/local/ant/apache-ant-1.7.0/build/classes/org/apache/tools/ant > > Do you have any idea which one I should use? > > Thank you. > > Tena Sakai > tsakai@gallo.ucsf.edu > > > > -----Original Message----- > From: Peter Reilly [mailto:peter.kitt.reilly@gmail.com] > Sent: Mon 7/23/2007 11:10 AM > To: Ant Users List > Subject: Re: repost: trooubled with ant from source install > =20 > On 7/23/07, Tena Sakai wrote: > =20 >> Hi Peter, >> >> I like what you mention. I located and looked at the >> file fetch.xml. I would like to pursue this avenue. >> But I am clueless as to how I can "invoke" this xml >> file. Would you please tell me how I can do so? >> Thank you. >> =20 > > use ant. > cd $ANT_SRC > ant -f fetch.xml -Ddest=3Doptional > > Peter > > =20 >> Tena Sakai >> tsakai@gallo.ucsf.edu >> >> >> -----Original Message----- >> From: Peter Reilly [mailto:peter.kitt.reilly@gmail.com] >> Sent: Mon 7/23/2007 10:14 AM >> To: Ant Users List >> Subject: Re: repost: trooubled with ant from source install >> >> On 7/23/07, Alexey Solofnenko wrote: >> =20 >>> I do not think you need to download any jars, if you are building >>> =20 > ANT > =20 >>> for yourself - you have to have all necessary jars already to run >>> =20 > ANT. > =20 >> This is not quite correct. >> The optional tasks/types need jars to be downloaded and >> placed in $ANT_SRC/lib/optional. >> >> I normally compile a subset of ant for testing. >> >> To compile all of ant, one needs non publiclly available >> jars (weblogic, starteam and others). >> >> The file fetch.xml gets most of the >> publically available jars and places then >> in the currect place (depending on how fetch.xml is called >> - check the fetch.xml file for a read me). >> >> Peter >> >> >> =20 >>> I have an automated script to build ANT. First, the script empties >>> CLASSPATH, sets JAVA_HOME and PATH. Then copies all necessary jars >>> =20 > into > =20 >>> $ANT_DIR/lib/optional folder, deletes $ANT_DIR/bootstrap, and runs >>> "call build.bat distribution". >>> >>> There can be additional steps to make ANT to forget about any >>> =20 > previously > =20 >>> installed ANT on your system. >>> >>> - Alexey. >>> >>> Tena Sakai wrote: >>> =20 >>>> Hi, >>>> >>>> Sorry to repost, but I haven't got much response... >>>> >>>> I am having a problem with installing ant 1.7.0 from source >>>> on redhat enterprise server (amd-64). >>>> >>>> What happens is that when I issue a command: >>>> >>>> sh build.sh -Ddist.dir=3D/usr/local/ant dist >>>> >>>> it complains that a bunch of jar files were not built because no >>>> files were included. For example: >>>> >>>> /usr/local/ant/apache-ant-1.7.0/build/lib/ant-apache-regexp.jar >>>> >>>> According to the instruction on website: >>>> >>>> Make sure you have downloaded any auxiliary jars required to >>>> build tasks you are interested in. These should be added to >>>> the lib/optional directory of the source tree. >>>> >>>> I went and got jakarta-regexp-1.5.tar.gz, gunzip'ed, untar'ed >>>> and found a file jakarta-regexp.jar (as well as >>>> =20 > jakarta-regexp-1.5.jar, > =20 >>>> which turns out to be the same as the other), and copied it into >>>> ...src/lib/optional directory (which didn't exist; so I created >>>> it). I tried with 'sh build.sh bla bla' once again, but the >>>> result is the same as before, it seems. I have tried to put >>>> the jar file into a different lib/optional directories, but the >>>> result seems the same through out. I am at wit's end as to >>>> how to interpret this instruction (one more time): >>>> >>>> Make sure you have downloaded any auxiliary jars required to >>>> build tasks you are interested in. These should be added to >>>> the lib/optional directory of the source tree. >>>> >>>> I am starting to feel it is a mistake to follow the instruction >>>> above to letters. Maybe, instead, I need to provide java source >>>> files and the build process will make jar files out of the source >>>> code and put them into a destination? Is there somebody out there >>>> (I am sure the answer is yes) who have done this and willing to >>>> give me a hand, please? I would greatly appreciate it. >>>> >>>> Thank you in advance. >>>> >>>> >>>> Tena Sakai >>>> tsakai@gallo.ucsf.edu >>>> >>>> >>>> =20 >>> -- >>> >>> =20 > = ------------------------------------------------------------------------ > =20 >>> Alexey N. Solofnenko >>> Pleasant Hill, CA (GMT-8 usually) >>> >>> >>> =20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> >> >> >> =20 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > > =20 --=20 ------------------------------------------------------------------------ Alexey N. Solofnenko Pleasant Hill, CA (GMT-8 usually) ------_=_NextPart_001_01C7CD5C.CF7A6044--