🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8790

Re: condition compile in Java?

#8790
From: Joi Ellis [TeamB]
Date: Mon, 26 Feb 2001 22:01
15 lines
1437 bytes
glisten liu <glistenliu@lulusoft.com> wrote:
> Hi,everyone:
> I want to produce two version for a program, one is the running version and
> another is the debug version. I can use condition compile directs in c/c++.
> But it seems I can do nothing in Java?

JBuilder's compiler has the ability to exclude ONE class from compilation.
For an example of using it, see the API documention for class
com.borland.primetime.util.Debug in your JBuilder online help, under
"JBuilder OpenTools API Documentation", "Introduction...", "Class Heirarchy"

-- 
Joi Ellis (TeamB) 
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Technical Details
Message-ID: <97ejof$mo52@bornews.inprise.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!news.xtra.co.nz!newsfeed01.tsnz.net!bornews.borland.com!not-for-mail
References: <3a99c43b_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,599cae576843a743
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-02-26 14:36:03 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!news.xtra.co.nz!newsfeed01.tsnz.net!bornews.borland.com!not-for-mail
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: condition compile in Java?
Date: 26 Feb 2001 22:01:51 GMT
Organization: Another Netscape Collabra Server User
Lines: 15
Message-ID: <97ejof$mo52@bornews.inprise.com>
References: <3a99c43b_2@dnews>
NNTP-Posting-Host: linux.aravox.com
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))