This file contains 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
~/Documents/Code/github/Forge/core$ ./forge-install.bsh | |
./forge-install.bsh: line 3: 1: Must specify distribution ZIP file to install. Ex: 'forge-install target/forge-distribution-1.0.0-SNAPSHOT.zip | |
~/Documents/Code/github/Forge/core$ ./forge-install target/forge-distribution-1.0.0-SNAPSHOT.zip | |
-bash: ./forge-install: No such file or directory |
This file contains 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
~/Documents/Code/github/Forge/core$ ./forge-install.bsh dist/target/forge-distribution-2.0.0-SNAPSHOT.zip | |
dist/target/forge-distribution-2.0.0-SNAPSHOT.zip | |
usage: mv [-f | -i | -n] [-v] source target | |
mv [-f | -i | -n] [-v] source ... directory | |
chmod: forge: No such file or directory |
This file contains 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
~/Documents/Code/temp/Forge$ forge -i org.jboss.forge.addon:core:2.0.0-SNAPSHOT | |
java.lang.RuntimeException: Failed to look up versions for [org.jboss.forge.addon:org.jboss.forge.addon:core:2.0.0-SNAPSHOT] | |
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.getVersions(MavenAddonDependencyResolver.java:269) | |
at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveVersions(MavenAddonDependencyResolver.java:147) | |
at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:228) | |
at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:149) | |
at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:92) | |
Caused by: java.lang.IllegalArgumentException: Bad artifact coordinates org.jboss.forge.addon:org.jboss.forge.addon:core:2.0.0-SNAPSHOT:jar:forge-addon:[,), expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version> | |
at org.eclipse.aether.artifact.DefaultArtifact.<init>(DefaultArtifact.java:68) | |
at org.eclipse.aether.artifact.DefaultArt |
This file contains 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
@Target( { METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) | |
@Retention(RUNTIME) | |
@Documented | |
public @interface List { | |
URL[] value(); | |
} | |
constraint.addAnnotationElement("@Target( { METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })\n" + | |
"\t@Retention(RUNTIME)\n" + |
This file contains 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 { }; |
This file contains 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 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 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 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 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 |
OlderNewer