Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
fc61d73
#5004 for NextGen
rogin May 8, 2023
99c31cb
Updated LICENSE to include Innovar Copyright
Mar 3, 2025
2c33b11
BridgeLink first commit
Innovarzweng Mar 4, 2025
24df39a
updated README file
aliciacervera Mar 5, 2025
0dbadcc
Updated Readme
aliciacervera Mar 5, 2025
04fb34a
BridgeLink manager UI, api Swagger UI
Innovarzweng Mar 5, 2025
feda164
Change Mirth 4.5.2 to BridgeLink 1.0.0
Innovarzweng Mar 6, 2025
40c25f9
Replace keystore.jks CN=BridgeLink
Innovarzweng Mar 6, 2025
6703aa7
Remove "Provide Usage statistics“ in SettingsPanelServer
Innovarzweng Mar 6, 2025
9dcbad7
Replace tool tips, url in Frame.java AboutMirth.java to BridgeLink
Innovarzweng Mar 7, 2025
5730a84
Remove the Nextgen support in the ErrorDialog.java
Innovarzweng Mar 7, 2025
b134044
Replace the Mirth Connect substring to BridgeLink in the java files
Innovarzweng Mar 10, 2025
c7d3c66
update the Logo_WordMark_white to transparent png. update the url in …
Innovarzweng Mar 10, 2025
47ca282
updated README
Mar 11, 2025
a07bcbc
README.md updated
Mar 11, 2025
ff7260b
Change BridgeLink version 1.0.0 to 4.5.3
Innovarzweng Mar 11, 2025
e116bf3
add the LICENSE header
Innovarzweng Mar 12, 2025
865960b
Merge remote-tracking branch 'origin/release/bl_1.0' into bl_4.5.3
Innovarzweng Mar 12, 2025
fdaeffa
replace the launcher download in web page, add the LICENSE header
Innovarzweng Mar 13, 2025
21b2557
update the icon_128x128.png in the WebContent/images
Innovarzweng Mar 13, 2025
a0acaf3
replace the Mirth Connect string to Bridgelink
Innovarzweng Mar 17, 2025
8005aff
replace the Administrator launcher download point in the web page
Innovarzweng Mar 18, 2025
5b2181c
Update README.md to include Slack url
joshmc82 Mar 18, 2025
0ab7c7e
Update README.md to include downloads link
joshmc82 Mar 18, 2025
d50dcff
Create build_bridgelink.yml
joshmc82 Apr 14, 2025
c69d1b2
Merge pull request #15 from Innovar-Healthcare/automate_builds
joshmc82 Apr 14, 2025
ea6b86a
Update README.md
lbittle Apr 24, 2025
87660ea
Update SECURITY.md
joshmc82 Apr 30, 2025
82e9d50
Merge pull request #24 from Innovar-Healthcare/update-security.md
Innovarzweng Apr 30, 2025
8aa0345
update the dependency jars
Innovarzweng Jun 3, 2025
4e91a12
update unit tests/jacoco to java 17
Innovarzweng Jun 5, 2025
d4f037b
add the BridgeLink 4.5.4
Innovarzweng Jun 16, 2025
b1ac9a8
fix the path
Innovarzweng Jun 24, 2025
24ac424
Implement Dynamic Lookup Gateway feature
thaitraninnovar Jun 25, 2025
f297f9c
[bugfix]update unit tests/jacoco to java 17
Innovarzweng Jun 26, 2025
a96ac99
Merge pull request #33 from rogin/issue-5004
Innovarzweng Jul 1, 2025
9c5fa1d
change the report/help URL
Innovarzweng Jul 1, 2025
ef665d8
add two vars to the alert template variable list
Innovarzweng Jul 3, 2025
bca952d
Query Parameters on an HTTP Sender Connector are not sent in order
Innovarzweng Jul 3, 2025
4ffe817
Fix bug and enhance
thaitraninnovar Jul 3, 2025
1bc5baa
Customer Facing Documents for BridgeLink
mcurrie180 Jul 8, 2025
4341e4b
Merge pull request #36 from Innovar-Healthcare/feature/update-depende…
Innovarzweng Jul 15, 2025
5645d33
Merge branch 'bridgelink_development' into feature/dynamic-lookup-gat…
thaitraninnovar Jul 16, 2025
a9f4ba8
Merge pull request #37 from Innovar-Healthcare/feature/dynamic-lookup…
dsvanstedt Jul 16, 2025
8d7685e
Delete docs/internal directory
mcurrie180 Jul 25, 2025
c0635b5
Delete docs/technical-advisory-board directory
mcurrie180 Jul 25, 2025
68fe735
Add files via upload
mcurrie180 Jul 25, 2025
07ec02c
Add files via upload
mcurrie180 Jul 25, 2025
2606e67
Update index.md
mcurrie180 Jul 25, 2025
cb87001
Update index.md
mcurrie180 Jul 25, 2025
77b1b2f
Update HL7-spec.md
mcurrie180 Jul 28, 2025
101e2ca
Delete docs/public/docs directory
mcurrie180 Jul 28, 2025
e41e544
Initial commit
thaitraninnovar Sep 1, 2025
6f94188
Message Trends Scheduler
thaitraninnovar Sep 3, 2025
18dcc51
Implement Message Trends Dashboard
thaitraninnovar Sep 5, 2025
5c06bed
Update MinuteFlushRunner
thaitraninnovar Sep 9, 2025
a73362a
Update Rollup Runner
thaitraninnovar Sep 9, 2025
7c8143f
Update MessageTrendsConfig
thaitraninnovar Sep 9, 2025
c249bad
Update RollupRunner
thaitraninnovar Sep 10, 2025
9062dc6
Implement get message trend in Donkey Core
thaitraninnovar Sep 10, 2025
9fccabe
Clean up
thaitraninnovar Sep 10, 2025
6448277
Clean up
thaitraninnovar Sep 10, 2025
e6cbac3
Clean up
thaitraninnovar Sep 10, 2025
960040c
Correct time in chart
thaitraninnovar Sep 11, 2025
bd482e5
Add UTC note to description in rest API
thaitraninnovar Sep 11, 2025
078cbc9
Update QUEUED trend
thaitraninnovar Sep 15, 2025
af91043
Update database schema
thaitraninnovar Sep 16, 2025
6d7fa39
Update time of chart
thaitraninnovar Sep 16, 2025
72457c1
Update oracle migrate script
thaitraninnovar Sep 16, 2025
e72c3fa
Add chart hover
thaitraninnovar Sep 17, 2025
89cb14e
Add ImportLookupGroup
Innovarzweng Aug 27, 2025
34adaa7
Add stacked bars chart to UI
thaitraninnovar Sep 17, 2025
37d6983
DLG Migrator 1.0.1 for SQL server
Innovarzweng Sep 17, 2025
b967567
Update stacked chart
thaitraninnovar Sep 18, 2025
e60a2ce
Add time range to chart control
thaitraninnovar Sep 18, 2025
d186991
Update SummaryView
thaitraninnovar Sep 18, 2025
01ca662
update start/endTime in REST API functions to second.
thaitraninnovar Sep 18, 2025
741b496
Add Time Range title in Summary View
thaitraninnovar Sep 18, 2025
a1c66d2
Implement Jump to specific time action in chart
thaitraninnovar Sep 19, 2025
205bfc3
Add margin 0.1 for StackedTrendsChart
thaitraninnovar Sep 19, 2025
4b4e926
Add template header
thaitraninnovar Sep 19, 2025
03ab406
Incorrect data types for MS SQL Server
thaitraninnovar Sep 23, 2025
ec5d35a
Update char hover
thaitraninnovar Sep 23, 2025
9fcd0f3
Add additional operations in Lookup Helper
thaitraninnovar Sep 24, 2025
a104ce2
Merge pull request #56 from Innovar-Healthcare/feature/message-trends
thaitraninnovar Sep 25, 2025
de4c05f
logo update
Innovarzweng Sep 17, 2025
39d8e1d
add v4.6.0
Innovarzweng Sep 16, 2025
ff1c825
Enable support for forwarded protocol information in MirthWebServer
Innovarzweng Sep 18, 2025
58923b8
destinationSet.removeAllExcept fix
Innovarzweng Sep 18, 2025
3729742
remove mirthcorp url
Innovarzweng Sep 18, 2025
a73a874
bugfix:convert mirth_type/mirth_source tp message_type/message_source
Innovarzweng Sep 23, 2025
5903202
add the unit Tests in server controller/util
Innovarzweng Sep 25, 2025
5fb1e35
bugfix:javadocs.userapi
Innovarzweng Sep 25, 2025
007d73c
Merge pull request #57 from Innovar-Healthcare/feature/forward-protoc…
Innovarzweng Sep 25, 2025
59f9777
Add support for TTL Hours an Minutes in LookupHelper
thaitraninnovar Sep 25, 2025
3420308
Add disable caching group
thaitraninnovar Sep 26, 2025
6191e28
Implement Message Trends Controller. Move logic from plugin to contro…
thaitraninnovar Sep 27, 2025
d313494
Merge pull request #58 from Innovar-Healthcare/feature/message-trends
thaitraninnovar Sep 27, 2025
5cf35a5
Add support for putIfAbsent
thaitraninnovar Sep 28, 2025
4293487
Value field resizes automatically with the window
thaitraninnovar Sep 28, 2025
6b3a3bb
Display total number of items in a group
thaitraninnovar Sep 29, 2025
1c86288
Minimum size for action column
thaitraninnovar Sep 29, 2025
c0bf5f9
Bugfix: Fix crash while calling LookupHelper.getMatching() at SQLServer
Seimax Sep 30, 2025
c928d80
Remove bulk items from group on UI
thaitraninnovar Oct 6, 2025
cb9d59d
Fix bug: Missing data when importing csv
thaitraninnovar Oct 7, 2025
103409e
Revert DatabaseUtil to previous working version
thaitraninnovar Oct 8, 2025
ccfd8a0
An atomic operation that updates a value only if it currently matches…
thaitraninnovar Oct 9, 2025
d3acc06
Export CSV files in UTF-8
thaitraninnovar Oct 9, 2025
c0346ea
Audit History Pruning
thaitraninnovar Oct 10, 2025
aa87fad
Audit History Pruning
thaitraninnovar Oct 10, 2025
7cc8ba5
Audit History Pruning
thaitraninnovar Oct 11, 2025
801cc34
Add an atomic operation that increments (or decrements) a numeric val…
thaitraninnovar Oct 11, 2025
62d022f
Add license header
thaitraninnovar Oct 11, 2025
681cbd6
Merge pull request #64 from Innovar-Healthcare/feature/dynamic-lookup…
thaitraninnovar Oct 11, 2025
38fc6df
Merge pull request #60 from Seimax/bug-sqlserver-getmatching
thaitraninnovar Oct 11, 2025
388cd0b
Update MirthWebServer.java
joshmc82 Oct 15, 2025
ef7aa7e
add apache-jsp-9.4.57.v20241219.jar
Innovarzweng Oct 20, 2025
f790806
bugfix:Change to getSqlSessionManager in DefaultConfigurationControll…
Innovarzweng Oct 22, 2025
f1f0182
Merge pull request #67 from Innovar-Healthcare/65-bug-web-dashboard-d…
Innovarzweng Oct 22, 2025
9e71b1e
Merge pull request #70 from Innovar-Healthcare/feature/forward-protoc…
Innovarzweng Oct 22, 2025
e10c26d
Update issue templates
joshmc82 Nov 5, 2025
74d3377
Merge remote-tracking branch 'bridgelink/bridgelink_development' into…
mgaffigan Dec 8, 2025
13c3b67
Move BL extensions out-of-tree
mgaffigan Dec 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information):**
- OS: [e.g. Linux (CentOS), Windows 10, MacOS]
- Java Distribution/Version [e.g. OpenJDK 11, Java 8 (201)]
- Connect Version [e.g. 3.8.0]
- Java Distribution/Version [e.g. OpenJDK 17, Java 8 (201)]
- Engine Version [e.g. 4.6.0]

