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 81760 invoked from network); 5 Sep 2000 14:27:30 -0000 Received: from e31.co.us.ibm.com (HELO e31.bld.us.ibm.com) (32.97.110.129) by locus.apache.org with SMTP; 5 Sep 2000 14:27:30 -0000 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.99.132.205]) by e31.bld.us.ibm.com (8.9.3/8.9.3) with ESMTP id KAA56286 for ; Tue, 5 Sep 2000 10:21:33 -0400 From: glennm@ca.ibm.com Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [9.21.4.158]) by westrelay02.boulder.ibm.com (8.8.8m3/NCO v4.93) with ESMTP id IAA29918 for ; Tue, 5 Sep 2000 08:27:28 -0600 Importance: Normal To: ant-dev@jakarta.apache.org Subject: [PATCH] The build.bat and ant.bat files don't actually work for the install target and using jikes in Win98 X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: Date: Tue, 5 Sep 2000 10:27:26 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 5.0.3 (Intl)|21 March 2000) at 05/09/2000 10:27:28 AM MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_mixed 004F6A3685256951_=" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N --=_mixed 004F6A3685256951_= Content-Type: multipart/alternative; boundary="=_alternative 004F6A3685256951_=" --=_alternative 004F6A3685256951_= Content-Type: text/plain; charset="us-ascii" Hey all. I was trying to set up my home environment (Win98 - don't laugh, I have a wife and an extended family that would die is they had to use linux... :-[ ) to do some ant development, and I ran into a couple of snags. I was trying to compile the CVS version and simply install it to d:\ant. Didn't work. I took a peek at build.bat, and it seems that the line to add -Dant.install=BLAH didn't have the =. Add it in, and you get a Syntax error. Lovely. I spent about two hours scouring the net to see how to embed an equals sign in a dos set statement ('cause there are NO decent docs that come with Win98), and I couldn't find it. So, this patch does the same test as before, except that it explictly calls and with -Dant.install=BLAH, rather than trying to do it with variable substitution. Looking at the other files, ant.bat had the same problem with the autodection of the Jikes directory. I don't have jikes, but I set the environment variable just for kicks, and I got the same syntax error. Same fix. Glenn McAllister Software Developer. IBM Toronto Lab, (416) 448-3805 "An approximate answer to the right question is better than the right answer to the wrong question." - John W. Tukey --=_alternative 004F6A3685256951_= Content-Type: text/html; charset="us-ascii"
Hey all.  I was trying to set up my home environment (Win98 - don't laugh, I have a wife and an extended family that would die is they had to use linux... :-[ ) to do some ant development, and I ran into a couple of snags.  I was trying to compile the CVS version and simply install it to d:\ant.  Didn't work.  I took a peek at build.bat, and it seems that the line to add -Dant.install=BLAH didn't have the =.  Add it in, and you get a Syntax error.  Lovely.  

I spent about two hours scouring the net to see how to embed an equals sign in a dos set statement ('cause there are NO decent docs that come with Win98), and I couldn't find it.  So, this patch does the same test as before, except that it explictly calls and with -Dant.install=BLAH, rather than trying to do it with  variable substitution.

Looking at the other files, ant.bat had the same problem with the autodection of the Jikes directory.  I don't have jikes, but I set the environment variable just for kicks, and I got the same syntax error.  Same fix.



Glenn McAllister
Software Developer. IBM Toronto Lab, (416) 448-3805
"An approximate answer to the right question is better than the
right answer to the wrong question." - John W. Tukey
--=_alternative 004F6A3685256951_=-- --=_mixed 004F6A3685256951_= Content-Type: application/octet-stream; name="build.bat.patch" Content-Disposition: attachment; filename="build.bat.patch" Content-Transfer-Encoding: base64 SW5kZXg6IGJ1aWxkLmJhdA0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6IC9ob21lL2N2c3B1YmxpYy9q YWthcnRhLWFudC9idWlsZC5iYXQsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjExDQpkaWZmIC11 IC1yMS4xMSBidWlsZC5iYXQNCi0tLSBidWlsZC5iYXQJMjAwMC8wNy8xNSAwNjozMTo0MQkxLjEx DQorKysgYnVpbGQuYmF0CTIwMDAvMDkvMDQgMjI6NDA6MzYNCkBAIC02LDExICs2LDE2IEBADQog Y2FsbCBib290c3RyYXAuYmF0DQogDQogOnJ1bkFudA0KLXNldCBBTlRfSU5TVEFMTD0NCi1pZiBu b3QgIiVSRUFMQU5USE9NRSUiID09ICIiIHNldCBBTlRfSU5TVEFMTD0tRGFudC5pbnN0YWxsICVS RUFMQU5USE9NRSUNCi1jYWxsIC5cYmluXGFudC5iYXQgJUFOVF9JTlNUQUxMJSAlMSAlMiAlMyAl NCAlNSAlNiAlNyAlOCAlOQ0KK2lmIG5vdCAiJVJFQUxBTlRIT01FJSIgPT0gIiIgZ290byBpbnN0 YWxsX2FudA0KK2NhbGwgLlxiaW5cYW50LmJhdCAlMSAlMiAlMyAlNCAlNSAlNiAlNyAlOCAlOQ0K K2dvdG8gY2xlYW51cA0KIA0KKzppbnN0YWxsX2FudA0KK3NldCBBTlRfSU5TVEFMTD0iLURhbnQu aW5zdGFsbCVSRUFMQU5USE9NRSUiDQorY2FsbCAuXGJpblxhbnQuYmF0IC1EYW50Lmluc3RhbGw9 JVJFQUxBTlRIT01FJSAlMSAlMiAlMyAlNCAlNSAlNiAlNyAlOCAlOQ0KKw0KIHJlbSBjbGVhbiB1 cA0KKzpjbGVhbnVwDQogc2V0IEFOVF9IT01FPSVSRUFMQU5USE9NRSUNCiBzZXQgUkVBTEFOVEhP TUU9DQogc2V0IEFOVF9JTlNUQUxMPQ0KDQo= --=_mixed 004F6A3685256951_= Content-Type: application/octet-stream; name="ant.bat.patch" Content-Disposition: attachment; filename="ant.bat.patch" Content-Transfer-Encoding: base64 SW5kZXg6IGFudC5iYXQNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvaG9tZS9jdnNwdWJsaWMvamFr YXJ0YS1hbnQvc3JjL2Jpbi9hbnQuYmF0LHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS41D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