Skip to content

Commit 499b3dc

Browse files
committed
Additional fix for problem with weka-package not discovering classes.
1 parent a2ab766 commit 499b3dc

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

moa/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>nz.ac.waikato.cms.moa</groupId>
66
<artifactId>moa-pom</artifactId>
7-
<version>2020.05.0-HOTFIX</version>
7+
<version>2020.05.1</version>
88
</parent>
99

1010
<artifactId>moa</artifactId>

moa/src/main/java/moa/core/AutoClassDiscovery.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected static synchronized void initCache() {
6262
if (m_Cache.getClassnames("moa.classifiers.trees").isEmpty()) {
6363
InputStream inputStream = null;
6464
try {
65-
inputStream = m_Cache.getClass().getResourceAsStream(CLASS_LIST);
65+
inputStream = m_Cache.getClass().getClassLoader().getResourceAsStream(CLASS_LIST);
6666
m_Cache = new ClassCache(new FixedClassListTraversal(inputStream));
6767
}
6868
catch (Exception e) {

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>nz.ac.waikato.cms.moa</groupId>
55
<artifactId>moa-pom</artifactId>
66
<packaging>pom</packaging>
7-
<version>2020.05.0-HOTFIX</version>
7+
<version>2020.05.1</version>
88

99
<name>MOA: meta-package</name>
1010
<description>

release.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>nz.ac.waikato.cms.moa</groupId>
66
<artifactId>moa-pom</artifactId>
7-
<version>2020.05.0-HOTFIX</version> <!-- adjust -->
7+
<version>2020.05.1</version> <!-- adjust -->
88
</parent>
99

1010
<artifactId>moa-release</artifactId>

weka-package/Description.props

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
PackageName=massiveOnlineAnalysis
33

44
# Version (required)
5-
Version=2020.05.0-HOTFIX
5+
Version=2020.05.1
66

77
#Date
8-
Date=2020-05-13
8+
Date=2020-05-19
99

1010
# Title (required)
1111
Title=MOA (Massive On-line Analysis).
@@ -27,7 +27,7 @@ Description=Massive On-line Analysis is an environment for massive data mining.
2727
Changes=
2828

2929
# Package URL for obtaining the package archive (required)
30-
PackageURL=https://github.com/Waikato/moa/releases/download/2020.05.0-HOTFIX/massiveOnlineAnalysis-2020.05.0-HOTFIX.zip
30+
PackageURL=https://github.com/Waikato/moa/releases/download/2020.05.1/massiveOnlineAnalysis-2020.05.1.zip
3131

3232
# URL for further information
3333
URL=http://moa.cs.waikato.ac.nz/

weka-package/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nz.ac.waikato.cms.moa</groupId>
88
<artifactId>moa-pom</artifactId>
9-
<version>2020.05.0-HOTFIX</version>
9+
<version>2020.05.1</version>
1010
</parent>
1111

1212
<artifactId>weka-package</artifactId>

weka-package/update_libs.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>nz.ac.waikato.cms.moa</groupId>
88
<artifactId>moa-pom</artifactId>
9-
<version>2020.05.0-HOTFIX</version>
9+
<version>2020.05.1</version>
1010
</parent>
1111

1212
<artifactId>weka-package</artifactId>

0 commit comments

Comments
 (0)