[JBoss JIRA] (FORGE-1309) Git apply command fails if the --directory option is specified
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGE-1309:
--------------------------------------
Summary: Git apply command fails if the --directory option is specified
Key: FORGE-1309
URL: https://issues.jboss.org/browse/FORGE-1309
Project: Forge
Issue Type: Bug
Components: Builtin Plugins, UI - Shell
Affects Versions: 1.4.1.Final
Reporter: Vineet Reynolds
This seems to be an issue in Shell or the Git plugin, or both.
Running the following command: {{git apply -v --directory=demo --ignore-whitespace --ignore-space-change patches/admin_layer_functional.patch;}} blows up with the following error:
{noformat}
***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)
[Error: could not access: git; in class: org.jboss.forge.shell.command.fshparser.FSHRuntime]
[Near : {... git apply -v --directory = dem ....}]
^
[Line: 1, Column: 1]
at org.mvel2.PropertyAccessor.getBeanProperty(PropertyAccessor.java:676)
at org.mvel2.PropertyAccessor.getNormal(PropertyAccessor.java:178)
at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:147)
at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:127)
at org.mvel2.ast.ASTNode.getReducedValue(ASTNode.java:187)
at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:106)
at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:49)
at org.mvel2.MVEL.eval(MVEL.java:185)
at org.jboss.forge.shell.command.fshparser.Parse.executeScript(Parse.java:138)
at org.jboss.forge.shell.command.fshparser.AutoReducingQueue.reduce(AutoReducingQueue.java:84)
at org.jboss.forge.shell.command.fshparser.AutoReducingQueue.peek(AutoReducingQueue.java:75)
at org.jboss.forge.shell.command.fshparser.AutoReducingQueue$1.next(AutoReducingQueue.java:171)
at org.jboss.forge.shell.command.fshparser.AutoReducingQueue$1.next(AutoReducingQueue.java:159)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:78)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.shell(FSHRuntime.java:117)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104)
at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987)
at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:344)
at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143)
at org.mvel2.optimizers.dynamic.DynamicOptimizer.optimizeAccessor(DynamicOptimizer.java:67)
at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:100)
at org.mvel2.ast.IfNode.getReducedValueAccelerated(IfNode.java:74)
at org.mvel2.ast.IfNode.getReducedValueAccelerated(IfNode.java:77)
at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:38)
at org.mvel2.ast.IfNode.getReducedValueAccelerated(IfNode.java:74)
at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113)
at org.mvel2.ast.Function.call(Function.java:157)
at org.mvel2.PropertyAccessor.getMethod(PropertyAccessor.java:885)
at org.mvel2.PropertyAccessor.getNormal(PropertyAccessor.java:181)
at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:147)
at org.mvel2.PropertyAccessor.get(PropertyAccessor.java:127)
at org.mvel2.ast.ASTNode.getReducedValue(ASTNode.java:187)
at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:106)
at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:49)
at org.mvel2.MVEL.eval(MVEL.java:185)
at org.jboss.forge.shell.command.fshparser.Parse.executeScript(Parse.java:138)
at org.jboss.forge.shell.command.fshparser.AutoReducingQueue.reduce(AutoReducingQueue.java:84)
at org.jboss.forge.shell.command.fshparser.AutoReducingQueue.peek(AutoReducingQueue.java:75)
at org.jboss.forge.shell.command.fshparser.AutoReducingQueue$1.next(AutoReducingQueue.java:171)
at org.jboss.forge.shell.command.fshparser.AutoReducingQueue$1.next(AutoReducingQueue.java:159)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:78)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:938)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.execute(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at org.jboss.forge.shell.plugins.builtin.RunPlugin.run(RunPlugin.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.shell.command.Execution.perform(Execution.java:160)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)
at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)
at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796)
at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819)
at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)
at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)
at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)
at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)
at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)
at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)
at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)
at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186)
at java.lang.Thread.run(Thread.java:744)
{noformat}
The same command works in bash.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (FORGE-1308) Dependency of plugin hibernate-tools cannot be found (maven repo issue)
by Thomas Reimer (JIRA)
Thomas Reimer created FORGE-1308:
------------------------------------
Summary: Dependency of plugin hibernate-tools cannot be found (maven repo issue)
Key: FORGE-1308
URL: https://issues.jboss.org/browse/FORGE-1308
Project: Forge
Issue Type: Bug
Components: Plugin Repository
Affects Versions: 1.4.2.Final
Environment: Ubuntu 13.04 x64, jdk1.7.0_45
Reporter: Thomas Reimer
Trying to install "hibernate-tools" plugin in forge I get the following error message:
{code}
***INFO*** Preparing to install plugin: hibernate-tools
***INFO*** Checking out plugin source files to [/tmp/forgetemp6676292349174691559] via 'git'
***INFO*** Switching to branch/tag [refs/heads/master]
***WARNING*** Failed to resolve dependency [ org.eclipse.equinox:common:jar:3.2.0-v20060603 (compile) ] , due to error(s) : [org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.eclipse.equinox:common:jar:3.2.0-v20060603 in JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public)]
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hibernate-tools-plugin 1.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.619s
[INFO] Finished at: Fri Nov 15 09:46:22 CET 2013
[INFO] Final Memory: 43M/438M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hibernate-tools-plugin: Could not resolve dependencies for project org.jboss.hibernate.forge:hibernate-tools-plugin:jar:1.2.0-SNAPSHOT: Failure to find org.eclipse.equinox:common:jar:3.2.0-v20060603 in http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of JBOSS_NEXUS has elapsed or updates are forced -> [Help 1]
{code}
Obviously the maven repository is not the correct one - the dependency org.eclipse.equinox indeed is not located at http://repository.jboss.org/nexus/content/groups/public - but at https://repository.jboss.org/nexus/content/groups/{color:red}public-jboss....
So at the moment it is not possible to install the hibernate-tools plugin.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (FORGE-552) Escaping of selected characters doesn't work
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-552?page=com.atlassian.jira.plugin.... ]
Lincoln Baxter III closed FORGE-552.
------------------------------------
Fix Version/s: 2.0.0.Alpha14
(was: 1.x Future)
Resolution: Done
This has been addressed via the conversion to Aesh high level CLI API.
> Escaping of selected characters doesn't work
> --------------------------------------------
>
> Key: FORGE-552
> URL: https://issues.jboss.org/browse/FORGE-552
> Project: Forge
> Issue Type: Bug
> Components: Forge Build
> Affects Versions: 1.0.2.Final
> Environment: Ubuntu 10.04 i686
> Reporter: Jevgeni Zelenkov
> Fix For: 2.0.0.Alpha14
>
>
> This is related to the https://issues.jboss.org/browse/FORGE-43 issue.
> The following characters in file names should be escaped by the forge completion:
> \* ? = ' " { } \ $ ! & ; ( ) < > |
> also: TAB-char (yes, I know it is stupid, but possible)
> First two (*, ?) are used internally as wildcard chars, so should be allowed to be used escaped as well as unescaped.
> = char doesn't need to be escaped neither on linux nor on windows but somehow forge fails to work with files containing = (at least on my ubuntu).
> Windows has a slightly different set of chars to be escaped (from wikipedia, not actually tested):
> ' " = & | ( ) < > ^
> This issue is added for completeness.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (FORGE-1270) Forge 2.0.0.Aplha13 doesn't start on Windows
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1270?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III closed FORGE-1270.
-------------------------------------
Fix Version/s: 2.0.0.Alpha14
Resolution: Done
> Forge 2.0.0.Aplha13 doesn't start on Windows
> --------------------------------------------
>
> Key: FORGE-1270
> URL: https://issues.jboss.org/browse/FORGE-1270
> Project: Forge
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha13
> Environment: Win 7-64b, JDK 1.7.0_45, forge 2.0.0.Alpha13
> Reporter: Fred Bricon
> Priority: Blocker
> Fix For: 2.0.0.Alpha14
>
>
> * Start forge
> * Forge banner is shown
> * Prompt never shows up
> See threaddump :
> {noformat}
> 2013-10-20 10:37:12
> Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode):
> "Reference Reaper" daemon prio=6 tid=0x000000000c994000 nid=0x259c in Object.wait() [0x000000000d9af000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000007d6c50bc8> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
> - locked <0x00000007d6c50bc8> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
> at org.jboss.modules.ref.References$ReaperThread.run(References.java:68)
> "Service Thread" daemon prio=6 tid=0x000000000a9c8000 nid=0x1b68 runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread1" daemon prio=10 tid=0x000000000a9c6000 nid=0x2380 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread0" daemon prio=10 tid=0x000000000a9c1000 nid=0x1bdc waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "Attach Listener" daemon prio=10 tid=0x000000000a9bf000 nid=0x209c waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "Signal Dispatcher" daemon prio=10 tid=0x000000000a9b8000 nid=0x22e0 runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "Finalizer" daemon prio=8 tid=0x000000000a969800 nid=0x1b58 in Object.wait() [0x000000000bc8f000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000007d6605568> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
> - locked <0x00000007d6605568> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
> at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)
> "Reference Handler" daemon prio=10 tid=0x000000000a95e000 nid=0x1b80 in Object.wait() [0x000000000be2f000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000007d66050f0> (a java.lang.ref.Reference$Lock)
> at java.lang.Object.wait(Object.java:503)
> at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
> - locked <0x00000007d66050f0> (a java.lang.ref.Reference$Lock)
> "main" prio=6 tid=0x00000000023af000 nid=0x1124 waiting on condition [0x00000000027df000]
> java.lang.Thread.State: TIMED_WAITING (sleeping)
> at java.lang.Thread.sleep(Native Method)
> at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:177)
> at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:122)
> at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:170)
> at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:88)
> "VM Thread" prio=10 tid=0x000000000a958800 nid=0x24a0 runnable
> "GC task thread#0 (ParallelGC)" prio=6 tid=0x000000000229e800 nid=0x1d70 runnable
> "GC task thread#1 (ParallelGC)" prio=6 tid=0x00000000022a0800 nid=0x7e8 runnable
> "GC task thread#2 (ParallelGC)" prio=6 tid=0x00000000022a2000 nid=0x1694 runnable
> "GC task thread#3 (ParallelGC)" prio=6 tid=0x00000000022a3800 nid=0xe70 runnable
> "VM Periodic Task Thread" prio=10 tid=0x000000000a9de000 nid=0x1e7c waiting on condition
> JNI global references: 134
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month