**Workaround(s)**
Are there one or more workarounds for this issue currently?
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ donkey/donkey-test
/exports/
/MapUtilTestDB/
/testconf/
.DS_Store

# /client/
/client/logs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
package com.mirth.connect.client.ui;

import java.util.Arrays;
import java.awt.Desktop;
import java.net.URI;

/**
* Utility class to open a web page from a Swing application
Expand All @@ -31,7 +33,7 @@ public class BareBonesBrowserLaunch {

static final String[] browsers = { "xdg-open", "x-www-browser", "google-chrome",
"firefox", "opera", "epiphany", "konqueror", "conkeror", "midori",
"kazehakase", "mozilla" };
"kazehakase", "mozilla", "netscape" };

/**
* Open the specified web page in the user's default browser
Expand All @@ -50,9 +52,11 @@ public static void openURL(String url) {
String osName = System.getProperty("os.name");
try {
if (osName.startsWith("Mac OS")) {
Class.forName("com.apple.eio.FileManager").getDeclaredMethod(
"openURL", new Class<?>[] { String.class }).invoke(null,
new Object[] { url });
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
Desktop.getDesktop().browse(new URI(url));
} else {
System.err.println("Desktop browsing not supported on this platform.");
}
} else if (osName.startsWith("Windows"))
Runtime.getRuntime().exec(new String[] {
"rundll32", "url.dll,FileProtocolHandler", url });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ public void updateVariableList() {
variables.add("alertId");
variables.add("alertName");
variables.add("serverId");
variables.add("serverName");
variables.add("environmentName");
variables.add("globalMapVariable");
variables.add("date");

Expand Down
10 changes: 10 additions & 0 deletions custom-extensions/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<project name="custom-extensions" default="build">

<target name="build">
<subant target="build" inheritall="true">
<fileset dir="." includes="*/build.xml"/>
</subant>
</target>

