Skip to content

Commit 8e3c29f

Browse files
committed
Fix Ant build.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1465269 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9ff186b commit 8e3c29f

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

build.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ limitations under the License.
3434
<pathelement location="${resources.home}"/>
3535
<pathelement location="${build.home}/tests"/>
3636
<pathelement location="${junit.jar}"/>
37+
<pathelement location="${hamcrest.jar}"/>
3738
</path>
3839
<!-- ========== Executable Targets ======================================== -->
3940
<target name="init" description="Initialize and evaluate conditionals">

default.properties

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,15 @@
2121
repository=${user.home}/.m2/repository
2222

2323
# The pathname of the "junit.jar" JAR file
24-
junit.home=${repository}/junit/junit/4.11
25-
junit.jar = ${junit.home}/junit-4.11.jar
24+
junit.module=junit
25+
junit.version=4.11
26+
junit.home=${repository}/junit/${junit.module}/${junit.version}
27+
junit.jar = ${junit.home}/${junit.module}-${junit.version}.jar
28+
29+
hamcrest.module=hamcrest-core
30+
hamcrest.version=1.3
31+
hamcrest.home=${repository}/org/hamcrest/${hamcrest.module}/${hamcrest.version}
32+
hamcrest.jar=${hamcrest.home}/${hamcrest.module}-${hamcrest.version}.jar
2633

2734
# The name of this component
2835
component.name = commons-codec

0 commit comments

Comments
 (0)