-
1. Re: WebBeans in JBoss AS 5.1
pmuir Aug 20, 2009 1:14 PM (in response to alexanderbell)Easiest is to grab a copy of trunk and run the jboss-as/build.xml script which will update it for you.
-
2. Re: WebBeans in JBoss AS 5.1
alexsmirnov.alsmirnnov.gmail.com Sep 26, 2009 9:13 AM (in response to alexanderbell)Hi, Pete. I did that, but got
org.jboss.deployers.spi.DeploymentException: Missing ValidatorFactory attachment in deployment:...
error from numberguess example last time ( bean validator library has been updated to 1.0.CR3 by the same ANT script ).
What's wrong ? -
3. Re: WebBeans in JBoss AS 5.1
pmuir Sep 28, 2009 1:24 PM (in response to alexanderbell)For Web Beans trunk, you must use a new snapshot of JBoss AS 5.2 (newer than 15th Sept) from http://hudson.jboss.org/hudson/view/JBoss AS/job/JBoss-AS-5.1.x/
-
4. Re: WebBeans in JBoss AS 5.1
paul Sep 28, 2009 8:30 PM (in response to alexanderbell)The link is not working, there is a 5.2 download in Hudson however. Is http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-5.x-sun16/ the correct link?
-
5. Re: WebBeans in JBoss AS 5.1
pieter.martin Sep 28, 2009 9:14 PM (in response to alexanderbell)I get the following exception when trying to build web beans from trunk
pieter@pieter-work:~/webbeans-trunk/webbeans$ mvn install [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/jboss/webbeans/webbeans-parent/1.0.0.PREVIEW4.SP1/webbeans-parent-1.0.0.PREVIEW4.SP1.pom [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.jboss.webbeans:webbeans-osgi-bundle:jar:null Reason: Cannot find parent: org.jboss.webbeans:webbeans-parent for project: org.jboss.webbeans:webbeans-osgi-bundle:jar:null for project org.jboss.webbeans:webbeans-osgi-bundle:jar:null [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jboss.webbeans:webbeans-parent for project: org.jboss.webbeans:webbeans-osgi-bundle:jar:null for project org.jboss.webbeans:webbeans-osgi-bundle:jar:null at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Is the build broken for now or am I doing something wrong?
Also will this require jboss 5.2 as in previous post?
Thanks
Pieter -
6. Re: WebBeans in JBoss AS 5.1
alexsmirnov.alsmirnnov.gmail.com Sep 28, 2009 9:27 PM (in response to alexanderbell)Osgi module pom.xml refers to 1.0.0.PREVIEW4.SP1 root pom while all other modules use 1.0.0-SNAPSHOT. I just changed my version in the local copy to 1.0.0-SNAPSHOT and built project with that settings, and then deployed new webbeans instance to Jboss 5.2... downloaded from http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-5.x-sun16/ , pete's link is only visible inside Red Hat.
I ignored build error in the test project because it's artifact is not deployed to server. -
7. Re: WebBeans in JBoss AS 5.1
pieter.martin Sep 28, 2009 10:19 PM (in response to alexanderbell)Thanks,
Pieter -
8. Re: WebBeans in JBoss AS 5.1
pmuir Oct 3, 2009 8:34 PM (in response to alexanderbell)
Paul Bakker wrote on Sep 28, 2009 20:30:
The link is not working, there is a 5.2 download in Hudson however. Is http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-5.x-sun16/ the correct link?Yes, the URL got changed under me ;-)
-
9. Re: WebBeans in JBoss AS 5.1
pmuir Oct 3, 2009 8:35 PM (in response to alexanderbell)hudson.jboss.org is available both inside and outside the Red Hat VPN, the name of the build changed however. I've subsequently fixed the problem with osgi bundle pom.