posted 17 years ago
Hi all,
I am writing a little piece of code that shall parse a simple folder structure to replace the version number present in all of the version.txt files. The way in which I have approached this is to get this to work for a single version.txt file in the same directory as my class and this worked as expected (the new version number is provided as an argument at compile time, e.g. 02.500). The problem lies when I build this to parse a folder structure. The Folder structure is XXX_Src/Dist, where XXX varies. The problem I am getting is that the file is not read in at getFileContents method. An arraylist prior to this stage is created, containing all the varying XXX's (as above), which IS working. The file structure is there. I am using WSAD. Any ideas? Any help/advice would be appreciated. This is driving me mad! I hope I am making sense.
Thanks,
Ujgar Singh Amli
The code is as follows:
BUILD-ALL.PROPERTIES FILE