Article View: borland.public.jbuilder.java.api
Article #1149Re: JBuilder 4 not saving JAR filepath
From: Richard Chrenko
Date: Mon, 27 May 2002 13:55
Date: Mon, 27 May 2002 13:55
65 lines
3404 bytes
3404 bytes
I can reproduce the following effect every time:
If JBuilder automatically closes the project upon exiting (menu item
"File:Exit"), the following is written to myProject.jpx:
<node type="Archive" name="myProject">
<property category="archiving" name="targetPath"
value="lib/myProject.jar" />
If I close the project manually using the menu item "File:Close
projects...", only the following is written to myProject.jpx file, so
it's clear that the path will be missing the next time I open the
project:
<node type="Archive" name="myProject" />
Maybe it's just a quirky installation on my end. It's really not a huge
deal, but I thought if there is a known workaround, I'd give it a shot.
Thanks for your patience.
"Joi Ellis [TeamB]" wrote:
>
> Richard Chrenko <richard@solarenergy.ch> wrote:
> > 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" />
>
> I see this in both JB4 and JB6.
>
> > *** 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....
>
> I can't reproduce this in either JB4 or JB6. Could you please provide
> specific instructions-for-dummies steps for reproducing this?
>
> I did this:
>
> Launch jbuilder
> Using current project (which happens to be source for an opentool)
> Wizards | Archive
> ... | New Folder | lib | lib/ot2.jar
> File | Exit
> Save modified file? (yes)
>
> Upon editing the jpx file, the property lib/ot.jar is present as expected.
>
> Is your JB4 noticing that the jpx file has been modified when you exit?
> Mine is. If yours isn't, that might account for the property going missing.
>
--
Richard Chrenko
Technical Details
Message-ID:
<3CF23AE0.5CA42847@solarenergy.ch>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3CEE01F6.62D1F3F1@solarenergy.ch> <3cee5006_2@dnews> <3CF1D9C1.F2A3AB2@solarenergy.ch> <3cf2336e_1@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 06:56:58 PST Message-ID: <3CF23AE0.5CA42847@solarenergy.ch> Date: Mon, 27 May 2002 15:55:44 +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> <3CF1D9C1.F2A3AB2@solarenergy.ch> <3cf2336e_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 152.96.16.51 X-Trace: dnews 1022507743 152.96.16.51 (27 May 2002 06:55:43 -0700) Lines: 65 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews