cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiang, Ning \(Willem\)" <Ning.Ji...@iona.com>
Subject RE: Sample development
Date Wed, 12 Dec 2007 13:33:59 GMT
OK,
I think we missing the cxf jars some where.
Benson I think we do not use the default mvn repo directory(${user.home}/.m2/repository) for
maven.
You can go through the srcbuild_paths.xml for more information if you already run mvn install
in distribution directory.

Willem.

-----Original Message-----
From: Benson Margulies [mailto:bimargulies@gmail.com]
Sent: Wed 12/12/2007 21:01
To: cxf-dev@incubator.apache.org
Subject: RE: Sample development
 
Willem,

Did you mean to include another line in the email? If I just cd to the
sample in the source tree and run ant, it doesn't build. 

bim-1330% ant
Buildfile: build.xml

maybe.generate.code:

generate.code:
     [echo] Generating code using wsdl2java...
    [mkdir] Created
dir: /home/benson/cxf/trunk/distribution/src/main/release/samples/js_browser_client/build/classes
    [mkdir] Created
dir: /home/benson/cxf/trunk/distribution/src/main/release/samples/js_browser_client/build/src
     [java] Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/cxf/tools/wsdlto/WSDLToJava

BUILD FAILED
/home/benson/cxf/trunk/distribution/src/main/release/samples/common_build.xml:100: The following
error occurred while executing this line:
/home/benson/cxf/trunk/distribution/src/main/release/samples/js_browser_client/build.xml:47:
The following error occurred while executing this line:
/home/benson/cxf/trunk/distribution/src/main/release/samples/common_build.xml:207: Java returned:
1

Total time: 0 seconds



On Wed, 2007-12-12 at 07:44 -0500, Jiang, Ning (Willem) wrote:
> Hi Benson
> 
> If you want to build the sample in the svn trunk without build a kit, 
> the below lines will set value for us.
> 
> If you want to build war, there a ant marco cxfwar for you. you can find it 
> in the common-build.xml.
> 
> Willem.
> 
> 
> -----Original Message-----
> From: Benson Margulies [mailto:bimargulies@gmail.com]
> Sent: Wed 12/12/2007 20:32
> To: cxf-dev@incubator.apache.org
> Subject: Sample development
>  
> The following lines in common-build.xml suggest that there is a
> methodology for running samples against a build tree. Could someone
> please elaborate on it?
> 
> I am somewhat confused, as well, by the presence of cxf-server.xml and
> well as cxf.xml. Is there some tooling to build webapps using the
> former?
> 
>     <!-- Setup for building in a source build-->
>     <available property="srcbuild_paths.file"
>         value="../../../../target/srcbuild_paths.xml"
>         file="target/srcbuild_paths.xml"
>         filepath="../../../.."/>
> 
> 


Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message