Estou seguindo o livro Beginning JSF 2 APIs And JBoss.
Nele diz para instalar o Web Beans no Jboss.
1‑1. Tell Web Beans Where JBoss Is
jboss.home=c:\jboss
java.opts=…
webbeans-ri-int.version=5.2.0-SNAPSHOT
webbeans-ri.version=1.0.0-SNAPSHOT
jboss-ejb3.version=1.0.0
Open a command prompt, make sure you?re connected to the Internet, and then
issue the commands shown in Listing
1‑2. Issue These Commands at the Command Prompt
c:>cd \webbeans\jboss-as
c:>set ANT_HOME=c:\ant
c:>ant update
This will output a lot of messages. If everything is fine, you should see a ?BUILD SUCCESSFUL?
message at the end, as shown here:
…
Mas o Web Beans não existe mais. No seu lugar entrou o Weld.
Mesmo assim tento fazer o q o livro diz.
Só mudando o Web Beans pelo Weld.
Porém o que acontece na hora de fazer o ant update é o seguinte:
Buildfile: D:\Develop\weld-1.0.1-Final\jboss-as\build.xml
update:
BUILD FAILED
D:\Develop\weld-1.0.1-Final\jboss-as\build.xml:5: Set JBOSS_HOME environment variable and use mvn -Pupdate-jboss-as
Já configurei o JBOSS_HOME. E não entendo o que mvn -Pupdate-jboss-as faz.
Preciso muito conseguir isso funcionar para continuar meus estudos.
Abraços