Re: [forge-dev] [forge-users] executing script in forge
by Lincoln Baxter, III
Ah. (CC'd Dev List)
That is not supported right now, but could you put an Issue in JIRA for it
with whatever details you can provide? It would just be a matter of passing
through the run argument to an automatic execution of the run command, so
it would be easy to do, but it would be pretty slow because forge takes a
while to start up.
I think I know someone who would be interested in getting this to work :)
Pablo. Are you interested in taking your run/run-url enhancements to a
whole new level? This would actually be pretty nice (the ability to pass
commands into forge from the native shell.) Something like:
* --evaluate* or *-e* for short
forge -e 'run /path/to/script.fsh'
>
It would just be a small change in the startup scripts, and the use of
System.getProperty(), plus probably a modification of the Bootstrap.java
file to be able to pick up that property and invoke the proper behavior.
Maybe need a new type of event to fire to make this a clean abstraction.
~Lincoln
On Fri, Jan 6, 2012 at 8:19 AM, Jan Papousek <jpapouse(a)redhat.com> wrote:
> Thanks, but it isn't exactly what I need. I'd like to execute the script
> without going to the Forge console (something like "forge --run
> myscript.fsh").
>
> Regards,
> Jan
>
> ----- Original Message -----
> From: "Lincoln Baxter, III" <lincolnbaxter(a)gmail.com>
> To: "forge-users List" <forge-users(a)lists.jboss.org>
> Sent: Thursday, January 5, 2012 7:53:24 PM
> Subject: Re: [forge-users] executing script in forge
>
>
>
>
> Hey Jan!
>
> You bet!
>
> There are some samples here, just run with "run" or "run-url":
>
> https://github.com/forge/core/tree/master/showcase
>
> Let me know if you need more. Im working on docs for this right now.
>
> ~lincoln
> On Jan 5, 2012 7:53 AM, "Jan Papousek" < jpapouse(a)redhat.com > wrote:
>
>
> Hi,
>
> I have a little beginner question. Is here any possibility to write and
> execute script in Forge? (e.g. in Bash "bash myscript.sh")
>
> Regards,
> Jan
> _______________________________________________
> forge-users mailing list
> forge-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users
>
> _______________________________________________
> forge-users mailing list
> forge-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users
> _______________________________________________
> forge-users mailing list
> forge-users(a)lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users
>
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
12 years, 10 months
Navigation plugin
by Pablo Palazon
Hi everyone
I'd like to present you a new plugin about #FORGE-198 (
https://issues.jboss.org/browse/FORGE-198)
It's helpful to save and recovery bookmarks at Forge Resources. I decided
to create a external plugin, it is in
https://github.com/ppalazon/forge-navigation
Maybe you're interesting to include it to forge core, then you're free to
include it at core and I'll remove this from this git repository.
I hope that it'll be useful for you, and I'd like to know your feedback
about this. Thanks.
12 years, 10 months