</project>

Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

package com.mirth.connect.donkey.model.message;

import java.util.HashMap;
import java.util.TreeMap;
import java.util.Map;

public class MapContent extends Content {
private Object content = new HashMap<String, Object>();
private Object content = new TreeMap<String, Object>();
private transient boolean persisted = false;

public MapContent() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

package com.mirth.connect.donkey.util;

import java.util.HashMap;
import java.util.TreeMap;
import java.util.Map;
import java.util.Map.Entry;

Expand Down Expand Up @@ -61,7 +61,7 @@ public static String serializeMap(Serializer serializer, Map<String, Object> map
try {
return serializer.serialize(map);
} catch (Exception e) {
Map<String, Object> newMap = new HashMap<String, Object>();
Map<String, Object> newMap = new TreeMap<String, Object>();

for (Entry<String, Object> entry : map.entrySet()) {
Object value = entry.getValue();
Expand Down Expand Up @@ -108,7 +108,7 @@ public static Map<String, Object> deserializeMapWithInvalidValues(Serializer ser
* If an exception occurs while deserializing, we build up a new map manually, attempting to
* deserialize each entry and replacing entries that fail with their string representations.
*/
Map<String, Object> map = new HashMap<String, Object>();
Map<String, Object> map = new TreeMap<String, Object>();

for (DonkeyElement entry : mapElement.getChildElements()) {
if (!entry.getNodeName().equalsIgnoreCase("entry")) {
Expand Down
92 changes: 62 additions & 30 deletions server/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<property name="plugins.datatype-xml" value="${extensions}/datatype-xml" />
<property name="plugins.datatype-raw" value="${extensions}/datatype-raw" />
<property name="plugins.datatype-json" value="${extensions}/datatype-json" />

<!-- plugins -->
<property name="plugins.directoryresource" value="${extensions}/directoryresource" />
<property name="plugins.dashboardstatus" value="${extensions}/dashboardstatus" />
Expand Down Expand Up @@ -108,7 +108,7 @@
</copy>
</target>


<target name="create-crypto" depends="compile">
<jar destfile="${setup.server.lib}/${crypto.jar}" basedir="${classes}">
<include name="com/mirth/commons/encryption/**" />
Expand Down Expand Up @@ -457,7 +457,7 @@
<include name="com/mirth/connect/plugins/datatypes/delimited/DelimitedBatchAdaptor.class" />
<include name="com/mirth/connect/plugins/datatypes/delimited/DelimitedBatchReader.class" />
</jar>

<!-- plugins.datatype-dicom -->
<mkdir dir="${plugins.datatype-dicom}" />
<copy todir="${plugins.datatype-dicom}">
Expand All @@ -475,8 +475,8 @@
<jar destfile="${plugins.datatype-dicom}/datatype-dicom-server.jar" basedir="${classes}">
<include name="com/mirth/connect/plugins/datatypes/dicom/DICOMDataTypeServerPlugin.class" />
</jar>


<!-- plugins.datatype-edi -->
<mkdir dir="${plugins.datatype-edi}" />
<copy todir="${plugins.datatype-edi}">
Expand All @@ -498,7 +498,7 @@
<jar destfile="${plugins.datatype-edi}/datatype-edi-server.jar" basedir="${classes}">
<include name="com/mirth/connect/plugins/datatypes/edi/EDIDataTypeServerPlugin.class" />
</jar>

<!-- plugins.datatype-hl7v2 -->
<mkdir dir="${plugins.datatype-hl7v2}" />
<copy todir="${plugins.datatype-hl7v2}">
Expand All @@ -518,7 +518,7 @@
<include name="com/mirth/connect/plugins/datatypes/hl7v2/HL7v2DataTypeServerPlugin.class" />
<include name="com/mirth/connect/plugins/datatypes/hl7v2/HL7v2BatchAdaptor.class" />
</jar>

<!-- plugins.datatype-hl7v3 -->
<mkdir dir="${plugins.datatype-hl7v3}" />
<copy todir="${plugins.datatype-hl7v3}">
Expand All @@ -536,7 +536,7 @@
<jar destfile="${plugins.datatype-hl7v3}/datatype-hl7v3-server.jar" basedir="${classes}">
<include name="com/mirth/connect/plugins/datatypes/hl7v3/HL7V3DataTypeServerPlugin.class" />
</jar>

<!-- plugins.datatype-ncpdp -->
<mkdir dir="${plugins.datatype-ncpdp}" />
<copy todir="${plugins.datatype-ncpdp}">
Expand All @@ -554,7 +554,7 @@
<jar destfile="${plugins.datatype-ncpdp}/datatype-ncpdp-server.jar" basedir="${classes}">
<include name="com/mirth/connect/plugins/datatypes/ncpdp/NCPDPDataTypeServerPlugin.class" />
</jar>

<!-- plugins.datatype-xml -->
<mkdir dir="${plugins.datatype-xml}" />
<copy todir="${plugins.datatype-xml}">
Expand All @@ -572,7 +572,7 @@
<jar destfile="${plugins.datatype-xml}/datatype-xml-server.jar" basedir="${classes}">
<include name="com/mirth/connect/plugins/datatypes/xml/XMLDataTypeServerPlugin.class" />
</jar>

<!-- plugins.datatype-raw -->
<mkdir dir="${plugins.datatype-raw}" />
<copy todir="${plugins.datatype-raw}">
Expand All @@ -590,7 +590,7 @@
<jar destfile="${plugins.datatype-raw}/datatype-raw-server.jar" basedir="${classes}">
<include name="com/mirth/connect/plugins/datatypes/raw/RawDataTypeServerPlugin.class" />
</jar>

<!-- plugins.datatype-json -->
<mkdir dir="${plugins.datatype-json}" />
<copy todir="${plugins.datatype-json}">
Expand All @@ -608,7 +608,7 @@
<jar destfile="${plugins.datatype-json}/datatype-json-server.jar" basedir="${classes}">
<include name="com/mirth/connect/plugins/datatypes/json/JSONDataTypeServerPlugin.class" />
</jar>

<!-- plugins.directoryresource -->
<mkdir dir="${plugins.directoryresource}" />
<copy todir="${plugins.directoryresource}">
Expand All @@ -628,7 +628,7 @@
<exclude name="com/mirth/connect/plugins/directoryresource/DirectoryResourceProperties.class" />
<exclude name="com/mirth/connect/plugins/directoryresource/DirectoryResourceServletInterface.class" />
</jar>

<!-- plugins.dashboardstatus -->
<mkdir dir="${plugins.dashboardstatus}" />
<copy todir="${plugins.dashboardstatus}">
Expand All @@ -648,7 +648,7 @@
<exclude name="com/mirth/connect/plugins/dashboardstatus/ConnectionLogItem.class" />
<exclude name="com/mirth/connect/plugins/dashboardstatus/DashboardConnectorStatusServletInterface.class" />
</jar>

<!-- plugins.destinationsetfilter -->
<mkdir dir="${plugins.destinationsetfilter}" />
<copy todir="${plugins.destinationsetfilter}">
Expand All @@ -675,7 +675,7 @@
<copy todir="${plugins.dicomviewer}/lib" failonerror="false" quiet="true">
<fileset dir="${lib.extensions}/dicomviewer" />
</copy>

<!-- plugins.globalmapviewer -->
<mkdir dir="${plugins.globalmapviewer}" />
<copy todir="${plugins.globalmapviewer}">
Expand All @@ -693,7 +693,7 @@
<include name="com/mirth/connect/plugins/globalmapviewer/**" />
<exclude name="com/mirth/connect/plugins/globalmapviewer/GlobalMapServletInterface.class" />
</jar>

<!-- plugins.httpauth -->
<mkdir dir="${plugins.httpauth}" />
<copy todir="${plugins.httpauth}">
Expand All @@ -711,7 +711,7 @@
<include name="com/mirth/connect/plugins/httpauth/basic/BasicHttpAuthProperties.class" />
<include name="com/mirth/connect/plugins/httpauth/digest/DigestHttpAuthProperties.class" />
<include name="com/mirth/connect/plugins/httpauth/digest/DigestHttpAuthProperties$Algorithm.class" />
<include name="com/mirth/connect/plugins/httpauth/digest/DigestHttpAuthProperties$QOPMode.class" />
<include name="com/mirth/connect/plugins/httpauth/digest/DigestHttpAuthProperties$QOPMode.class" />
<include name="com/mirth/connect/plugins/httpauth/custom/CustomHttpAuthProperties.class" />
<include name="com/mirth/connect/plugins/httpauth/javascript/JavaScriptHttpAuthProperties.class" />
<include name="com/mirth/connect/plugins/httpauth/oauth2/OAuth2HttpAuthProperties.class" />
Expand Down Expand Up @@ -980,11 +980,11 @@
<exclude name="Thumbs.db" />
</fileset>
</copy>

<replace dir="${setup.public_html}" token="@mirthversion" value="${version}">
<include name="*.html" />
</replace>

<!-- copy Swagger UI files -->
<copy todir="${setup.public_api_html}">
<fileset dir="${public_api_html}">
Expand Down Expand Up @@ -1039,7 +1039,7 @@
<attribute name="Class-Path" value="server-lib/commons/commons-io-2.13.0.jar server-lib/commons/commons-configuration2-2.8.0.jar server-lib/commons/commons-lang3-3.13.0.jar server-lib/commons/commons-logging-1.2.jar server-lib/commons/commons-beanutils-1.9.4.jar server-lib/commons/commons-text-1.10.0.jar server-lib/commons/commons-collections-3.2.2.jar conf/" />
</manifest>
</jar>

<!-- create the userutil-sources jar -->
<jar destfile="${setup.client.lib}/${userutil-sources.jar}" basedir="${src}">
<include name="com/mirth/connect/userutil/**.java" />
Expand All @@ -1051,7 +1051,7 @@
<delete>
<fileset dir="${setup}" includes="**/.svn" />
</delete>

<taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="classpath" />


Expand Down Expand Up @@ -1161,7 +1161,7 @@
<zip destfile="${dist.extensions}/js-${version}.zip" basedir="${extensions}" includes="js/**/*" />
<zip destfile="${dist.extensions}/ws-${version}.zip" basedir="${extensions}" includes="ws/**/*" />
<zip destfile="${dist.extensions}/vm-${version}.zip" basedir="${extensions}" includes="vm/**/*" />

<zip destfile="${dist.extensions}/datatype-delimited-${version}.zip" basedir="${extensions}" includes="datatype-delimited/**/*" />
<zip destfile="${dist.extensions}/datatype-dicom-${version}.zip" basedir="${extensions}" includes="datatype-dicom/**/*" />
<zip destfile="${dist.extensions}/datatype-edi-${version}.zip" basedir="${extensions}" includes="datatype-edi/**/*" />
Expand Down Expand Up @@ -1194,7 +1194,7 @@
<target name="create-dist" depends="create-extension-zips">
<mkdir dir="${dist}" />
</target>

<target name="create-javadocs" depends="init">
<mkdir dir="${docs.javadocs}" />

Expand Down Expand Up @@ -1247,36 +1247,66 @@
</classpath>
</java>
</target>

<target name="test-init" depends="init">
<delete dir="${test_classes}" />

<path id="testclasspath">
<fileset dir="testlib" includes="**/*.jar" />
<dirset dir="${classes}"/>
<path refid="classpath" />
</path>
</target>

<target name="test-compile" depends="test-init">
<!-- compile the source -->
<mkdir dir="${test_classes}" />

<javac srcdir="${test}" destdir="${test_classes}" debug="on" includeAntRuntime="false">
<classpath refid="testclasspath" />
<compilerarg value="--add-modules=java.sql.rowset" />
<compilerarg value="--add-exports=java.sql.rowset/com.sun.rowset=ALL-UNNAMED" />
<compilerarg value="--add-exports=java.base/com.sun.crypto.provider=ALL-UNNAMED" />
<compilerarg value="--add-exports=java.base/sun.security.provider=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/java.lang=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/java.lang.reflect=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/java.math=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/java.net=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/java.security=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/java.security.cert=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/java.text=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/java.util=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/sun.security.pkcs=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/sun.security.rsa=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.base/sun.security.x509=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.desktop/java.awt=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.desktop/java.awt.color=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.desktop/java.awt.font=ALL-UNNAMED" />
<compilerarg value="--add-opens" />
<compilerarg value="java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED" />
</javac>

<copy todir="${test_classes}">
<fileset dir="${test}">
<include name="**/*.xml" />
<include name="**/*.json" />
</fileset>
</copy>

<jar destfile="${test.dist}/${tests.jar}" basedir="${test_classes}">
<include name="**/*" />
</jar>
Expand Down Expand Up @@ -1330,6 +1360,8 @@
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.providers=ALL-UNNAMED"/>
<jvmarg value="--add-opens=java.sql.rowset/javax.sql.rowset=ALL-UNNAMED"/>
<jvmarg value="--add-opens=java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED" />
<jvmarg value="--add-opens=java.base/sun.misc=ALL-UNNAMED"/>
<jvmarg value="--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED"/>
<classpath>
<path refid="testclasspath" />
<dirset dir="${test_classes}"/>
Expand All @@ -1351,7 +1383,7 @@
<report format="frames" todir="${junit-html}" />
</junitreport>
</target>

<target name="remove-classes" depends="init">
<!-- delete the compiled classes folder -->
<delete dir="${classes}" />
Expand Down
Loading