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'
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@gmail.com>
To: "forge-users List" <forge-users@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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users