Ah. File paths on windows are a bit iffy - we are having issues with them (known bugs right now).<br><br><a href="https://issues.jboss.org/browse/SEAMFORGE-163">https://issues.jboss.org/browse/SEAMFORGE-163</a><br><br>I&#39;m not sure why you are getting prompt choice errors, that might be caused if you are offline or have bad data in your maven repository. If you have some time, try starting over with a clean maven repository.<br>
<br>I hope this helps,<br>~Lincoln<br><br><div class="gmail_quote">On Fri, May 6, 2011 at 4:55 AM, Xavier Coulon <span dir="ltr">&lt;<a href="mailto:xcoulon@gmail.com">xcoulon@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;">
Hello Lincoln,<div><br></div><div>Thanks for the answer. Here&#39;s what I&#39;ve got now, using the latest snapshot:</div><div><br></div><div><div>[customers] customers $ scaffold setup</div><div> ? No scaffold type was selected, use default (Metawidget &amp; JSF)? [Y/n] Y</div>

<div> ? Scaffold provider [metawidget] is not installed. Install it? [Y/n] Y</div><div> ? Facet [forge.maven.WebResourceFacet] requires packaging type(s) [war], but is currently [jar]. Update packaging? (Note: this could deactivate other plugins in your project.) [Y/n] Y</div>

<div>***SUCCESS*** Installed [forge.maven.WebResourceFacet] successfully.</div><div>Wrote /code/sample/customers/src/main/resources/META-INF/persistence.xml</div><div>***SUCCESS*** Installed [forge.spec.jpa] successfully.</div>

<div>Wrote /code/sample/customers/src/main/webapp/WEB-INF/beans.xml</div><div>***SUCCESS*** Installed [forge.spec.cdi] successfully.</div><div>Wrote /code/sample/customers/src/main/webapp/WEB-INF/web.xml</div><div>Wrote /code/sample/customers/src/main/webapp/index.html</div>

<div>***SUCCESS*** Installed [forge.spec.servlet] successfully.</div><div>Wrote /code/sample/customers/src/main/webapp/WEB-INF/faces-config.xml</div><div>***SUCCESS*** Installed [forge.spec.jsf] successfully.</div><div><font color="#ff0000">***ERROR*** [scaffold setup] promptChoice() Cannot ask user to select from a list of nothing. Ensure you have values in your options list.</font></div>

<div><font color="#ff0000"><br></font></div><div>I also had a problem with the &#39;new-project&#39; command:</div><div><div>[no project] bin $ new-project --named customers --topLevelPackage com.sample.customers --projectFolder</div>

<div> /code/samples/customers</div></div><div><font color="#ff0000">***ERROR*** [new-project] command option &#39;--projectFolder&#39; must be of type &#39;Resource&#39;</font></div><div><br></div>
<div>But with a turn-around:</div><div><br></div><div><div>[no project] bin $ new-project --named customers --topLevelPackage com.sample.customers</div><div> ? Use [/software/forge-1.0.0-SNAPSHOT/bin/customers] as project directory? [Y/n] n</div>

<div> ? Where would you like to create the project? [Press ENTER to use the current directory: bin] /code/sample/customers</div><div>Wrote /code/sample/customers/src/main/resources/META-INF/forge.xml</div><div><font color="#33cc00">***SUCCESS*** Created project [customers] in new working directory [/code/sample/customers]</font></div>

</div><div><br></div><div><br></div><div>Also, I forgot to mention that (sadly for those tests), I&#39;m running on win32... (and the prompt message at startup made me laugh ;-))</div><div><br></div><div><div>   ____                          _____</div>

<div><font face="&#39;courier new&#39;, monospace">  / ___|  ___  __ _ _ __ ___    |  ___|__  _ __ __ _  ___</font></div><div><font face="&#39;courier new&#39;, monospace">  \___ \ / _ \/ _` | &#39;_ ` _ \   | |_ / _ \| &#39;__/ _` |/ _ \  \\</font></div>

<div><font face="&#39;courier new&#39;, monospace">   ___) |  __/ (_| | | | | | |  |  _| (_) | | | (_| |  __/  //</font></div><div><font face="&#39;courier new&#39;, monospace">  |____/ \___|\__,_|_| |_| |_|  |_|  \___/|_|  \__, |\___|</font></div>

<div><font face="&#39;courier new&#39;, monospace">                                                |___/</font></div><div> <font color="#ff6600"> Windows? Really? Okay...</font></div>
</div><div><br></div><div><br></div><div>Is there any log or anything I should look at to help ?</div><div><br></div><div>Regards,</div><div>Xavier</div><div><div></div><div class="h5"><div><br></div><br><div class="gmail_quote">
On Thu, May 5, 2011 at 11:10 PM, Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">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">Strange... could you try downloading a recent snapshot and seeing if this is fixed? The command names may have changed slightly:<br>

<br><a href="https://repository.jboss.org/nexus/content/groups/public/org/jboss/forge/forge-distribution/1.0.0-SNAPSHOT/" target="_blank">https://repository.jboss.org/nexus/content/groups/public/org/jboss/forge/forge-distribution/1.0.0-SNAPSHOT/</a><br>


(scroll to the bottom and grab th elatest zip)<br><br>~Lincoln<br><br><div class="gmail_quote"><div><div></div><div>On Thu, May 5, 2011 at 11:25 AM, Xavier Coulon <span dir="ltr">&lt;<a href="mailto:xcoulon@gmail.com" target="_blank">xcoulon@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>Hello,<div><br></div><div>I&#39;m just starting playing with seam-forge (version 0.3 Alpha), following the example provided at <a href="http://docs.jboss.org/forge/snapshot/reference/en-US/html_single/" target="_blank">http://docs.jboss.org/forge/snapshot/reference/en-US/html_single/</a> </div>



<div><br></div><div>Hélas, I get the error message below when running the &#39;scaffold from-entity&#39; command:</div><div><br></div><div><div>[forge-customersmgt-sample] Customer.java $ scaffold setup</div><div>[forge-customersmgt-sample] Customer.java $ scaffold from-entity</div>



<div>No scaffold type was provided, use Forge default? [Y/n] Y</div><div>***ERROR*** [scaffold from-entity] promptChoice() Cannot ask user to select from a list of nothing. Ensure you have values in your options list.</div>



<div><br></div><div>what should I add or check to solve this problem ?</div><div><br></div>Thank you in advance.</div><div><br></div><div>Best regards,</div><div>-- <br>Xavier<br>
</div>
<br></div></div>_______________________________________________<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></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <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></blockquote></div><br><br clear="all"><br></div></div>-- <br>Xavier<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>