6 Replies Latest reply: Sep 21, 2011 4:30 AM by Sebastian Sachtleben RSS

Seam Forge: empty promptChoice() problem

Marx3 Apprentice

Hello
I use  Seam Forge Alpha 4 and here is an error:





[no project] forge $ new-project --named marx --t
--topLevelPackage    --type                       
[no project] forge $ new-project --named marx --topLevelPackage pl.marx
 ? Use [/home/marx/forge/marx] as project directory? [Y/n] 
Wrote /home/marx/forge/marx/src/main/resources/META-INF/forge.xml
***SUCCESS*** Created project [marx] in new working directory [/home/marx/forge/marx]
[marx] marx $ scaffold setup 
 ? No scaffold type was selected, use default (Metawidget & JSF)? [Y/n] 
 ? Scaffold provider [metawidget] is not installed. Install it? [Y/n] 
 ? 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] 
***SUCCESS*** Installed [forge.maven.WebResourceFacet] successfully.
Wrote /home/marx/forge/marx/src/main/resources/META-INF/persistence.xml
***SUCCESS*** Installed [forge.spec.jpa] successfully.
Wrote /home/marx/forge/marx/src/main/webapp/WEB-INF/beans.xml
***SUCCESS*** Installed [forge.spec.cdi] successfully.
Wrote /home/marx/forge/marx/src/main/webapp/WEB-INF/web.xml
Wrote /home/marx/forge/marx/src/main/webapp/index.html
***SUCCESS*** Installed [forge.spec.servlet] successfully.
Wrote /home/marx/forge/marx/src/main/webapp/WEB-INF/faces-config.xml
***SUCCESS*** Installed [forge.spec.jsf] successfully.
***ERROR*** [scaffold setup] promptChoice() Cannot ask user to select from a list of nothing. Ensure you have values in your options list.
[marx] marx $ scaffold setup 
 ? No scaffold type was selected, use default (Metawidget & JSF)? [Y/n] 
 ? Scaffold provider [metawidget] is not installed. Install it? [Y/n] 
***ERROR*** [scaffold setup] promptChoice() Cannot ask user to select from a list of nothing. Ensure you have values in your options list.



Can it be caused by incorrect proxy configuration?
Seam Forge has some sort of offline mode, but how to use it?