This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: javac on cygwin


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@cs.nyu.edu]
Sent: Saturday, January 04, 2003 4:55 PM
To: David P. Caldwell; kevingpo@yahoo.com
Cc: cygwin@cygwin.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]