-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #5845: fix grape, add ivy dependency * add grapes to classpath doc
- Loading branch information
1 parent
d2e3584
commit d382bdc
Showing
3 changed files
with
123 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"ename": "org.codehaus.groovy.control.MultipleCompilationErrorsException", | ||
"evalue": " startup failed", | ||
"output_type": "error", | ||
"traceback": [ | ||
"\u001b[0;31morg.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:", | ||
"\u001b[0;31mscript15033056800541660887958.groovy: 1: unable to resolve class org.apache.commons.io.Charsets", | ||
"\u001b[0;31m @ line 1, column 1.", | ||
"\u001b[0;31m import org.apache.commons.io.Charsets", | ||
"\u001b[0;31m ^", | ||
"\u001b[0;31m", | ||
"\u001b[0;31m1 error", | ||
"\u001b[0;31m", | ||
"\u001b[0;31m\tat com.twosigma.beakerx.groovy.evaluator.GroovyCodeRunner.run(GroovyCodeRunner.java:57)" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"import org.apache.commons.io.Charsets\n", | ||
"println Charsets.US_ASCII " | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 5, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"US-ASCII\n" | ||
] | ||
}, | ||
{ | ||
"data": { | ||
"text/plain": [ | ||
"null" | ||
] | ||
}, | ||
"execution_count": 5, | ||
"metadata": {}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"source": [ | ||
"// https://mvnrepository.com/artifact/commons-io/commons-io\n", | ||
"@Grapes(\n", | ||
" @Grab(group='commons-io', module='commons-io', version='2.5')\n", | ||
")\n", | ||
"import org.apache.commons.io.Charsets\n", | ||
"println Charsets.US_ASCII " | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": { | ||
"collapsed": true | ||
}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Groovy", | ||
"language": "groovy", | ||
"name": "groovy" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": "groovy", | ||
"file_extension": ".groovy", | ||
"mimetype": "", | ||
"name": "Groovy", | ||
"nbconverter_exporter": "", | ||
"version": "2.4.3" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
This file contains 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
This file contains 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