[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-209) ***ERROR*** [scaffold from-entity] promptChoice() Cannot ask user to select from a list of nothing. Ensure you have values in your options list.

Travis De Silva (JIRA) jira-events at lists.jboss.org
Fri Jun 17 07:07:23 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFORGE-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609414#comment-12609414 ] 

Travis De Silva commented on SEAMFORGE-209:
-------------------------------------------

Hi Lincoln,

Looks like forge works with maven proxy settings.xml in some instances. Following is some of my findings

- Tried to install the richfaces plugin via command
forge mvn-plugin org.richfaces.forge:richfaces-forge-plugin:1.0.0-SNAPSHOT

This did not work. Got this error ***ERROR*** [forge mvn-plugin] No artifacts found for [org.richfaces.forge:richf
aces-forge-plugin:::1.0.0-SNAPSHOT]

[But I get this error even when I am not behind the proxy. So might be some other issue]


- Then I downloaded the source code of the richfaces plugin and tried to install via command
forge source-plugin \my folder path\forge-plugin-richfaces-8b85e6e

The build kicked off and was successful. Since I did not notice any dependent jars getting downloaded, I tried this with the seam-reports plugin and noticed the dependent jars getting downloaded.
Therefore it means forge uses the maven setttings.xml file

Then of course as per the original post, the scaffold setup does not list the promptChoices

Hope the above helps to identify the issue.

> ***ERROR*** [scaffold from-entity] promptChoice() Cannot ask user to select from a list of nothing. Ensure you have values in your options list.
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SEAMFORGE-209
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-209
>             Project: Seam Forge
>          Issue Type: Feature Request
>          Components: Shell
>    Affects Versions: 1.0.0.Alpha3
>         Environment: Windows 7 32 bit
> Jdk 6.0
>            Reporter: Esteve Aviles
>              Labels: from-entity, scaffold
>
> I get this error while trying:
> [forge-test] Customer2.java $ scaffold from-entity
> No scaffold type was provided, use Forge default? [Y/n] y
> ***ERROR*** [scaffold from-entity] promptChoice() Cannot ask user to select from a list of nothing. Ensure you have values in your options list.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-dev mailing list