-
1. Re: Is it possible to use Arquillian with non-maven projects?
dan.j.allen Oct 13, 2010 6:45 PM (in response to marti)Indeed there is. The examples happen to use Maven because we build the project with Maven. But Arquillian is all about the Java API, so it can be used with any Java build tool (namely Ant and Gradle).
I've written an entire chapter on build integration, it just hasn't made it into an Arquillian release. So I pushed out a snapshot of the reference document so that the chapter can be read today.
Chapter 11 - Build system integration
You can also see a working example of the Ant and Gradle builds in my fork of the Arquillian showcase.
Arquillian showcase with Ant and Gradle builds (in the cdi module)
I'm going to push changes to the showcase soon that demonstrate using Arquillian with JSFUnit on Jetty. I just haven't gotten around to it yet.
-
2. Re: Is it possible to use Arquillian with non-maven projects?
marti Oct 13, 2010 7:27 PM (in response to dan.j.allen)Hi Dan.
thank you for reply and thank you for additional chapter.
as being a starter i didn't catch lot from tutorial, however i could understad that it is possible.
I have a project in my eclipse that is JSF project and uses tomcat 6.0. I was able to use JSFUnit to test some of the components of jsf.
now i want to know is there any chance to bring Arquillian in. without removing any configuration necessary to work with JSFUnit.
I'm telling this because when I was editing web.xml to bring Arquillian's servlet and servlet mapping, an error occured. (duplicated servlet)...
any suggestion?
thanks
-
3. Re: Is it possible to use Arquillian with non-maven projects?
dan.j.allen Oct 13, 2010 10:46 PM (in response to marti)I think what you will benefit from is an example of Arquillian + JSFUnit working with Tomcat 6.0. Your experience also tells me that we need to put together a distribution download so that you can easily get all the JAR files you would need to use Arquillian if you aren't using a dependency-managed tool like Maven or Ivy to pull down the artifacts. I can't give you an answer right away, but you have given me a good idea of what we can do to help developers get started.
-
4. Re: Is it possible to use Arquillian with non-maven projects?
amathewjboss1 Oct 14, 2010 2:08 AM (in response to dan.j.allen)I am trying to run a Arquillian test case for a Local Stateless session bean within a Embedded Jboss container (i.e without a running Jboss server) ? Is it really possible? I am using Jboss 5.1. Thank you for any suggestions.
-
5. Re: Is it possible to use Arquillian with non-maven projects?
aslak Oct 14, 2010 3:38 AM (in response to amathewjboss1)JBoss AS 5.1 only support managed or remote containers. Meaning Arquillian can either start the server for you(managed) or you start it and arquillian will connect to it(remote). You need JBoss AS 6 to get embedded.
-
6. Re: Is it possible to use Arquillian with non-maven projects?
amathewjboss1 Oct 14, 2010 4:00 PM (in response to aslak)Thanks for the reply.
-
7. Re: Is it possible to use Arquillian with non-maven projects?
amathewjboss1 Oct 15, 2010 4:56 PM (in response to amathewjboss1)I am so excited regarding this project as the whole J2EE world really needs a test framework like this to test EJB3. Any idea when there will be a GA release for this project
-
8. Re: Is it possible to use Arquillian with non-maven projects?
aslak Oct 15, 2010 5:14 PM (in response to amathewjboss1)Within the year is the plan..