🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Printwriter outside JBuilder

#530
From: Magnus
Date: Tue, 21 Jun 2005 14:44
27 lines
2128 bytes
I have just installed JBuilder 2005 Professional and now I can't use 
"./logdir/filename" inside JBuilder either ???

Magnus wrote:

> Right now I create a bat-file in the same dir as my jar-file.
> --- bat file ---
> javaw -classpath 
> ".\classes\jdsserver.jar;.\classes\comm.jar;.\MYAPP.jar" myapp.MYAPP
> --- end ---
> 
> Lori M Olson [TeamB] wrote:
> 
>> Magnus wrote:
>>
>>>>> Now, copy my jar, db files, etc. to a new directory (test-dir) and 
>>>>> my app sometimes just hang ... I noticed it when trying to read the 
>>>>> serial port since I log what I read. I could not figure it out 
>>>>> until I tested to print a log before and after my init of the 
>>>>> reading process. Nothing is printed.
>>>>>
>>
>> You did not mention exactly how your are invoking your application 
>> when you run it outside JBuilder.  How you do this will affect the 
>> "current working directory", which is how relative path references are 
>> resolved.
>>
Technical Details
Message-ID: <42b827d6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42b0a92b@newsgroups.borland.com> <42b0ad74$1@newsgroups.borland.com> <42b0d515@newsgroups.borland.com> <42b1a156$1@newsgroups.borland.com> <42b1e1cf$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,ad9f2eda78c91665
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 21 Jun 2005 10:44:45 -0400
From: Magnus <magnus_bjorkman@iwon.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en, sv
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Printwriter outside JBuilder
References: <42b0a92b@newsgroups.borland.com> <42b0ad74$1@newsgroups.borland.com> <42b0d515@newsgroups.borland.com> <42b1a156$1@newsgroups.borland.com> <42b1e1cf$1@newsgroups.borland.com>
In-Reply-To: <42b1e1cf$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 71.0.99.107
Message-ID: <42b827d6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1119365078 71.0.99.107 (21 Jun 2005 07:44:38 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail