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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Rewrite Documentation</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="common/bootstrap.css"> | |
| <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
| <script | |
| src="https://raw.github.com/browserstate/history.js/master/scripts/bundled/html4+html5/jquery.history.js"></script> |
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
| UISelectOne<Object> selectOne = (UISelectOne<Object>) input; | |
| Converter<Object, String> converter = (Converter<Object, String>) InputComponents.getItemLabelConverter( | |
| converterFactory, selectOne); | |
| String value = converter.convert(InputComponents.getValueFor(input)); | |
| final Map<String, Object> items = new HashMap<String, Object>(); | |
| Iterable<Object> valueChoices = selectOne.getValueChoices(); | |
| if (valueChoices != null) { | |
| for (Object choice : valueChoices) { | |
| String itemLabel = converter.convert(choice); | |
| items.put(itemLabel, choice); |
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
| --4bc0a80e-A-- | |
| [09/Apr/2013:08:42:03 --0400] UWQMcH8AAAEAAHmvBHAAAAAN 174.46.173.253 41459 67.23.9.184 80 | |
| --4bc0a80e-B-- | |
| GET /xml/ns/prettyfaces/ocpsoft-pretty-faces-3.3.3.xsd HTTP/1.1 | |
| Cache-Control: no-cache | |
| Pragma: no-cache | |
| User-Agent: Java/1.7.0_15 | |
| Host: ocpsoft.org | |
| Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | |
| Connection: keep-alive |
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
| lb3@quadshark:~/Projects/jboss/forge/core$ forge --list | |
| /home/lb3/.forge/addons: | |
| org.jboss.forge:aesh-spi,2.0.0-SNAPSHOT | |
| org.jboss.forge:convert,2.0.0-SNAPSHOT | |
| org.jboss.forge:facets,2.0.0-SNAPSHOT | |
| org.jboss.forge:environment,2.0.0-SNAPSHOT | |
| org.jboss.forge:ui-hints,2.0.0-SNAPSHOT | |
| org.jboss.forge:ui,2.0.0-SNAPSHOT | |
| org.jboss.forge:aesh,2.0.0-SNAPSHOT |
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
| FTH-0001 - Deployed _DEFAULT_,c8868a50-35bf-4e7c-954c-17c210c4ced2 | |
| FTH-0002 - Deployed org.jboss.forge:projects,2.0.0-SNAPSHOT | |
| INFO: > Starting container [org.jboss.forge:projects,2.0.0-SNAPSHOT] | |
| INFO: > Starting container [_DEFAULT_,c8868a50-35bf-4e7c-954c-17c210c4ced2] | |
| INFO: >> Started container [org.jboss.forge:projects,2.0.0-SNAPSHOT] - 63ms | |
| INFO: >> Started container [_DEFAULT_,c8868a50-35bf-4e7c-954c-17c210c4ced2] - 73ms | |
| FTH-0003 - Executing org.jboss.forge.projects.impl.NewProjectWizardTest.testInvokeCommand() | |
| INFO: < Stopping container [org.jboss.forge:projects,2.0.0-SNAPSHOT] | |
| INFO: << Stopped container [org.jboss.forge:projects,2.0.0-SNAPSHOT] - 2ms | |
| INFO: < Stopping container [_DEFAULT_,c8868a50-35bf-4e7c-954c-17c210c4ced2] |
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
| 2013/03/29 17:49:40,369 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/].[default]] (http-/127.2.65.1:8080-1) Servlet.service() for servlet default threw exception: org.jruby.embed.EvalFailedException: java.lang.NoClassDefFoundError: jay/yydebug/yyDebug | |
| at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:150) [jruby-core-1.6.8.jar:] | |
| at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263) [jruby-core-1.6.8.jar:] | |
| at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1256) [jruby-core-1.6.8.jar:] | |
| at org.ocpsoft.rewrite.transform.markup.Asciidoc.runScript(Asciidoc.java:91) [rewrite-transform-markup-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] | |
| at org.ocpsoft.rewrite.transform.markup.JRubyTransformer.transform(JRubyTransformer.java:76) [rewrite-transform-markup-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] | |
| at org.ocpsoft.rewrite.transform.StringTransformer.transform(StringTransformer.java:50) [rewrite-transform-2.0.0-SNAPSHOT.jar:2.0.0-SNAP |
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
| Staging ruleset evaluation on repository 'JBoss Releases Staging Profile-108 (u:lincolnthree, a:174.108.119.186)' has failed. | |
| Staging Sources Validation | |
| -Missing: no main jar artifact found in folder '/org/jboss/forge/facets/2.0.0.Alpha1' | |
| -Missing: no main jar artifact found in folder '/org/jboss/forge/environment/2.0.0.Alpha1' | |
| -Missing: no main jar artifact found in folder '/org/jboss/forge/ui-hints/2.0.0.Alpha1' | |
| -Missing: no main jar artifact found in folder '/org/jboss/forge/example2/2.0.0.Alpha1' | |
| -Missing: no main jar artifact found in folder '/org/jboss/forge/example/2.0.0.Alpha1' | |
| -Missing: no main jar artifact found in folder '/org/jboss/forge/convert/2.0.0.Alpha1' |
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]$ | |
| alias ls quit install-an-addon remove-an-addon clear exit | |
| list-services stop more less new-project man | |
| [forge]$ man new-project | |
| No manual page found for: new-project | |
| [forge]$ man less | |
| [forge]$ man less | |
| [forge]$ install-an-addon | |
| Addon null:null,null could not be installed. | |
| [forge]$ |
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
| AddonRegistry registry = runnable.getForge().getAddonRegistry(); | |
| Future<Addon> future = registry.start(addonToDeploy); | |
| try | |
| { | |
| Addon addon = future.get(); | |
| if (addon.getStatus().isFailed() || addon.getStatus().isMissing()) | |
| { | |
| ContainerException e = new ContainerException("Addon " + addonToDeploy + " failed to deploy."); |
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
| @Override | |
| public Lock obtainLock(LockMode mode) | |
| { | |
| ReadWriteLock readWriteLock = new ReentrantReadWriteLock(true); | |
| if (LockMode.READ.equals(mode)) | |
| return readWriteLock.readLock(); | |
| else | |
| return readWriteLock.writeLock(); |