summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml8
-rw-r--r--ivy.xml2
2 files changed, 8 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 7c48866..53b1100 100644
--- a/build.xml
+++ b/build.xml
@@ -47,6 +47,9 @@
<ivy:cachepath id="compile.classpath" type="jar" conf="provided" />
<ivy:cachepath id="runtime.classpath" type="jar" conf="default" />
<ivy:cachepath id="test.classpath" type="jar" conf="test" />
+ <ivy:cachefileset setid="compile.fileset" type="jar" conf="provided" />
+ <ivy:cachefileset setid="runtime.fileset" type="jar" conf="default" />
+ <ivy:cachefileset setid="test.fileset" type="jar" conf="test" />
</target>
<target name="compile" depends="classpath">
@@ -141,10 +144,13 @@
<mkdir dir="${target.stage.dir}" />
<mkdir dir="${target.stage.dir}/lib" />
- <copy todir="${target.stage.dir}/${project.name}">
+ <copy todir="${target.stage.dir}">
<fileset dir="${root.dir}" includes="README.txt" />
<fileset dir="${target.dir}" includes="docs/**/*" />
</copy>
+ <copy todir="${target.stage.dir}/lib" flatten="true">
+ <fileset refid="runtime.fileset" />
+ </copy>
</target>
<target name="zip" depends="dist-stage">
diff --git a/ivy.xml b/ivy.xml
index f226989..178d63c 100644
--- a/ivy.xml
+++ b/ivy.xml
@@ -27,7 +27,7 @@
<dependency org="apache"
name="commons-httpclient"
rev="3.0.1"
- conf="provided->default" />
+ conf="default->default" />
<dependency org="junit"
name="junit"
rev="3.8.1"