systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deron Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYSTEMML-1704) Add commons-io to bin and standalone-jar artifacts
Date Fri, 16 Jun 2017 19:05:00 GMT
Deron Eriksson created SYSTEMML-1704:
----------------------------------------

             Summary: Add commons-io to bin and standalone-jar artifacts
                 Key: SYSTEMML-1704
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1704
             Project: SystemML
          Issue Type: Bug
          Components: Build
            Reporter: Deron Eriksson
            Assignee: Deron Eriksson


Code such as the following requires the commons-io dependency:
{code}
package org.apache.sysml;

import org.apache.sysml.api.jmlc.Connection;
import org.apache.sysml.api.jmlc.PreparedScript;

public class Example {
	public static void main(String[] args) throws Exception {
		Connection conn = new Connection();
		PreparedScript script = conn.prepareScript("x=matrix('1 2 3 4',rows=2,cols=2);write(x,'x.csv',format='csv');",
				new String[] {}, new String[] {}, false);
		script.executeScript();
		conn.close();
	}
}
{code}

Therefore, add commons-io to the bin artifacts and the standalone-jar artifact since these
artifacts package the required dependencies.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message