You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Deron Eriksson (JIRA)" <ji...@apache.org> on 2017/06/16 19:05:00 UTC

[jira] [Created] (SYSTEMML-1704) Add commons-io to bin and standalone-jar artifacts

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)