Skip to content

Commit a0425fd

Browse files
committed
https://issues.apache.org/jira/browse/CODEC-120 Migrate to JUnit 4 No [codec] code changes yet. This is all set up for 2.0, Java 5 and JUnit 4. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1088098 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8c87835 commit a0425fd

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

build.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ limitations under the License.
6767
<delete dir="${dist.home}"/>
6868
<delete dir="${pub.home}"/>
6969
</target>
70-
<target name="all" depends="clean,compile" description="Clean and compile all components"/>
70+
<target name="all" depends="clean, compile" description="Clean and compile all components"/>
7171
<target name="javadoc" depends="compile" description="Create component Javadoc documentation">
7272
<mkdir dir="${dist.home}"/>
7373
<mkdir dir="${dist.home}/docs"/>
@@ -76,7 +76,6 @@ limitations under the License.
7676
<tstamp>
7777
<format property="current.year" pattern="yyyy"/>
7878
</tstamp>
79-
<!-- The Sun 1.2 docs are no-longer on-line, point to 1.3. -->
8079
<javadoc
8180
sourcepath="${source.home}"
8281
destdir="${dist.home}/docs/api"
@@ -94,7 +93,7 @@ limitations under the License.
9493
<classpath refid="compile.classpath"/>
9594
</javadoc>
9695
</target>
97-
<target name="dist" depends="compile,javadoc" description="Create binary distribution">
96+
<target name="dist" depends="compile, javadoc" description="Create binary distribution">
9897
<mkdir dir="${dist.home}"/>
9998
<copy file="${basedir}/LICENSE.txt" todir="${dist.home}"/>
10099
<copy file="${basedir}/NOTICE.txt" todir="${dist.home}"/>

default.properties

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

2323
# The pathname of the "junit.jar" JAR file
24-
junit.home=${repository}/junit/junit/3.8.2
25-
junit.jar = ${junit.home}/junit-3.8.2.jar
24+
junit.home=${repository}/junit/junit/4.8.2
25+
junit.jar = ${junit.home}/junit-4.8.2.jar
2626

2727
# The name of this component
2828
component.name = commons-codec
@@ -34,7 +34,7 @@ component.package = org.apache.commons.codec
3434
component.title = Encode/Decode Utilities
3535

3636
# The current version number of this component
37-
component.version = 1.5-SNAPSHOT
37+
component.version = 2.0-SNAPSHOT
3838

3939
# The name that is used to create the jar file
4040
final.name = ${component.name}-${component.version}
@@ -73,8 +73,8 @@ compile.includeantruntime = false
7373
compile.encoding = UTF-8
7474

7575
# Java version settings
76-
compile.source = 1.4
77-
compile.target = 1.4
76+
compile.source = 1.5
77+
compile.target = 1.5
7878

7979
# Should all tests fail if one does?
8080
test.failonerror = true

0 commit comments

Comments
 (0)