• Post Reply Bookmark Topic Watch Topic
  • New Topic

Strange File Behavior  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1783
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When client logs on to app the local temp path gets stored.

The app then checks for the existance of a properties file using path. If file does not exist the app creates one and stores in path + name.

After this process I go and physically look for the file and it cannot be found.

However, the user can open an iterface I set up to access and change the property values and they get changed because the app changes behavior and if the app is closed and repoened the modified properties accessable.

Any idea where the file might be stored since I cannot find it where I told it to save?

Here is the file code:

 
Paul Clapham
Sheriff
Posts: 22827
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd have to know the value of the "folderName" variable for that.
 
Ramakrishna Gutha
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the absolute path where you store the file.

 
Steve Dyke
Ranch Hand
Posts: 1783
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ramakrishna Gutha wrote:What is the absolute path where you store the file.



This is what the System.out file produces

[1/21/10 12:38:42:082 CST] 00001f96 SystemOut O File Path: C:\DOCUME~1\sde\LOCALS~1\Temp\DPDMconfig.properties
 
Steve Dyke
Ranch Hand
Posts: 1783
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any more ideas on this issue?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!