Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / October 2005

Tip: Looking for answers? Try searching our database.

How to create config file and read from it in Eclipse?

Thread view: 
brightoceanlight@hotmail.com - 08 Oct 2005 15:47 GMT
I wanted to add a configuration file to my Eclipse project where the
program could read configuration parameters from the file.  How do I
set this up in Eclipse?
Roedy Green - 08 Oct 2005 23:43 GMT
>I wanted to add a configuration file to my Eclipse project where the
>program could read configuration parameters from the file.  How do I
>set this up in Eclipse?

Your first task is to find such a file.  you could always copy in a
replacement when Eclipse was asleep.

Then look for import/export commands so you can do it while Eclipse is
running.

I have not done this, but I noted an import | preferences command on
the file menu.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Fahd Shariff - 13 Oct 2005 18:01 GMT
Do you want Eclipse to read a configuration file? In eclipse you can
export your preferences to a .epf file. When you import from a .epf
file any preferences defined in that file will be set to the value
stored.

Signature

Fahd Shariff



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.