Created
April 7, 2015 14:09
-
-
Save nightscape/ed7dbfd62e4ffaaaa53c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata" : { | |
"name" : "ClasspathTest", | |
"user_save_timestamp" : "1970-01-01T01:00:00.000Z", | |
"auto_save_timestamp" : "1970-01-01T01:00:00.000Z", | |
"language_info" : { | |
"name" : "scala", | |
"file_extension" : "scala", | |
"codemirror_mode" : "text/x-scala" | |
}, | |
"trusted" : true, | |
"customLocalRepo" : null, | |
"customRepos" : null, | |
"customDeps" : null, | |
"customImports" : null, | |
"customSparkConf" : null | |
}, | |
"cells" : [ { | |
"metadata" : { | |
"trusted" : true, | |
"input_collapsed" : false, | |
"collapsed" : false | |
}, | |
"cell_type" : "code", | |
"source" : ":local-repo /tmp/classpath_test/repo", | |
"outputs" : [ { | |
"name" : "stdout", | |
"output_type" : "stream", | |
"text" : "res9: String = Repo changed to /tmp/classpath_test/repo!\n" | |
}, { | |
"metadata" : { }, | |
"data" : { | |
"text/html" : "Repo changed to /tmp/classpath_test/repo!" | |
}, | |
"output_type" : "execute_result", | |
"execution_count" : 4 | |
} ] | |
}, { | |
"metadata" : { | |
"trusted" : true, | |
"input_collapsed" : false, | |
"collapsed" : false | |
}, | |
"cell_type" : "code", | |
"source" : ":dp org.jsoup % jsoup % 1.8.1", | |
"outputs" : [ { | |
"name" : "stdout", | |
"output_type" : "stream", | |
"text" : "warning: there were 2 feature warning(s); re-run with -feature for details\njars: Array[String] = [Ljava.lang.String;@47c11151\nres14: List[String] = List(/tmp/classpath_test/repo/org/jsoup/jsoup/1.8.1/jsoup-1.8.1.jar, /var/folders/0l/gsd169714ld3qw4y16kqjr140000gv/T/spark-notebook/aether/03cfd8e3-6004-48c8-951a-baf18184c826/org/jsoup/jsoup/1.8.1/jsoup-1.8.1.jar)\n" | |
}, { | |
"metadata" : { }, | |
"data" : { | |
"text/html" : "<div>\n <script data-this=\"{"dataId":"anon53b335255a01013bf3e71d1729e53505","dataInit":[{"X":"[C@5ca22bc9","Y":-896419010},{"X":"[C@5b0e2337","Y":-185110312}],"genId":"1207774760"}\" type=\"text/x-scoped-javascript\">/*<![CDATA[*/req(['../javascripts/notebook/playground','../javascripts/notebook/magic/tabs'], \n function(playground, _magictabs) {\n // data ==> data-this (in observable.js's scopedEval) ==> this in JS => { dataId, dataInit, ... }\n // this ==> scope (in observable.js's scopedEval) ==> this.parentElement ==> div.container below (toHtml)\n\n playground.call(data,\n this\n ,\n {\n \"f\": _magictabs,\n \"o\": {}\n }\n \n \n \n );\n }\n );/*]]>*/</script><div>\n <ul class=\"nav nav-tabs\" id=\"ul1207774760\"><li>\n <a href=\"#tab1207774760-0\"><i class=\"fa fa-table\"/></a>\n </li><li>\n <a href=\"#tab1207774760-1\"><i class=\"fa fa-bar-chart\"/></a>\n </li><li>\n <a href=\"#tab1207774760-2\"><i class=\"fa fa-pie-chart\"/></a>\n </li></ul>\n\n <div class=\"tab-content\" id=\"tab1207774760\"><div class=\"tab-pane\" id=\"tab1207774760-0\">\n <div>\n <script data-this=\"{"dataId":"anon658ec6edede26c412ea1e9a6f464c56e","dataInit":[{"X":"[C@5ca22bc9","Y":-896419010},{"X":"[C@5b0e2337","Y":-185110312}],"genId":"1122868274"}\" type=\"text/x-scoped-javascript\">/*<![CDATA[*/req(['../javascripts/notebook/playground','../javascripts/notebook/magic/tableChart'], \n function(playground, _magictableChart) {\n // data ==> data-this (in observable.js's scopedEval) ==> this in JS => { dataId, dataInit, ... }\n // this ==> scope (in observable.js's scopedEval) ==> this.parentElement ==> div.container below (toHtml)\n\n playground.call(data,\n this\n ,\n {\n \"f\": _magictableChart,\n \"o\": {\"headers\":[\"X\",\"Y\"],\"nrow\":2,\"shown\":25,\"width\":600,\"height\":400}\n }\n \n \n \n );\n }\n );/*]]>*/</script></div>\n </div><div class=\"tab-pane\" id=\"tab1207774760-1\">\n <div>\n <script data-this=\"{"dataId":"anon04a7e60c8a865dbff98fddafb7dae00a","dataInit":[{"X":"[C@5ca22bc9","Y":-896419010},{"X":"[C@5b0e2337","Y":-185110312}],"genId":"486279946"}\" type=\"text/x-scoped-javascript\">/*<![CDATA[*/req(['../javascripts/notebook/playground','../javascripts/notebook/magic/barChart'], \n function(playground, _magicbarChart) {\n // data ==> data-this (in observable.js's scopedEval) ==> this in JS => { dataId, dataInit, ... }\n // this ==> scope (in observable.js's scopedEval) ==> this.parentElement ==> div.container below (toHtml)\n\n playground.call(data,\n this\n ,\n {\n \"f\": _magicbarChart,\n \"o\": {\"x\":\"X\",\"y\":\"Y\",\"width\":600,\"height\":400}\n }\n \n \n \n );\n }\n );/*]]>*/</script></div>\n </div><div class=\"tab-pane\" id=\"tab1207774760-2\">\n <div>\n <script data-this=\"{"dataId":"anon6882a112413de8a5003ea64f734bbd4a","dataInit":[{"X":"[C@5ca22bc9","Y":-896419010},{"X":"[C@5b0e2337","Y":-185110312}],"genId":"2051487046"}\" type=\"text/x-scoped-javascript\">/*<![CDATA[*/req(['../javascripts/notebook/playground','../javascripts/notebook/magic/pieChart'], \n function(playground, _magicpieChart) {\n // data ==> data-this (in observable.js's scopedEval) ==> this in JS => { dataId, dataInit, ... }\n // this ==> scope (in observable.js's scopedEval) ==> this.parentElement ==> div.container below (toHtml)\n\n playground.call(data,\n this\n ,\n {\n \"f\": _magicpieChart,\n \"o\": {\"series\":\"X\",\"p\":\"Y\",\"width\":600,\"height\":400}\n }\n \n \n \n );\n }\n );/*]]>*/</script></div>\n </div></div>\n </div></div>" | |
}, | |
"output_type" : "execute_result", | |
"execution_count" : 5 | |
} ] | |
}, { | |
"metadata" : { | |
"trusted" : true, | |
"input_collapsed" : false, | |
"collapsed" : false | |
}, | |
"cell_type" : "code", | |
"source" : "import org.jsoup.Jsoup", | |
"outputs" : [ { | |
"name" : "stdout", | |
"output_type" : "stream", | |
"text" : "<console>:34: error: object jsoup is not a member of package org\n import org.jsoup.Jsoup\n ^\n" | |
} ] | |
}, { | |
"metadata" : { | |
"trusted" : true, | |
"input_collapsed" : false, | |
"collapsed" : false | |
}, | |
"cell_type" : "code", | |
"source" : ":cp /tmp/classpath_test/repo/org/jsoup/jsoup/1.8.1/jsoup-1.8.1.jar", | |
"outputs" : [ { | |
"name" : "stdout", | |
"output_type" : "stream", | |
"text" : "res16: String = Classpath CHANGED!\n" | |
}, { | |
"metadata" : { }, | |
"data" : { | |
"text/html" : "Classpath CHANGED!" | |
}, | |
"output_type" : "execute_result", | |
"execution_count" : 7 | |
} ] | |
}, { | |
"metadata" : { | |
"trusted" : true, | |
"input_collapsed" : false, | |
"collapsed" : false | |
}, | |
"cell_type" : "code", | |
"source" : "import org.jsoup.Jsoup", | |
"outputs" : [ { | |
"name" : "stdout", | |
"output_type" : "stream", | |
"text" : "<console>:34: error: object jsoup is not a member of package org\n import org.jsoup.Jsoup\n ^\n" | |
} ] | |
}, { | |
"metadata" : { | |
"trusted" : true, | |
"input_collapsed" : false, | |
"collapsed" : true | |
}, | |
"cell_type" : "code", | |
"source" : "", | |
"outputs" : [ ] | |
} ], | |
"nbformat" : 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment