🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #290

Re: I need something like app.path or project.path (which is not user.dir)

#290
From: John Moore (TeamB)
Date: Sun, 12 Feb 2006 23:13
23 lines
1644 bytes
I would suggest placing those values in a property file in the 
executable directory..

Then you can make the appropriate changes based on the OS..

John..

Brunet Djura wrote:

> 
> My connection code looks like this >
> 
> String app_path = "/home/brunetdj/my/source/jbuilder/info2006/";
> String db_path = app_path + "data/podaci.jds";


-- 
=============================================
TeamB are volunteer helpers.  Please DO NOT REPLY VIA EMAIL!
Post all questions and replies to this newsgroup ONLY
For papers on DataExpress, Applets, JSP, and Web Development go to:
http://www.microps.com/mps/paperFAQ.html
====================================================
Technical Details
Message-ID: <43efc033$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43ef57fa$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,312d83137a5895b1
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 12 Feb 2006 15:13:30 -0800
From: "John Moore (TeamB)" <jbm@microps.com>
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.database
Subject: Re: I need something like app.path or project.path (which is not
 user.dir)
References: <43ef57fa$1@newsgroups.borland.com>
In-Reply-To: <43ef57fa$1@newsgroups.borland.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 207.137.13.178
Message-ID: <43efc033$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1139785779 207.137.13.178 (12 Feb 2006 15:09:39 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail