Skip to content

Commit c4ad87b

Browse files
committed
Add commons-text and commons-lang3 for PIT runtime
PIT minions need commons-text (transitively via classpath scanning). Both jars are excluded from the VStar build and SpotBugs classpaths. Made-with: Cursor
1 parent 668568f commit c4ad87b

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

build.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<!-- Classpaths -->
3737

3838
<path id="build.classpath">
39-
<fileset dir="${extlib}" includes="*.jar" excludes="junit*.jar,hamcrest*.jar,quicktheories*.jar,pitest*.jar,jacocoant.jar" />
39+
<fileset dir="${extlib}" includes="*.jar" excludes="junit*.jar,hamcrest*.jar,quicktheories*.jar,pitest*.jar,jacocoant.jar,commons-text*.jar,commons-lang3*.jar" />
4040
</path>
4141

4242
<path id="test.classpath">
@@ -499,7 +499,7 @@
499499
<pathelement path="${test_build}" />
500500
</path>
501501
<!-- export feature activated to write mutants to file -->
502-
<pitest features="+EXPORT" threads="1" pitClasspath="pitest.classpath" classPath="mutation.path" targetClasses="org.aavso.tools.vstar.*" targetTests="org.aavso.tools.vstar.*" excludedtestclasses="org.aavso.tools.vstar.util.period.dcdft.*,org.aavso.tools.vstar.util.stats.DescStatsTest,org.aavso.tools.vstar.util.stats.anova.*,org.aavso.tools.vstar.input.database.VSXWebService*,org.aavso.tools.vstar.auth.VSXWebServiceMemberInfoTest,org.aavso.tools.vstar.auth.AuthenticationSourceTest" reportDir="${mutation_coverage_dir}" sourceDir="${src}" outputFormats="XML,HTML" timeoutConst="10000" timeoutFactor="2" jvmArgs="-Xmx2048m,-XX:+UseSerialGC" maxMutationsPerClass="50" />
502+
<pitest features="+EXPORT" threads="1" pitClasspath="pitest.classpath" classPath="mutation.path" targetClasses="org.aavso.tools.vstar.data.*,org.aavso.tools.vstar.data.validation.*,org.aavso.tools.vstar.data.filter.*,org.aavso.tools.vstar.util.date.*,org.aavso.tools.vstar.util.stats.PhaseCalcs,org.aavso.tools.vstar.util.stats.DescStats,org.aavso.tools.vstar.util.locale.*,org.aavso.tools.vstar.input.text.*,org.aavso.tools.vstar.util.comparator.*,org.aavso.tools.vstar.util.model.*,org.aavso.tools.vstar.util.notification.*,org.aavso.tools.vstar.exception.*" targetTests="org.aavso.tools.vstar.data.*,org.aavso.tools.vstar.data.validation.*,org.aavso.tools.vstar.data.filter.*,org.aavso.tools.vstar.util.date.*,org.aavso.tools.vstar.util.stats.PhaseCalcsTest,org.aavso.tools.vstar.util.stats.DescStatsPBTTest,org.aavso.tools.vstar.util.locale.*,org.aavso.tools.vstar.input.text.*,org.aavso.tools.vstar.util.comparator.*,org.aavso.tools.vstar.util.model.*,org.aavso.tools.vstar.util.notification.*,org.aavso.tools.vstar.exception.*,org.aavso.tools.vstar.auth.Auth0JSONParserTest" reportDir="${mutation_coverage_dir}" sourceDir="${src}" outputFormats="XML,HTML" timeoutConst="10000" timeoutFactor="2" jvmArgs="-Xmx2048m,-XX:+UseSerialGC" maxMutationsPerClass="50" />
503503
</target>
504504

505505
<!-- Static analysis targets -->
@@ -522,7 +522,7 @@
522522
<class location="${dist}/vstar.jar" />
523523
<auxClasspath>
524524
<fileset dir="${extlib}" includes="*.jar"
525-
excludes="junit*.jar,hamcrest*.jar,quicktheories*.jar,pitest*.jar,jacocoant.jar,spotbugs*.jar" />
525+
excludes="junit*.jar,hamcrest*.jar,quicktheories*.jar,pitest*.jar,jacocoant.jar,spotbugs*.jar,commons-text*.jar,commons-lang3*.jar" />
526526
</auxClasspath>
527527
<sourcePath path="${src}" />
528528
</spotbugs>
@@ -536,7 +536,7 @@
536536
<class location="${dist}/vstar.jar" />
537537
<auxClasspath>
538538
<fileset dir="${extlib}" includes="*.jar"
539-
excludes="junit*.jar,hamcrest*.jar,quicktheories*.jar,pitest*.jar,jacocoant.jar,spotbugs*.jar" />
539+
excludes="junit*.jar,hamcrest*.jar,quicktheories*.jar,pitest*.jar,jacocoant.jar,spotbugs*.jar,commons-text*.jar,commons-lang3*.jar" />
540540
</auxClasspath>
541541
<sourcePath path="${src}" />
542542
</spotbugs>

extlib/ReadMe.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,5 @@ For mutation testing, additional libraries are required.
112112
- pitest-ant-1.15.3.jar
113113
- pitest-entry-1.15.3.jar
114114
- JUnit 4 required by pitest (see above)
115+
- commons-text-1.12.0.jar (Apache 2.0) - runtime dependency
116+
- commons-lang3-3.17.0.jar (Apache 2.0) - runtime dependency of commons-text

extlib/commons-lang3-3.17.0.jar

658 KB
Binary file not shown.

extlib/commons-text-1.12.0.jar

245 KB
Binary file not shown.

0 commit comments

Comments
 (0)