Awesome, thanks guys!
Pablo, let me know if you need any assistance. We have two launch scripts
that will need to be updated for this to work, I think, (the forge and
forge.bat) files in the dist/src/main/assembly/bin folder :)
This will *really* be something cool! I am very excited,
~Lincoln
On Mon, Jan 9, 2012 at 10:27 AM, Jan Papousek <jpapouse(a)redhat.com> wrote:
Thanks for your positive response.
I've created a new JIRA FORGE-422 describing the feature request.
Regards,
Jan
----- Original Message -----
From: "Pablo Palazon" <pablo.palazon(a)gmail.com>
To: "Lincoln Baxter, III" <lincolnbaxter(a)gmail.com>
Cc: "forge-users List" <forge-users(a)lists.jboss.org>, "forge-dev
List" <
forge-dev(a)lists.jboss.org>
Sent: Friday, January 6, 2012 6:43:22 PM
Subject: Re: [forge-users] executing script in forge
Yeah, I can do it, Lincoln!!, I'll be an interesting option to forge.
Have you created an issue for this??
On Fri, Jan 6, 2012 at 5:53 PM, Lincoln Baxter, III <
lincolnbaxter(a)gmail.com > wrote:
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"
_______________________________________________
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