Article View: borland.public.jbuilder.java.swing
Article #960Re: How to determine the project path?
From: Kevin Dean
Date: Tue, 01 Jun 2004 00:30
Date: Tue, 01 Jun 2004 00:30
81 lines
2953 bytes
2953 bytes
Perhaps it would be better if you told us why you want to do that in the first place. The moment you package your application and distribute it, the project path likely will no longer exist. -- Check out our latest white papers at http://www.datadevelopment.com/papers/index.html BladeNET Scores With Borland Enterprise Tools Team Development with JBuilder and Borland Enterprise Server Dolphin Data Development Ltd. http://www.datadevelopment.com/ "Houman Khorasani" <khorasaniNOSPAM@web.de> wrote in message news:40bbb844$1@newsgroups.borland.com... > Actually I am looking for ($ProjectDir). Something what tells me the > directory of the project. How can I store this value into a String and use > it in my java class? > > Thank you > > Houman > > > > > Well, I'm not sure of the context here, but there are macros available > > > when you configure command-line tools. > > > > > > Tools | Configure Tools > > > Select "Add" or "Edit" > > > Select "Insert Macro" > > > > > > That will show you the list of available macros. $ProjectPath gives the > > > value you want. > > > > > > > > > > > > > > > Well, I'm not sure of the context here, but there are macros available > > when you configure command-line tools. > > > > Tools | Configure Tools > > Select "Add" or "Edit" > > Select "Insert Macro" > > > > That will show you the list of available macros. $ProjectPath gives the > > value you want. > > > > -- > > > > Regards, > > > > Lori Olson (TeamB) > > > > ------------ > > > > Save yourself, and everyone else, some time and search the > > newsgroups and the FAQ-O-Matic before posting your next > > question. > > > > Google Advanced Newsgroup Search > > http://www.google.ca/advanced_group_search > > Other Newsgroup Searches: > > http://www.borland.com/newsgroups/ngsearch.html > > Joi Ellis's FAQ-O-Matic: > > http://www.visi.com/~gyles19/fom-serve/cache/1.html > > > >
Technical Details
Message-ID:
<40bbd007$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40b959b3$1@newsgroups.borland.com> <40bb4482@newsgroups.borland.com> <40bbb844$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,36c54cf6bd7cdb3e X-Google-Attributes: gid111d45,public From: "Kevin Dean" <NkOdSePaAnM@datadevelopment.com> Newsgroups: borland.public.jbuilder.java.swing References: <40b959b3$1@newsgroups.borland.com> <40bb4482@newsgroups.borland.com> <40bbb844$1@newsgroups.borland.com> Subject: Re: How to determine the project path? Date: Mon, 31 May 2004 20:30:53 -0400 Lines: 83 Organization: Dolphin Data Development Ltd. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 24.57.150.243 Message-ID: <40bbd007$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1086050311 24.57.150.243 (31 May 2004 17:38:31 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail