diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-10-09 15:43:13 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2017-10-09 15:43:13 +0200 |
commit | 352c4f2de3503dfc7f8528b846ebaa62a7f439f1 (patch) | |
tree | c2e21aa55a262901c44f2794ee18079575d0f9c0 /id/server/moa-id-frontend-resources/pom.xml | |
parent | a59e9d088954345d67ff6b5b9b0f4d88d56531be (diff) | |
download | moa-id-spss-352c4f2de3503dfc7f8528b846ebaa62a7f439f1.tar.gz moa-id-spss-352c4f2de3503dfc7f8528b846ebaa62a7f439f1.tar.bz2 moa-id-spss-352c4f2de3503dfc7f8528b846ebaa62a7f439f1.zip |
update some more templates and version numbers
Diffstat (limited to 'id/server/moa-id-frontend-resources/pom.xml')
-rw-r--r-- | id/server/moa-id-frontend-resources/pom.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/id/server/moa-id-frontend-resources/pom.xml b/id/server/moa-id-frontend-resources/pom.xml index 7ad2c89a1..342cedac8 100644 --- a/id/server/moa-id-frontend-resources/pom.xml +++ b/id/server/moa-id-frontend-resources/pom.xml @@ -45,12 +45,12 @@ <source> <![CDATA[ println("==== Creating version.txt ===="); - File mainDir = new File("src/main/resources"); + File mainDir = new File("${basedir}/src/main/resources"); if(mainDir.exists() && !mainDir.isDirectory()) { println("Main dir does not exist, wont create version.txt!"); return; } - File confDir = new File("src/main/resources/mainGUI"); + File confDir = new File("${basedir}/src/main/resources/mainGUI"); if(confDir.exists() && !confDir.isDirectory()) { println("Conf dir is not a directory, wont create version.txt!"); return; @@ -58,7 +58,7 @@ if(!confDir.exists()) { confDir.mkdir(); } - File versionFile = new File("src/main/resources/mainGUI/version.txt"); + File versionFile = new File("${basedir}/src/main/resources/mainGUI/version.txt"); if(versionFile.exists() && versionFile.isDirectory()) { println("Version file exists and is directory! Wont overwrite"); return; |