Article View: borland.public.jbuilder.java.api
Article #1024Re: removing the "Main class" project property
From: Gillmer J. Derge [TeamB]
Date: Mon, 29 Apr 2002 15:27
Date: Mon, 29 Apr 2002 15:27
21 lines
2052 bytes
2052 bytes
"Richard Chrenko" <richard@solarenergy.ch> wrote in message news:3CCD48A8.369B7F96@solarenergy.ch... > Is there some way in Jbuilder4 to remove the "Application:Main Class" > entry from a project? I previously had a main method to start the > application but now only want the project to create a non-executable JAR > file. The "Main class" dialog does not permit entering "blank" as the > main class, and also does not offer a "clear" or "remove" function. It shouldn't cause any problems to have it reference a non-existent class or a class that has no main method. Obviously you won't really be able to run that class, but you won't be able to run it with a blank Main class setting either. But if you're just trying to get a nice, clean project file you can edit the project file manually. Make a backup first. The project file format is XML or Java properties file (depending on your file extension), so you can search for the properties that relate to your runtime configuration and remove them. -- Gillmer J. Derge [TeamB]
Technical Details
Message-ID:
<3ccd6661_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!cyclone.bc.net!logbridge.uoregon.edu!paloalto-snh1.gtei.net!lsanca1-snf1!news.gtei.net!enterprise!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3CCD48A8.369B7F96@solarenergy.ch>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,13c3bb6263b7929a X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-04-29 08:28:50 PST From: "Gillmer J. Derge [TeamB]" <spam@gillmerderge.com> Newsgroups: borland.public.jbuilder.java.api References: <3CCD48A8.369B7F96@solarenergy.ch> Subject: Re: removing the "Main class" project property Date: Mon, 29 Apr 2002 11:27:29 -0400 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 24.58.144.76 Message-ID: <3ccd6661_1@dnews> X-Trace: dnews 1020094049 24.58.144.76 (29 Apr 2002 08:27:29 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!cyclone.bc.net!logbridge.uoregon.edu!paloalto-snh1.gtei.net!lsanca1-snf1!news.gtei.net!enterprise!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews