Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-21 Thread Guy Davis
Hi Justin, Would you mind posting the configuration file(s) you use to create these sequential goals? That would be great. Guy [EMAIL PROTECTED] wrote: Seems to work fine for running unit/integration/system within the same build. We have separate goals for each of the test run types. Each

Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-20 Thread Guy Davis
Good idea. That should work for us for the time being. I'm not overly impressed with Cruise Control's support for Maven. I'll have to get serious about testing Maven 2 and Continuum as our path forward. Thanks again to all who answered my questions. Guy David Jackman wrote: CruiseControl

Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-20 Thread Guy Davis
wrote: Define at project.properties the default value of test.run.type to unit. This way CruiseControl will use the default value. []'s On 6/20/05, Guy Davis <[EMAIL PROTECTED]> wrote: Thanks, Justin. This approach should meet our needs for now. Now I just have to figure out how t

Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-20 Thread Guy Davis
Thanks, Justin. This approach should meet our needs for now. Now I just have to figure out how to configure CruiseControl to pass a system property to Maven. Guy [EMAIL PROTECTED] wrote: here's our project dir structure: src/ test/ +- unit/ +- integration/ +- system/ with the follow

How to split unit and acceptance tests apart (both use Junit framework)

2005-06-17 Thread Guy Davis
Hello, I'm currently using Maven 1 for running our regular unit tests. However I'm in the process of adding larger acceptance/integration tests that cover wide areas of functionality. I am still using the JUnit framework for these acceptance tests, but I was wondering if there was a way to

Disable certain goal dependencies?

2005-02-22 Thread Guy Davis
Hi there, We recently started using the Jar goal to create our jar. However, the Test goal seems to be dependency for this goal. Is it possible to disable the need to run the unit tests before the jar goal is run? If so, how? Thanks, Guy --

Copying jar to other directory after 'maven jar'?

2005-02-17 Thread Guy Davis
Hello, I've been asked to use Maven to create our jar file and put it in it's historical location {proj.home}/lib/. Currently, Maven creates it in {proj.home}/target/. Is there a setting or something else I can set to have the jar placed in the lib/ location? I'd like to keep everything else

Re: Maven and CruiseControl results display

2005-01-20 Thread Guy Davis
Brett Porter wrote: I don't know how CC does its thing here. It doesn't show in the build results JSP, but it all appears in the email sent out. You can tweak Maven's logging by giving it a custom log4j configuration, but really CC should be doing something itself with stdout/stderr here, as it doe

Maven and CruiseControl results display

2005-01-20 Thread Guy Davis
Hi, I haven't got any help from the CC-user mailing list so I thought I'd try here as it is Maven related. I have Cruise Control building a Maven-based project regularly. Here's the element I'm using: This is a Subversion repository. What I'd like is to have Maven log it's output (from comp

Re: Maven and CruiseControl

2005-01-18 Thread Guy Davis
ning CC from, but if the build won't compile, other developers can't see the reason from the CC results page. Any ideas? Thanks, Guy Nicolas Chalumeau wrote: Call first the update of your project I your list of goal to attain Nicolas On Tue, 18 Jan 2005 08:

Maven and CruiseControl

2005-01-18 Thread Guy Davis
Hello, I'm trying to get CruiseControl working for our Maven-controlled build. If I set the CC config.xml to call have a entry within the element with a target of site, then the build happens but the checked out tree (via Subversion) isn't updated first. Is there anyone else using Maven,

Can I configure fork mode for test plugin?

2005-01-14 Thread Guy Davis
Hi, I'm using JDK 1.4.2 so had to set: maven.junit.fork = true to get Maven to fork my tests off separately so I avoid XML errors. Unfortunately, forking a new JVM for every TestCase is really slow. When I was using Ant, they offered a forkMode option which let me fork out of the main JVM runnin

Debugging unit test failures under

2005-01-13 Thread Guy Davis
Thanks for the previous answers about my having site:generate consistently crash java.exe. With most of the reports disabled, I'm able to successfully execute this goal now. However, I'm trying to determine the cause of the many (but not all) unit tests failing. Is there a way to see the exac

RE: Consistent java.exe crash for site:generate

2005-01-12 Thread Guy Davis
t; > Cheers, > Brett > > > On Wed, 12 Jan 2005 16:15:42 -0700, Guy Davis <[EMAIL PROTECTED]> > wrote: > > I was hoping that someone may have run into this before. I'm trying to > > move our current large project using Ant over to Maven for building. >

Consistent java.exe crash for site:generate

2005-01-12 Thread Guy Davis
I was hoping that someone may have run into this before. I'm trying to move our current large project using Ant over to Maven for building. The jar target works fine. However when I run site:generate, I can consistently get a Windows error report message that java.exe has crashed. This is using