Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-1704

Add commons-io to bin and standalone-jar artifacts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • SystemML 0.15
    • Build
    • None

    Description

      Code such as the following requires the commons-io dependency:

      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();
      	}
      }
      

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

      Attachments

        Activity

          People

            deron Jon Deron Eriksson
            deron Jon Deron Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: