summaryrefslogtreecommitdiffstats
path: root/java/project/build.xml
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-02-27 21:49:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-02-27 21:49:39 +0100
commit94f5c22121b682835e9232bc87d708278ccde772 (patch)
treea596e744390ddade50f1df37953f65b2312f0930 /java/project/build.xml
parent260131c35f7f1b68b66e5b29916ec05a38c4ca56 (diff)
downloadshare-94f5c22121b682835e9232bc87d708278ccde772.zip
share-94f5c22121b682835e9232bc87d708278ccde772.tar.gz
java : project : follow maven's std directory layout
Diffstat (limited to 'java/project/build.xml')
-rw-r--r--java/project/build.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/project/build.xml b/java/project/build.xml
index 0134266..d2788ee 100644
--- a/java/project/build.xml
+++ b/java/project/build.xml
@@ -5,7 +5,7 @@
default="test">
<target name="configure">
- <property file="${basedir}/src/resources/Application.properties"/>
+ <property file="${basedir}/src/main/resources/Application.properties"/>
<property name="src.dir" value="${basedir}/src" />
<property name="build.dir" value="${basedir}/build"/>
<property name="dist.dir" value="${basedir}/dist"/>
@@ -13,7 +13,7 @@
<property name="main.dir" value="${src.dir}/main" />
<property name="test.dir" value="${src.dir}/test" />
- <property name="resources.dir" value="${src.dir}/resources"/>
+ <property name="resources.dir" value="${main.dir}/resources"/>
<property name="classes.dir" value="${build.dir}/classes"/>
<property name="class.main" value="ch.asynk.Main"/>
@@ -120,7 +120,7 @@
<attribute name="Main-Class" value="${class.main}"/>
<attribute name="Class-Path" value="${cp.manifest}"/>
</manifest>
- <fileset dir="${src.dir}/resources"/>
+ <fileset dir="${resources.dir}"/>
</jar>
</target>
@@ -130,7 +130,7 @@
<attribute name="Main-Class" value="${class.main}"/>
<attribute name="Class-Path" value="."/>
</manifest>
- <fileset dir="${src.dir}/resources"/>
+ <fileset dir="${resources.dir}"/>
<!-- FIXES Invalid signature file digest for Manifest main attributes -->
<!-- TODO use filter.sign.out -->
<zipfileset src="${jar.name}-deps.jar" excludes="META-INF/*.SF" />