cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: How do I write and test a sample?
Date Thu, 17 Sep 2009 02:12:42 GMT


At one point, if you do a full "distribution" build, the common_build.xml in 
the src/main/release/sample detected that and then the ant builds would start 
working in the src/main/release/samples dir.   Thus, it kind of allows 
building/testing sample in the src tree, but you do have to build the kit 

If you look in the common_build.xml, you'll see a place where it searches for 
srcbuild_env.ant.   That file is build from a mvn install in distribution.

Hope that helps.


On Wed September 16 2009 7:34:02 am Christian Schneider wrote:
> Hi,
> I currently try to create a new wsdl first example in response to a long
> standing jira issue. (
> The example already works quite well with maven. I can simply define the
> dependencies in the pom and also directly test from the checkout folder.
> For ant it seems to be more difficult. When I try to execute an ant
> build it complains about not finding the libs as they do not exist in
> the checkout folder. When I do a full build of the distribution module I
> can of course test after extracting the final zip. This of course
> creates a quite painfull long build / test cycle. Is there a way to make
> the ant build work directly in the checkout?
> My other problem is that I want to add some dependencies to the wsdl
> first example (log4j and junit). How do I do this for the ant build?
> They do not seem to be copied to the lib folder when I add them to the
> pom.xml and do a maven build of distribution. Is there some special
> place where they are defined?
> Greetings
> Christian

Daniel Kulp

View raw message