Article View: borland.public.jbuilder.java.api
Article #1151Re: JBuilder 4 not saving JAR filepath
From: Joi Ellis [TeamB]
Date: Mon, 27 May 2002 17:08
Date: Mon, 27 May 2002 17:08
75 lines
4158 bytes
4158 bytes
Richard Chrenko <richard@solarenergy.ch> wrote: > 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. Well, as I said, I can't reproduce it on my side, but I may not be following the exact same sequence of steps you are. That's why I asked for the instructions-for-dummies from you. > "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. >> -- 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.
Technical Details
Message-ID:
<3cf267f7_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!londen1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mailReferences:
<3CEE01F6.62D1F3F1@solarenergy.ch> <3cee5006_2@dnews> <3CF1D9C1.F2A3AB2@solarenergy.ch> <3cf2336e_1@dnews> <3CF23AE0.5CA42847@solarenergy.ch>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 10:09:57 PST
Sender: Joi Ellis <joi@h-66-134-231-90.CHCGILGM.covad.net>
Message-ID: <3cf267f7_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: JBuilder 4 not saving JAR filepath
Newsgroups: borland.public.jbuilder.java.api
References: <3CEE01F6.62D1F3F1@solarenergy.ch> <3cee5006_2@dnews> <3CF1D9C1.F2A3AB2@solarenergy.ch> <3cf2336e_1@dnews> <3CF23AE0.5CA42847@solarenergy.ch>
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.2.19-6.2.7 (i686))
NNTP-Posting-Host: 66.134.231.90
Date: 27 May 2002 10:08:07 -0700
X-Trace: dnews 1022519287 66.134.231.90 (27 May 2002 10:08:07 -0700)
Lines: 75
X-Authenticated-User: jellis
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!londen1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail