Yeah, I can do it, Lincoln!!, I&#39;ll be an interesting option to forge.<br><br>Have you created an issue for this??<br><br><div class="gmail_quote">On Fri, Jan 6, 2012 at 5:53 PM, Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah. (CC&#39;d Dev List)<br><br>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.<br>


<br>I think I know someone who would be interested in getting this to work :)<br><br>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:<br>


<br><b> --evaluate</b> or <b>-e</b> for short<br><br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">forge -e &#39;run /path/to/script.fsh&#39;<br>

</blockquote>
<br>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.<br>


<br>~Lincoln<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Fri, Jan 6, 2012 at 8:19 AM, Jan Papousek <span dir="ltr">&lt;<a href="mailto:jpapouse@redhat.com" target="_blank">jpapouse@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks, but it isn&#39;t exactly what I need. I&#39;d like to execute the script without going to the Forge console (something like &quot;forge --run myscript.fsh&quot;).<br>
<br>
Regards,<br>
Jan<br>
<div><div><br>
----- Original Message -----<br>
From: &quot;Lincoln Baxter, III&quot; &lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>&gt;<br>
To: &quot;forge-users List&quot; &lt;<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a>&gt;<br>
Sent: Thursday, January 5, 2012 7:53:24 PM<br>
Subject: Re: [forge-users] executing script in forge<br>
<br>
<br>
<br>
<br>
Hey Jan!<br>
<br>
You bet!<br>
<br>
There are some samples here, just run with &quot;run&quot; or &quot;run-url&quot;:<br>
<br>
<a href="https://github.com/forge/core/tree/master/showcase" target="_blank">https://github.com/forge/core/tree/master/showcase</a><br>
<br>
Let me know if you need more. Im working on docs for this right now.<br>
<br>
~lincoln<br>
On Jan 5, 2012 7:53 AM, &quot;Jan Papousek&quot; &lt; <a href="mailto:jpapouse@redhat.com" target="_blank">jpapouse@redhat.com</a> &gt; wrote:<br>
<br>
<br>
Hi,<br>
<br>
I have a little beginner question. Is here any possibility to write and execute script in Forge? (e.g. in Bash &quot;bash myscript.sh&quot;)<br>
<br>
Regards,<br>
Jan<br>
_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
<br>
_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br><a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>

&quot;Keep it Simple&quot;<br>

</font></span></blockquote></div><br>