[JBoss JIRA] (WFCORE-427) CLI doesn't read alias from .jbossclirc
by Ståle Pedersen (JIRA)
[ https://issues.jboss.org/browse/WFCORE-427?page=com.atlassian.jira.plugin... ]
Ståle Pedersen commented on WFCORE-427:
---------------------------------------
Hi, so in Wildfly10 the cli uses a different file; ~/.aesh_aliases, it will be changed in a later version.
> CLI doesn't read alias from .jbossclirc
> ---------------------------------------
>
> Key: WFCORE-427
> URL: https://issues.jboss.org/browse/WFCORE-427
> Project: WildFly Core
> Issue Type: Feature Request
> Components: CLI
> Reporter: Osamu Nagano
> Assignee: Alexey Loubyansky
>
> By WFLY-1063, a variable can be defined in .jbossclirc and preloaded by CLI. But aliases are not able to define with {{org.jboss.as.cli.CliInitializationException}}.
> {code}
> $ cat .jbossclirc
> set prod_db=/subsystem=datasources/data-source=ExampleDS
> alias ll=ls -l
> $ $JBOSS_HOME/bin/jboss-cli.sh -c
> Unexpected command 'alias ll=ls -l'. Type 'help --commands' for the list of supported commands.
> org.jboss.as.cli.CliInitializationException: Failed to process /home/onagano/cases/01180422/wf810/.jbossclirc
> at org.jboss.as.cli.impl.CliLauncher.runcom(CliLauncher.java:352)
> at org.jboss.as.cli.impl.CommandContextImpl.<init>(CommandContextImpl.java:305)
> at org.jboss.as.cli.impl.CommandContextFactoryImpl.newCommandContext(CommandContextFactoryImpl.java:76)
> at org.jboss.as.cli.impl.CliLauncher.initCommandContext(CliLauncher.java:273)
> at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:253)
> at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
> 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.modules.Module.run(Module.java:312)
> at org.jboss.modules.Main.main(Main.java:460)
> {code}
> Enclosing by single quote or double quote won't help.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (WFCORE-1294) Alias in jboss-cli are not persistent
by Ståle Pedersen (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1294?page=com.atlassian.jira.plugi... ]
Ståle Pedersen edited comment on WFCORE-1294 at 2/3/16 8:04 AM:
----------------------------------------------------------------
hi, sorry for not following this up, but this was merged into 0.66.3 and is in Wildfly10.0.0.Final
However it seems that jboss-cli is not specifying the correct filename, this will be fixed in another version.
was (Author: stalep):
hi, sorry for not following this up, but this was merged into 0.66.3 and is in Wildfly10.0.0.Final
> Alias in jboss-cli are not persistent
> -------------------------------------
>
> Key: WFCORE-1294
> URL: https://issues.jboss.org/browse/WFCORE-1294
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.0.5.Final
> Reporter: Alexis Hassler
> Assignee: Ståle Pedersen
> Fix For: 2.0.10.Final
>
>
> Alias are supposed to be persistent in Aesh, but it fails due to a bug. This bug has been fix in Aesh but after version 0.66.2.
> see AESH-341
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (WFLY-6117) Remove javax.transaction.api after it is moved to core
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/WFLY-6117?page=com.atlassian.jira.plugin.... ]
David Lloyd updated WFLY-6117:
------------------------------
Description: The javax.transaction.api module should be in core, because there are modules in core which depend on it. Move it there, and then delete it from the main build. (was: The javax.transaction.api module should be in core, because there are modules in core which depend on it. Move it here.)
> Remove javax.transaction.api after it is moved to core
> ------------------------------------------------------
>
> Key: WFLY-6117
> URL: https://issues.jboss.org/browse/WFLY-6117
> Project: WildFly
> Issue Type: Task
> Reporter: David Lloyd
> Fix For: 10.1.0.Final
>
>
> The javax.transaction.api module should be in core, because there are modules in core which depend on it. Move it there, and then delete it from the main build.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (WFCORE-1357) Move javax.transaction.api to core
by David Lloyd (JIRA)
David Lloyd created WFCORE-1357:
-----------------------------------
Summary: Move javax.transaction.api to core
Key: WFCORE-1357
URL: https://issues.jboss.org/browse/WFCORE-1357
Project: WildFly Core
Issue Type: Task
Components: Modules
Reporter: David Lloyd
Fix For: 2.0.11.Final
The javax.transaction.api module should be in core, because there are modules in core which depend on it. Move it here.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months