diff options
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; |