NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

location of config file

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
firmview



Joined: 01 Sep 2012
Posts: 1

PostPosted: Sat Sep 01, 2012 10:42 am    Post subject: location of config file Reply with quote

Hi,

This i have posted in stackoverflow.com, http://stackoverflow.com/questions/12217880/location-of-config-file I still did not get any solution to my problem.

I want to place a text file which has some configuration details in dist folder. When i run the jar, the application should read from the configuration file and proceed further. I looked into resource tutorials and tried classloader, it seems the files which are placed outside the src folder are not getting detected, if i place inside the src along with the .java files, when i build only jar file is available in dist folder. Is there any way i can add text files like we do for library(to add jar) files?

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo