This file contains hidden or 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
***SUCCESS*** Addon org.jboss.forge.addon:as,2.0.0-SNAPSHOT was installed successfully. | |
[BookEndpoint.java]$ | |
Display all 120 possibilities? (y or n) | |
ll cdi-list-decorators echo java-new-field project-new | |
alias cdi-list-interceptors edit java-new-interface project-remove-dependencies | |
unalias cdi-new-bean ejb-new-bean javaee-setup project-remove-managed-dependencies | |
export cdi-new-conversation ejb-set-class-transaction-attribute jms-setup project-remove-repository | |
about |
This file contains hidden or 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
package qualifiers; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.beans.factory.annotation.Qualifier; | |
import org.springframework.context.annotation.AnnotationConfigApplicationContext; | |
import org.springframework.context.annotation.ComponentScan; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.stereotype.Component; | |
import javax.annotation.PostConstruct; |
This file contains hidden or 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
========================================================================= | |
JBoss Bootstrap Environment | |
JBOSS_HOME: /Users/antoniombp/Tools/Software/JBoss/jboss-eap-6.2-girc | |
JAVA: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java | |
JAVA_OPTS: -server -XX:+UseCompressedOops -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Duser.language=en -Duser.country=EN |
This file contains hidden or 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
<?xml version='1.0' encoding='utf-8'?> | |
<jboss-deployment-structure> | |
<deployment> | |
<dependencies> | |
<module name="org.apache.commons.beanutils"/> | |
<module name="org.apache.commons.cli"/> | |
<module name="org.apache.commons.codec"/> | |
<module name="org.apache.commons.collections"/> | |
<module name="org.apache.commons.lang"/> |
This file contains hidden or 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
15:53:00,394 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/demo-ihm]] (ServerService Thread Pool -- 91) Initializing Spring root WebApplicationContext | |
15:53:00,828 WARN [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (ServerService Thread Pool -- 91) Ignored XML validation warning: org.xml.sax.SAXParseException; lineNumber: 16; columnNumber: 5; schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. | |
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:196) [vaadin-client-compiler-deps-1.0.2.jar:1.0.2] | |
at org.apache.xerces.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:97) [vaadin-client-compiler-deps-1.0.2.jar:1.0.2] | |
at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386) [vaadin-client-compi |
This file contains hidden or 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
/** | |
* Copyright 2014 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 | |
*/ | |
package org.jboss.forge.addon.javaee.cdi.ui; | |
import java.io.FileNotFoundException; |
This file contains hidden or 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
23:21:18,787 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 4) Failed to execute [arquillian-setup] due to exception.: java.lang.NullPointerException | |
at org.jboss.forge.arquillian.command.AddContainerStep.execute(AddContainerStep.java:134) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45] | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45] | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] | |
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] | |
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.10.1.Final.jar:2.10.1.Final] | |
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.10.1.Final.jar:2.10.1.Final] | |
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.10.1.Final.jar:2.10. |
This file contains hidden or 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 is what I get each time I run scaffold-generate and press TAB | |
00:37:07,883 SEVERE [org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl] (Aesh Process Loop 1844488796) Cannot fetch the next steps from org.jboss.forge.addon.scaffold.impl.ui.ScaffoldGenerateCommandImpl@4a4db59f: java.lang.NullPointerException | |
at org.jboss.forge.addon.scaffold.faces.FacesTemplateStrategy.getDefaultTemplate(FacesTemplateStrategy.java:65) | |
at org.jboss.forge.addon.scaffold.faces.FacesTemplateStrategy.getDefaultTemplate(FacesTemplateStrategy.java:24) | |
at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.isSetup(FacesScaffoldProvider.java:225) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45] | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45] | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] |
This file contains hidden or 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
[Forge]$ project-new --named test | |
***SUCCESS*** Project named 'test' has been created. | |
[test]$ as-setup | |
***ERROR*** No such command: as-setup | |
[test]$ command-list | |
Configuration > config-list - No Description | |
Database/Connections > connection-create-profile - Command to create a database connection profile. | |
Database/Connections > connection-remove-profile - Command to remove a database connection profile. | |
Forge/Generate > addon-new-command - Generates a UICommand implementation | |
Forge/Generate > addon-new-test - Generates a Furnace test case for an addon |
This file contains hidden or 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
// At the moment I generate this | |
@Documented | |
@Constraint(validatedBy = {}) | |
@Target( { METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) | |
@Retention(RUNTIME) | |
@ReportAsSingleViolation | |
public @interface URL { | |
String message() default "{org.mycompany.myproject.constraints.URL.message}"; | |
Class<?>[] groups() default { }; |