Skip to content

Commit

Permalink
Additional fix for problem with weka-package not discovering classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
csterling committed May 18, 2020
1 parent a2ab766 commit 499b3dc
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion moa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>nz.ac.waikato.cms.moa</groupId>
<artifactId>moa-pom</artifactId>
<version>2020.05.0-HOTFIX</version>
<version>2020.05.1</version>
</parent>

<artifactId>moa</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion moa/src/main/java/moa/core/AutoClassDiscovery.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected static synchronized void initCache() {
if (m_Cache.getClassnames("moa.classifiers.trees").isEmpty()) {
InputStream inputStream = null;
try {
inputStream = m_Cache.getClass().getResourceAsStream(CLASS_LIST);
inputStream = m_Cache.getClass().getClassLoader().getResourceAsStream(CLASS_LIST);
m_Cache = new ClassCache(new FixedClassListTraversal(inputStream));
}
catch (Exception e) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>nz.ac.waikato.cms.moa</groupId>
<artifactId>moa-pom</artifactId>
<packaging>pom</packaging>
<version>2020.05.0-HOTFIX</version>
<version>2020.05.1</version>

<name>MOA: meta-package</name>
<description>
Expand Down
2 changes: 1 addition & 1 deletion release.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>nz.ac.waikato.cms.moa</groupId>
<artifactId>moa-pom</artifactId>
<version>2020.05.0-HOTFIX</version> <!-- adjust -->
<version>2020.05.1</version> <!-- adjust -->
</parent>

<artifactId>moa-release</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions weka-package/Description.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
PackageName=massiveOnlineAnalysis

# Version (required)
Version=2020.05.0-HOTFIX
Version=2020.05.1

#Date
Date=2020-05-13
Date=2020-05-19

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

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

# URL for further information
URL=http://moa.cs.waikato.ac.nz/
Expand Down
2 changes: 1 addition & 1 deletion weka-package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>nz.ac.waikato.cms.moa</groupId>
<artifactId>moa-pom</artifactId>
<version>2020.05.0-HOTFIX</version>
<version>2020.05.1</version>
</parent>

<artifactId>weka-package</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion weka-package/update_libs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>nz.ac.waikato.cms.moa</groupId>
<artifactId>moa-pom</artifactId>
<version>2020.05.0-HOTFIX</version>
<version>2020.05.1</version>
</parent>

<artifactId>weka-package</artifactId>
Expand Down

0 comments on commit 499b3dc

Please sign in to comment.