Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
upgrade to junit 4.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ervandew committed Nov 10, 2020
1 parent f661be0 commit 454bcef
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ant/build.gant
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ junit = { pluginName ->
}

ant.path(id: 'junit'){
ant.fileset(dir: 'ant/lib', includes: 'junit-*.jar')
ant.fileset(dir: 'ant/lib/junit', includes: '*.jar')
}
ant.taskdef(name: 'junit', classpathref: 'junit',
classname: 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTask')
Expand Down
Binary file removed ant/lib/junit-4.9.jar
Binary file not shown.
Binary file added ant/lib/junit/hamcrest-core-1.3.jar
Binary file not shown.
Binary file added ant/lib/junit/junit-4.13.1.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion org.eclim.jdt/build_jdt.gant
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
feature_jdt = 'org.eclipse.jdt'

target(name: 'org.eclim.jdt.classpath'){
fileset(dir: 'ant/lib/junit', includes: 'junit-*.jar')
pluginClasspath{
include(name: 'dropins/**/plugins/org.eclipse.jdt.debug_*/*.jar')
include(name: 'plugins/org.eclipse.jdt.debug_*/*.jar')
Expand All @@ -21,7 +22,7 @@ target(name: 'org.eclim.jdt.test'){

mkdir(dir: '${eclipse.workspace}/eclim_unit_test_java/lib')
copy(tofile: '${eclipse.workspace}/eclim_unit_test_java/lib/junit.jar'){
fileset(dir: 'ant/lib', includes: 'junit-*.jar')
fileset(dir: 'ant/lib/junit', includes: 'junit-*.jar')
}
eclim('-command project_update -p eclim_unit_test_java')
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2012 - 2014 Eric Van Dewoestine
* Copyright (C) 2012 - 2020 Eric Van Dewoestine
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -255,6 +255,10 @@ private JUnitTask createJUnitTask(
classpath.createPathElement().setPath(pathName + "/lib/ant-junit.jar");
classpath.createPathElement().setPath(pathName + "/lib/ant-junit4.jar");

bundle = Platform.getBundle("org.hamcrest.core");
pathName = FileLocator.getBundleFile(bundle).getPath();
classpath.createPathElement().setPath(pathName);

bundle = Platform.getBundle("org.eclim.jdt");
pathName = FileLocator.getBundleFile(bundle).getPath();
classpath.createPathElement().setPath(pathName + "/eclim.jdt.jar");
Expand Down

0 comments on commit 454bcef

Please sign in to comment.