Skip to content

Instantly share code, notes, and snippets.

View bleathem's full-sized avatar

Brian Leathem bleathem

View GitHub Profile
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] RichFaces BOM ..................................... SKIPPED
[INFO] RichFaces Build Version Management ................ SKIPPED
[INFO] RichFaces Build Resources ......................... SKIPPED
[INFO] RichFaces Parent .................................. SUCCESS [17:21.274s]
[INFO] RichFaces Page Fragments .......................... SKIPPED
[INFO] RichFaces Framework ............................... SKIPPED
[INFO] RichFaces Push Depchain ........................... SKIPPED
@bleathem
bleathem / gist:6550955
Created September 13, 2013 13:48
Stacktract running ITBlueSkySkin
05:53:00,723 INFO [org.jboss.weld.ClassLoading] (MSC service thread 1-4) WELD-000119 Not generating any bean definitions from org.richfaces.skin.ITBlueSkySkin because of underlying class loading error
05:53:00,723 INFO [org.jboss.weld.ClassLoading] (MSC service thread 1-4) catching: org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class org.richfaces.skin.ITBlueSkySkin
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:167) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployer.loadWeldClass(BeanDeployer.java:116) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:79) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:135) [weld-core-1.1.13.Final-redhat-1.jar:1.1.13.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:184
@bleathem
bleathem / gist:6526617
Last active December 22, 2015 20:29
AutocompleteRendererBase.java#L100
try {
// String value = getInputValue(facesContext, component);
itemsObject = autocompleteMethod.invoke(facesContext.getELContext(), new Object[] { facesContext, component, value });
} catch (MethodNotFoundException e) {
try {
itemsObject = autocompleteMethod.invoke(facesContext.getELContext(), new Object[] { value });
} catch (MethodNotFoundException e) {
ExpressionFactory expressionFactory = facesContext.getApplication().getExpressionFactory();
autocompleteMethod = expressionFactory.createMethodExpression(facesContext.getELContext(),
autocompleteMethod.getExpressionString(), Object.class, new Class[] { String.class });
@bleathem
bleathem / test.css
Created June 24, 2013 17:34
LESS mixins miss include only the first definition
.btn-group {
color: blue;
}
.btn-group > .btn {
color: red;
}
.btn-group > .btn {
color: blue;
display: inline;
}
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] bootstrap class path not set in conjunction with -source 1.6
/home/bleathem/workspace/richfaces/richfaces5/framework/src/test/integration/org/richfaces/ui/select/ITSelectKeyboardSelection.java:[27,46] error: cannot find symbol
[ERROR] package org.richfaces.arquillian.browser
/home/bleathem/workspace/richfaces/richfaces5/framework/src/test/integration/org/richfaces/ui/select/ITSelectKeyboardSelection.java:[27,0] error: static import only from classes and interfaces
[ERROR] /home/bleathem/workspace/richfaces/richfaces5/framework/src/test/integration/org/richfaces/ui/select/ITSelectKeyboardSelection.java:[27,46] error: cannot find symbol
[ERROR] package org.richfaces.arquillian.browser
/home/bleathem/workspace/richfaces/richfaces5/framework/src/test/integration/org/richfaces/ui/select/ITSelectKeyboardSelection.java:[27,0] error: static im
[attributes]
[macros]
# guibutton:[Some button text]
(?su)(?<!\w)[\\]?(guibutton):\[(?P<attrlist>.*?)\]=guibutton
# guilabel:[Some label text]
(?su)(?<!\w)[\\]?(guilabel):\[(?P<attrlist>.*?)\]=guilabel
# key:Enter[] or key:[Ctrl+T] or key:[Ctrl+Shift+T]
@bleathem
bleathem / macro.asciidoc
Created April 22, 2013 23:01
Asciidoctor evaluation of macros defined in a doc specific conf file.

guibutton:[Ctrl T]

guibutton:[Ctrl,Alt,G]

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.richfaces.component.ajax.PartialViewContextExceptionHandling
Apr 22, 2013 1:28:29 PM org.jboss.shrinkwrap.impl.base.exporter.zip.JdkZipExporterDelegate$1 call
WARNING: Exception encountered during export of archive
org.jboss.shrinkwrap.api.exporter.ArchiveExportException: Failed to write asset to output: /WEB-INF/lib/arquillian-warp.jar
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase$3.handle(StreamExporterDelegateBase.java:272)
at org.jboss.shrinkwrap.impl.base.io.IOUtil.closeOnComplete(IOUtil.java:219)
at org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase.processNode(StreamExporterDelegateBase.java:233)
@bleathem
bleathem / book-multi.txt
Created April 11, 2013 05:15
A simplified version of the file: http://asciidoc.org/book-multi.txt
= Multi-Part Book Title Goes Here
:doctype: book
= The First Part of the Book
== The First Chapter
Chapters can be grouped by preceeding them with a level 0 Book Part
title.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<book lang="en">
<bookinfo>
<title>Multi-Part Book Title Goes Here</title>
<date>2013-04-10</date>
</bookinfo>
<chapter id="_the_first_part_of_the_book">
<title>The First Part of the Book</title>