The tests are write with JUnit , you can use mvn test to run them.
If you open the project in an IDE , you can use the IDE to run them.
njiang
thank you for the quick reponse, I'm a bit confuse on the following.
The tests are write with JUnit , you can use mvn test to run them.
If you open the project in an IDE , you can use the IDE to run them.
So you are saying I can use Junit to import those .java test script? How do i use mvn test to run those .java file?
I tried mvn test and i'm getting the following error..
C:\camel-test\java\org\apache\camel\component\msmq>mvn test
Building Maven Default Project
Cannot execute mojo: resources. It requires a project with an existing p
m.xml, but the build is not using one.
For more information, run Maven with the -e switch
Finished at: Wed Jul 08 16:26:28 PDT 2009
What do you mean open the project in an IDE? where do I get the IDE? Please be more specific.
thank you so much...
Hi
To use the camel-msmq.jar you need basically to add it to the classpath of your existing application. Since camel-msmq.jar requires 2 other .jars you need to get them as well
camel-core.jar
commons-logging-1.1.1.jar
Then you "just" add those 3 .jars to your existing application.
How to do this you could use google to find some Java tutorials or the likes.
Using maven is a different story. Its a bit more complex. But to fix your error you need to build the other modules as well as it requires the camel-core also.
See this page