Article View: borland.public.jbuilder.java.api
Article #1145Re: JBuilder 4 not saving JAR filepath
From: Richard Chrenko
Date: Mon, 27 May 2002 07:01
Date: Mon, 27 May 2002 07:01
45 lines
3020 bytes
3020 bytes
Running JBuilder4 Professional Build 4.0.147.0 under Windows 2000
Professional, I discovered that there are 2 cases.
*** CASE 1 ***
If I exit JBuilder with the project still loaded, everything is fine and
the JAR filepath is saved correctly to the .jpx file which contains the
following entries:
<node type="Archive" name="myProject" />
<property category="archiving" name="targetPath"
value="lib/myProject.jar" />
*** CASE 2 ***
If the project is specifically closed while JBuilder is running, the JAR
filepath is not saved to the .jpx file which contains only the following
entry:
<node type="Archive" name="myProject" />
Interestingly, if JBuilder remains running and I reopen the project, the
JAR filepath is still present (cached?), but after closing and reopening
the project a second time the JAR filepath is gone. Hmmm....
"Joi Ellis [TeamB]" wrote:
>
> Richard Chrenko <richard@solarenergy.ch> wrote:
> > I can add a JAR file to my JBuilder4 project using the JAR Wizard, and
> > everything works properly. However, after closing and restarting
> > JBuilder, the JAR cannot be written since the filepath has disappeared.
> > How can I force JBuilder to save the JAR filepath, for example to the
> > .jpx file?
>
> I presume you mean the jar node's Properties | File attribute is getting
> lost? If that's what you mean, please describe your machine's environment
> in more detail, because my jar nodes have never lost their File setting.
> I do write all of mine into the project directory, not someplace else,
> though. In my jpx file, their 'TargetPath' property contains only the
> file name, something like "blah.jar" but without the path.
>
> --
> Joi Ellis (TeamB) http://www.teamb.com/
> No direct email, please.
> For best results, post on news server newsgroups.borland.com!
> Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html
> Only posts which violate the rules in guide.html are subject to cancelation.
--
Richard Chrenko
Technical Details
Message-ID:
<3CF1D9C1.F2A3AB2@solarenergy.ch>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3CEE01F6.62D1F3F1@solarenergy.ch> <3cee5006_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,a5daa24cb16e1cf3 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-05-27 00:09:16 PST Message-ID: <3CF1D9C1.F2A3AB2@solarenergy.ch> Date: Mon, 27 May 2002 09:01:21 +0200 From: Richard Chrenko <richard@solarenergy.ch> X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: JBuilder 4 not saving JAR filepath References: <3CEE01F6.62D1F3F1@solarenergy.ch> <3cee5006_2@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 152.96.16.51 X-Trace: dnews 1022482881 152.96.16.51 (27 May 2002 00:01:21 -0700) Lines: 45 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews