How do I get a file from the project directory in a Task?
Posted: Tue Mar 17, 2009 4:19 pm
Use the following notation:
${system.project.location}/.. for iSeries IFS and linux/unix files
${system.project.location}\.. for Windows files
So to access file called myfile.txt which is located in the same folder as the running project, specify ${system.project.location}/../myfile.txt or ${system.project.location}\..\myfile.txt.
${system.project.location}/.. for iSeries IFS and linux/unix files
${system.project.location}\.. for Windows files
So to access file called myfile.txt which is located in the same folder as the running project, specify ${system.project.location}/../myfile.txt or ${system.project.location}\..\myfile.txt.