Skip to content

Instantly share code, notes, and snippets.

View quintesse's full-sized avatar

Tako Schotanus quintesse

  • RedHat
  • Alicante, Spain
  • 05:50 (UTC +02:00)
View GitHub Profile
@quintesse
quintesse / main.ceylon
Created September 22, 2015 12:51
Ceylon Web Runner: window test
//$webrun_wrapped
shared void run() {
dynamic {
openCanvasWindow();
}
}
@quintesse
quintesse / index.json
Last active September 26, 2015 12:32
A set of examples for the Ceylon Web IDE
{
"sets": [
{
"title": "A set of examples",
"items": [
{
"title": "Example One",
"gist": "9b4bafe29a28103818c9"
},
{
@quintesse
quintesse / index.json
Last active September 26, 2015 12:33
A set of examples for the Ceylon Web IDE with a default item
{
"sets": [
{
"title": "A set with a default",
"items": [
{
"title": "Example One",
"gist": "9b4bafe29a28103818c9"
},
{
@quintesse
quintesse / index.json
Last active September 26, 2015 12:34
A set of examples for the Ceylon Web IDE with an external default item
{
"sets": [
{
"title": "A set with a default 2",
"items": [
{
"title": "Example One",
"gist": "9b4bafe29a28103818c9"
},
{
@quintesse
quintesse / index.json
Last active September 26, 2015 13:32
Example book chapters for the Web IDE : Chapter 1
{
"sets": [
{
"title": "Chapters",
"items": [
{
"title": "Chapter 1: Classes",
"set": "709e69f4c5f41600cb7b"
},
{
@quintesse
quintesse / index.json
Last active September 26, 2015 13:33
Example book chapters for the Web IDE : Chapter 2
{
"sets": [
{
"title": "Chapters",
"items": [
{
"title": "Chapter 1: Classes",
"set": "709e69f4c5f41600cb7b"
},
{
@quintesse
quintesse / index.json
Last active September 26, 2015 13:33
Example book chapters for the Web IDE : Chapter 3
{
"sets": [
{
"title": "Chapters",
"items": [
{
"title": "Chapter 1: Classes",
"set": "709e69f4c5f41600cb7b"
},
{
@quintesse
quintesse / README.md
Created September 26, 2015 19:16
Ceylon Web Runner: intro

Welcome to the Ceylon Web IDE

On this page you can easily try out simple (and not so simple) code examples written in Ceylon.

To start off you can click on any of the examples listed in the side bar on the right followed by pressing the Run button in the toolbar displayed right above this text.

@quintesse
quintesse / error.txt
Created October 22, 2015 17:42
Eclipse errors
org.osgi.framework.BundleException: Could not resolve module: com.redhat.ceylon.test.eclipse.plugin [1311]
Unresolved requirement: Require-Bundle: com.redhat.ceylon.eclipse.ui; bundle-version="1.2.0"
-> Bundle-SymbolicName: com.redhat.ceylon.eclipse.ui; bundle-version="1.2.0.v20151022-1606-Final"; singleton:="true"
com.redhat.ceylon.eclipse.ui [1306]
Unresolved requirement: Require-Bundle: ceylon.bootstrap; bundle-version="1.2.0"
-> Bundle-SymbolicName: ceylon.bootstrap; bundle-version="1.2.0.v20151022-1601"
ceylon.bootstrap [1292]
Unresolved requirement: Require-Bundle: ceylon.runtime; bundle-version="1.2.0"
-> Bundle-SymbolicName: ceylon.runtime; bundle-version="1.2.0.v20151022-1602"
ceylon.runtime [1298]
@quintesse
quintesse / error
Created November 16, 2015 16:04
Eclipse compile error after OBR
eclipse-quick:
build:
[mvn:mvn] [main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Scanning for projects...
[mvn:mvn] [main] INFO org.eclipse.tycho.core.resolver.DefaultTychoResolver - Computing target platform for MavenProject: com.redhat.ceylon.eclipse:com.redhat.ceylon.eclipse.ui.jdt.debug.fragment:1.2.1-SNAPSHOT @ /home/ceylon/ceylon/ceylon-ide-eclipse/plugins/com.redhat.ceylon.eclipse.ui.jdt.debug.fragment/pom.xml
[mvn:mvn] [main] INFO org.eclipse.tycho.osgi.configuration.MavenContextConfigurator - Adding repository file:../ceylon/dist/osgi/build/dist
[mvn:mvn] [main] INFO org.eclipse.tycho.osgi.configuration.MavenContextConfigurator - Adding repository file:../ceylon-sdk/osgi/dist
[mvn:mvn] [main] ERROR org.apache.maven.cli.MavenCli - Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'ceylon-sdk' from location file:../ceylon-sdk/osgi/dist: URI is not hierarchical -> [Help 1]
[mvn:mvn] org.apache.maven.InternalErrorException: Internal error: java.lan