forge / plugin-arquillian

Forge Arquillian Plugin
http://www.jboss.org/arquillian
19 stars 16 forks source link

Setup fails - Default value [null] #4

Closed DarthBonkers closed 13 years ago

DarthBonkers commented 13 years ago

Installed from source and run setup:

Which version of JBoss AS 7 do you want to use?

...

6 - [org.jboss.as:jboss-as-arquillian-container-remote:::7.0.1.Final]

? Choose an option by typing the number of the selection [*-default]: 6

Wrote C:\/Users/myuser/workspace/TestForge4/pom.xml _ERROR_ [arquillian setup] Default value [null] is not a valid match for the given prompt type [FILE_PATH]

paulbakker commented 13 years ago

It was required that the JBOSS_HOME environment variable was set, this is fixed now, so please try installing again.

DarthBonkers commented 13 years ago

Great, thanks, now it works . But still dont get arquillian create-test to run.

beans new-bean --type NiceBean.java Wrote C:\/Users/myuser/workspace/ArqTest/src/main/java/NiceBean.java

_ERROR_ [beans new-bean] null

By the way, this 'null' happens offen, also with other plugins.

paulbakker commented 13 years ago

The beans command is part of Forge core, not the Arquillian plugin. I can't reproduce it on the latest sources of Forge, so my guess is this is fixed.

The general error is annoying indeed; it's more or less a crash in the plugin (unhanded exception). If you want to get more info you can enable verbose output by: set VERBOSE true.