Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "David P. Caldwell" To: Subject: RE: javac on cygwin Date: Mon, 6 Jan 2003 00:07:09 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Igor: I'm going through a big site reorganization right now (the code, not the material), but I do intend to get your scripts up on my site (probably in the FAQ). I glanced at them and didn't identify any major issues with them. I don't have much of a need for them for a few reasons: (1) I use a wrapper class for java.io.File in my own programs which recognizes Cygwin-style paths, (2) I don't develop on UNIX, so don't have much need for portable build scripts, (3) For most of my own projects, I use a stupid little build tool I wrote myself (which is similar to Ant), and for customer projects, I have used Ant itself. Thanks for the contribution, though ... getting those scripts out there will only help other people and/or make them better. -- David. -----Original Message----- From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] Sent: Saturday, January 04, 2003 4:55 PM To: David P. Caldwell; kevingpo AT yahoo DOT com Cc: cygwin AT cygwin DOT com Subject: Re: javac on cygwin On Sat, 4 Jan 2003, David P. Caldwell wrote: > Kevin: > > >Ok, I've searched for articles on getting a java > >compiler working on cygwin. I got very vague info. > > >I've got the java JDK 1.4.1 from java.sun.com. Now > >what do I do? > > Not sure what your background is, so I'm not sure how to answer. Right now, > you could be someone who doesn't know Java, someone who doesn't know Cygwin, > someone who doesn't know UNIX ... so without sitting down and writing a > script that would satisfy all three audiences (a combined Java/Cygwin/UNIX > tutorial), I can't really answer your question. > > You might want to check out > > http://www.inonit.com/cygwin/ > > Perhaps you can let us know specifically what you've tried and what happened > so that we can assess your situation more accurately. > > -- David. For what it's worth, I use the attached scripts as wrappers for java, jar, javadoc and javac (the javac one is not extensively tested as I use a Cygwin-compiled jikes for java compilation). The only caveat is that filenames passed as parameters to Java programs and custom doclet options in javadoc are not converted. You will need to change the *_EXEC values close to the beginning of the scripts to conform to your system (I have IBM JDK 1.3). Hope this helps. David, feel free to post them on the web page if needed. I'd also appreciate any comments or bug reports. Thanks. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/