From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,134cc4ce6b759868 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!56fb6cac!not-for-mail From: "Marc A. Criley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: JGNAT References: <20041212110015.7D1E64C4006@lovelace.ada-france.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sun, 12 Dec 2004 13:37:57 GMT NNTP-Posting-Host: 165.121.228.82 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.atl.earthlink.net 1102858677 165.121.228.82 (Sun, 12 Dec 2004 05:37:57 PST) NNTP-Posting-Date: Sun, 12 Dec 2004 05:37:57 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news1.google.com comp.lang.ada:6898 Date: 2004-12-12T13:37:57+00:00 List-Id: Andrew Carroll wrote: > Can a program be created such that JGNAT can be used as well as compile > without JGNAT? Like be able to output both Java classes and regular > "executables" given one "set" of code? Yes. But IF, and ONLY IF, you stick to pure, vanilla Ada code. That means no Java libraries for user interfaces or anything. (You could of course always create wrapper packages that are then implemented either natively or with Java libraries.) And JGNAT 1.1 is pretty hoary by now; it had bugs, and was almost production-ready, but it was dropped as an AdaCore maintained product some time ago. And if I recall correctly (it's been over 3 years since I last used it), while it worked pretty good with JDK 1.2, tasking broke with JDK 1.3, and I vaguely recall reports that it just pretty much didn't work much at all with 1.4. Unless you want to pick up the JGNAT sources and bring them up to snuff (which would be great! :-), I'd be hard-pressed to think of any practical use for it--unless you want to play around with it on old JDKs. For something along the same lines, you might want to look at A#, which is Ada for the .NET platform. It is being actively maintained, albeit as a university computer science research project: (http://www.usafa.af.mil/dfcs/bios/mcc_html/a_sharp.html Marc A. Criley McKae Technologies www.mckae.com