Skip to content

Instantly share code, notes, and snippets.

View lincolnthree's full-sized avatar

Lincoln Baxter, III lincolnthree

View GitHub Profile
/**
* Represents the objects with on which the {@link UIContext} is currently focused. This may be the current working
* directory, highlighted files, text, or other focusable items.
*
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a>
*
* @param <SELECTIONTYPE> The selection type.
*/
public interface UISelection<SELECTIONTYPE>
{
@Override
public void initializeUI(UIContext context) throws Exception
{
inputA.setCompleter(new ContextualCompleter(this, inputA));
inputA.setCompleter(new ContextualCompleter(this, inputB));
context.getUIBuilder().add(inputA).add(inputB).add(inputC);
}
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Forge - Parent
[INFO] Forge - Addon Container API
[INFO] Forge - Addon Dependency API
[INFO] Forge - Maven Core
[INFO] Forge - Addon Manager - Impl
[INFO] Forge - Parser/XML
/**
* Look up UI Hints. This allows manipulation default UI type to render for a given input value type.
*
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a>
*/
public class HintsLookup implements Category
{
private final Environment environment;
public HintsLookup(Environment environment)
org.jboss.forge.container.exception.ContainerException: Error invoking Task within ClassLoader [ModuleClassLoader for Module "_DEFAULT_:91c5f1f5-329e-4a88-a653-bbe443079fdd" from AddonModuleLoader]
at org.jboss.forge.container.util.ClassLoaders.executeIn(ClassLoaders.java:38)
at org.jboss.forge.container.services.ExportedInstanceImpl$RemoteClassLoaderInterceptor.intercept(ExportedInstanceImpl.java:130)
at test.org.jboss.forge.convert.CDIConverterTest$$EnhancerByCGLIB$$2c4653e0.testSimpleConversion2(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.forge.arquillian.ForgeTestMethodExecutor.invoke(ForgeTestMethodExecutor.java:124)
at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:120)
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.forge.addon.manager.AddonManagerTest
Executing test case with addon dir [/var/folders/rl/rjr7dgvs5pb5ksbclhlf_n6m0000gn/T/forge-test-addon-dir983515291670843815]
Exception in thread "Arq-Forge Runtime" org.jboss.forge.container.exception.ContainerException: Error invoking Task within ClassLoader [sun.misc.Launcher$AppClassLoader@1f3e8d89]
at org.jboss.forge.container.util.ClassLoaders.executeIn(ClassLoaders.java:38)
at org.jboss.forge.arquillian.ForgeDeployableContainer$ForgeRunnable.run(ForgeDeployableContainer.java:237)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.jboss.forge.container.exception.ContainerException: Failed to load addon [_DEFAULT_,ca3db588-6264-4095-aedc-1f62601c3052]
package org.jboss.forge.projects;
/*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
import javax.inject.Inject;
package org.jboss.forge.projects.impl;
import java.io.File;
import java.util.concurrent.Callable;
import javax.inject.Inject;
import org.jboss.forge.projects.ProjectType;
import org.jboss.forge.resource.DirectoryResource;
import org.jboss.forge.resource.FileResource;
!SESSION 2012-12-24 16:54:31.303 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.7.0_12-ea
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -product org.eclipse.epp.package.jee.product -data /Users/lbaxter/Projects/jboss/../runtime-New_configuration(1) -dev file:/Users/lbaxter/Projects/jboss/.metadata/.plugins/org.eclipse.pde.core/New_configuration (1)/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog
!ENTRY org.eclipse.core.net 1 0 2012-12-24 16:54:46.726
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
package org.example;
import javax.inject.Inject;
import org.example.published.PublishedService;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.forge.arquillian.archive.ForgeArchive;
import org.jboss.forge.container.AddonDependency;
import org.jboss.forge.container.AddonEntry;