Skip to content

Instantly share code, notes, and snippets.

View porcelli's full-sized avatar

Alex Porcelli porcelli

View GitHub Profile
{
"name": "Markdown Editor",
"root": {
"parts": [
{
"place": "MarkdownLiveViewer",
"parameters": [
]
}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UberFire Showcase</title>
<link rel="stylesheet" href="css/uberfire-loading.css">
<link rel="stylesheet" href="css/uberfire-showcase.css">
<link rel="stylesheet" href="css/ruleflow.css">
</head>
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ uberfire-widgets-core-client ---
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2:
[DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-model:jar:2.0.6:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[ERROR] error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider org.uberfire.annotations.processors.WorkbenchScreenProcessor could not be instantiated: java.lang.NoClassDefFoundError: org/apache/log4j/Priority
-----
[INFO] org.uberfire:uberfire-widgets-core-client:jar:0.2.0-SNAPSHOT
[INFO] +- org.uberfire:uberfire-widgets-commons:jar:0.2.0-SNAPSHOT:compile
[INFO] | +- org.uberfire:uberfire-api:jar:0.2.0-SNAPSHOT:compile (version managed from 0.2.0-SNAPSHOT)
[INFO] | | \- org.uberfire:uberfire-security-client:jar:0.2.0-SNAPSHOT:compile (version managed from 0.2.0-SNAPSHOT)
[INFO] | +- com.github.gwtbootstrap:gwt-bootstrap:jar:2.2.1.0:compile (version managed from 2.2.1.0)
[INFO] | \- javax.inject:javax.inject:jar:1:compile (version managed from 1)
package org.uberfire.client.screens.hellolienzo;
import javax.annotation.PostConstruct;
import javax.enterprise.context.Dependent;
import javax.enterprise.event.Event;
import javax.inject.Inject;
import com.emitrom.lienzo.client.core.event.NodeMouseDownEvent;
import com.emitrom.lienzo.client.core.event.NodeMouseDownHandler;
import com.emitrom.lienzo.client.core.shape.Circle;
package org.uberfire.client.screens.hellolienzo;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;
<system-properties>
<property name="org.kie.nio.git.deamon.host" value="your.computer.name.here"/>
</system-properties>
@porcelli
porcelli / sample.java
Created June 10, 2013 06:45
sample gwt bad code
final FormPanel form = new FormPanel();
form.setEncoding(FormPanel.ENCODING_MULTIPART);
form.setMethod(FormPanel.METHOD_POST);
form.addStyleName("table-center");
form.addStyleName("demo-FormPanel");
VerticalPanel holder = new VerticalPanel();
holder.add(new Label("User ID"));
TextBox userid = new TextBox();
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
dataDir=/tmp/zookeeper
This file has been truncated, but you can view the full file.
package org.jboss.errai.ioc.client;
import com.allen_sauer.gwt.dnd.client.AbstractDragController;
import com.allen_sauer.gwt.dnd.client.DragController;
import com.allen_sauer.gwt.dnd.client.FiresDragEvents;
import com.allen_sauer.gwt.dnd.client.PickupDragController;
import com.allen_sauer.gwt.dnd.client.drop.DropController;
import com.github.gwtbootstrap.client.ui.Breadcrumbs;
import com.github.gwtbootstrap.client.ui.Modal;
import com.github.gwtbootstrap.client.ui.base.ComplexWidget;