Skip to content

Commit 4565a99

Browse files
authored
Update jdom2 to 2.0.6.1 (#297)
* update JDOM2 to 2.0.6.1 * update JDOM2 to 2.0.6.1
1 parent 889d654 commit 4565a99

5 files changed

Lines changed: 32 additions & 3 deletions

File tree

build.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<pathelement location="lib/byte-buddy-1.5.0.jar" /> <!-- only needed for tests compile and run -->
4545
<pathelement location="lib/byte-buddy-agent-1.5.0.jar" /> <!-- only needed for tests compile and run -->
4646
<pathelement location="lib/objenesis-2.4.jar" /> <!-- only needed for tests compile and run -->
47-
<pathelement location="lib/jdom2-2.0.6.jar" />
47+
<pathelement location="lib/jdom2-2.0.6.1.jar" />
4848
<pathelement location="lib/jlfgr-1_0.jar" />
4949
<pathelement location="lib/jcip-annotations-1.0.jar" /> <!-- only needed for compile -->
5050
<pathelement location="lib/jsr305.jar" /> <!-- only needed for compile -->
@@ -183,6 +183,35 @@
183183
</fail>
184184
</target>
185185

186+
<target name="singletest" depends="compile, tests" description="build and run one test file (edited in build.xml)">
187+
<mkdir dir="${testreporttarget}"/>
188+
<junit haltonerror="false" haltonfailure="false" showoutput="yes" printsummary="yes" fork="yes" dir="." timeout="3600000" errorProperty="test.failed" failureProperty="test.failed">
189+
<classpath refid="project.class.path" />
190+
<sysproperty key="java.security.policy" value="lib/security.policy"/>
191+
<sysproperty key="java.library.path" path=".:lib/"/>
192+
<formatter type="xml"/>
193+
<test name="org.openlcb.implementations.LocationServiceUtilsTest"/>
194+
<!--
195+
<test name="org.openlcb.ProducerConsumerEventReportMessageTest"/>
196+
<test name="org.openlcb.can.MessageBuilderTest"/>
197+
<test name="org.openlcb.DatagramAcknowledgedMessageTest"/>
198+
-->
199+
</junit>
200+
<fail>
201+
<condition>
202+
<istrue value="${test.failed}" />
203+
</condition>
204+
</fail>
205+
</target>
206+
207+
<target name="singledemo" depends="compile, tests" description="build and run one demo file (edited in build.xml)">
208+
<java fork="yes" classname="org.openlcb.cdi.swing.CdiPanelDemo">
209+
<classpath refid="project.class.path" />
210+
<sysproperty key="java.security.policy" value="lib/security.policy"/>
211+
<sysproperty key="java.library.path" path=".:lib/"/>
212+
</java>
213+
</target>
214+
186215
<target name="run-coverage" depends="compile, tests" description="build and run test suite, generating coverage report.">
187216
<mkdir dir="${testreporttarget}"/>
188217
<jacoco:coverage destfile="jacoco.exec" excludes="org.slf4j.*">

lib/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Contents:
55

66
Specific components:
77

8-
jdom-2.0.6.jar
8+
jdom-2.0.6.1.jar
99
Used for testing only, not in main jar
1010
from <jdom.org>
1111

lib/jdom2-2.0.6.1.jar

320 KB
Binary file not shown.

lib/jdom2-2.0.6.jar

-298 KB
Binary file not shown.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<dependency>
8282
<groupId>org.jdom</groupId>
8383
<artifactId>jdom2</artifactId>
84-
<version>2.0.6</version>
84+
<version>2.0.6.1</version>
8585
</dependency>
8686
<dependency>
8787
<groupId>xerces</groupId>

0 commit comments

Comments
 (0)