-
15. Re: Problem building arquillian
henk53 Oct 25, 2010 6:17 PM (in response to aslak)Aslak Knutsen wrote:
It's not possible to build Arquillian without Maven, unless you want to write all the build scripts your self.. but you can use it.
And what about binaries? What is exactly the reason that Arquillian always needs to be build by the end user?
-
16. Re: Problem building arquillian
dan.j.allen Oct 25, 2010 11:54 PM (in response to henk53)henk de boer wrote:
Aslak Knutsen wrote:
It's not possible to build Arquillian without Maven, unless you want to write all the build scripts your self.. but you can use it.
And what about binaries? What is exactly the reason that Arquillian always needs to be build by the end user?
Ah, you don't. Perhaps we aren't being clear enough about that (some site updates are in the works). You only need to build Arquillian if you are interested in tracking the latest changes or participate in development.
All you need to use Arquillian are the JAR files published to the JBoss Community Nexus Repository (i.e., Maven repository). The Getting Started Guide explains how to setup Arquillian in a Maven 2 project. The Build Integration chapter (currently in snapshot) explains how to include Arquillian in a Gradle and Ant build. We'll add other build systems as requested.
-
17. Re: Problem building arquillian
iapazmino Oct 28, 2010 12:20 AM (in response to dan.j.allen)hey, i tried with maven 3.0, beta 2 and beta 1. Every time it failed testing jbossas 6 embedded.
I did make sure the code I had is up to date.
From git://github.com/arquillian/arquillian
= [up to date] 1.0.0.Alpha4-OSGi -> origin/1.0.0.Alpha4-OSGi
= [up to date] master -> origin/master
= [up to date] next -> origin/next
Already up-to-date.The exception in the report is the following
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 41.465 sec <<< FAILURE!
shouldBeAbleToInjectEJBAsInstanceVariable(org.jboss.arquillian.container.jbossas.embedded_6.JBossASEmbeddedIntegrationTestCase) Time elapsed: 0.344 sec <<< ERROR!
java.lang.RuntimeException: Could not load services for org.jboss.arquillian.spi.ContainerConfiguration...
Caused by: java.lang.IllegalStateException: Service org.jboss.arquillian.container.jbossas.embedded_6.JBossASContainerConfiguration does not implement expected type org.jboss.arquillian.spi.ContainerConfiguration
at org.jboss.arquillian.impl.DynamicServiceLoader.load(DynamicServiceLoader.java:199)...
So, I skipped test to get the artifacts for my tests... But, I do want to build successfully so maybe any idea on what might have gone wrong?
-
18. Re: Problem building arquillian
dan.j.allen Oct 28, 2010 12:50 AM (in response to iapazmino)It's highly likely that you can't build it because it's just broken atm. The way I would recommend approaching the situation is that if Ike (the logo) is mad on the Arquillian home page, then don't expect to be able to build it yourself. He's been upset for a while as we go through some internal refactorings. We are going to make him happy before Beta1 for sure.
Thanks for your patience. You best bet is to just skip that container, or build the container that you want to build. I've updated the build page with the instructions for a partial container build.
-
19. Re: Problem building arquillian
iapazmino Oct 28, 2010 1:00 AM (in response to dan.j.allen)hahaha didn't noticed the expression on the logo...
thanks.