NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
nwb159 Posted via mailing list.
|
Posted: Thu Apr 19, 2012 3:36 pm Post subject: [platform-dev] Create file within NB platform application directory |
|
|
So I want to create a new file at a certain path within the binaries of
my application.
In my source tree I am using the release directory to copy some files to
the build directory.
SuiteProject/release/conf/<various files here>
What I want to do is check if a particular file exists in that subpath
of the *build* directory, and if not create it.
And as a bonus question, what is the best way to locate files within the
<build>/release/conf directory? I have been using
InstalledFileLocator.getDefault().locate("conf/somefile.txt", null,
false) but this feels a little dirty...
Many thanks
Nick |
|
| Back to top |
|
 |
|
|
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
|
|