You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "Jiang, Ning (Willem)" <Ni...@iona.com> on 2007/07/02 14:40:11 UTC

RE: svn commit: r552244 - in/incubator/cxf/trunk/distribution/src/main/release/samples:js_client/README.txt js_client/build.xml js_client/logging.propertiesjs_client/run_client.bat js_client/run_client.sh js_provider/README.txt

Hi Glen,

Yes, I am sure about it.
You can build a kit with the fellowing instruction:

cd trunk 
mvn install
cd trunk/distribution
mvn install 

You can find the two jars in the lib, when you extract the zip file in the trage directory.

Willem.


-----Original Message-----
From: Glen Mazza [mailto:glen.mazza@verizon.net]
Sent: Sun 7/1/2007 13:21
To: cxf-dev@incubator.apache.org
Subject: Re: svn commit: r552244 - in/incubator/cxf/trunk/distribution/src/main/release/samples:js_client/README.txt js_client/build.xml js_client/logging.propertiesjs_client/run_client.bat js_client/run_client.sh js_provider/README.txt
 
Am Sonntag, den 01.07.2007, 04:58 +0000 schrieb ningjiang@apache.org:
> Author: ningjiang
> Date: Sat Jun 30 21:58:17 2007
> New Revision: 552244
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=552244
> Log:
> CXF-757 applied the patch of Glen, and removed the prerequisite of downloading the js and xmlbean jars, because we ship them in CXF distribution.
> 

BTW, are you sure you include those two jars in the distribution?  I
don't see them listed here, and I *did* need to download them manually:

http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/lib/WHICH_JARS?revision=531341&view=markup

Glen


> ==============================================================================
> --- incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt (original)
> +++ incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt Sat Jun 30 21:58:17 2007
> @@ -27,10 +27,6 @@
>  javac, and java to build and run the demos, you must set the
>  environment.
>  
> -You also need to download js-1.6R5.jar from
> -(http://repo1.maven.org/maven2/rhino/js/1.6R5/) and xbean-2.2.0.jar 
> -from (http://repo1.maven.org/maven2/xmlbeans/xbean/2.2.0/) and place
> -these two jars under CXF_HOME/lib directory. 
>  
> 
>  Building and running the demo using ant
> 
> 


Re: svn commit: r552244 - in/incubator/cxf/trunk/distribution/src/main/release/samples:js_client/README.txt js_client/build.xml js_client/logging.propertiesjs_client/run_client.bat js_client/run_client.sh js_provider/README.txt

Posted by Daniel Kulp <dk...@apache.org>.
On Tuesday 03 July 2007 22:58, Glen Mazza wrote:
> Am Montag, den 02.07.2007, 10:04 -0400 schrieb Glen Mazza:
> > Yes, I see them in the lib directory after I run those commands, but
> > (pardon the simple Maven question) how does Maven know that those
> > two jars need to be downloaded?  I can't see their repositories
> > listed in the pom.xml file--either the pom.xml at the trunk or the
> > one in the distribution directory.
>
> Found them--they are located in the pom.xml in the trunk/parent
> directory.

Well, not really.    The stuff in parent/pom.xml is in a 
dependencyManagement section.   In that section, we define versions that 
we want to use IF it is used elsewhere.   The dependencyManagement 
section doesn't actually define dependencies.

In the case of the js and xbean jars, those are actually pulled in by 
rt/frontend/js/pom.xml.   In the dependencies section there, it defines 
a direct dependency on js and xbean.   Note that that pom doesn't set 
the version.   The version in inherited from the dependencyManangement 
section of parent/pom.xml.

If you look at distribution/pom.xml, it has a dependency on 
cxf-rt-frontend-js.   Since cxf-rt-frontend-js has a dependency on the 
xbean and js jars, those two jars will get sucked in along with the 
cxf-rt-frontend-js jar.

Hope that helps a little.

Dan


> Glen
>
> > Thanks,
> > Glen
> >
> > Am Montag, den 02.07.2007, 08:40 -0400 schrieb Jiang, Ning (Willem):
> > > Hi Glen,
> > >
> > > Yes, I am sure about it.
> > > You can build a kit with the fellowing instruction:
> > >
> > > cd trunk
> > > mvn install
> > > cd trunk/distribution
> > > mvn install
> > >
> > > You can find the two jars in the lib, when you extract the zip
> > > file in the trage directory.
> > >
> > > Willem.

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

RE: svn commit: r552244 - in/incubator/cxf/trunk/distribution/src/main/release/samples:js_client/README.txt js_client/build.xml js_client/logging.propertiesjs_client/run_client.bat js_client/run_client.sh js_provider/README.txt

Posted by Glen Mazza <gl...@verizon.net>.
Am Montag, den 02.07.2007, 10:04 -0400 schrieb Glen Mazza:
> Yes, I see them in the lib directory after I run those commands, but
> (pardon the simple Maven question) how does Maven know that those two
> jars need to be downloaded?  I can't see their repositories listed in
> the pom.xml file--either the pom.xml at the trunk or the one in the
> distribution directory.
> 

Found them--they are located in the pom.xml in the trunk/parent
directory.

Glen


> Thanks,
> Glen
> 
> Am Montag, den 02.07.2007, 08:40 -0400 schrieb Jiang, Ning (Willem):
> > Hi Glen,
> > 
> > Yes, I am sure about it.
> > You can build a kit with the fellowing instruction:
> > 
> > cd trunk 
> > mvn install
> > cd trunk/distribution
> > mvn install 
> > 
> > You can find the two jars in the lib, when you extract the zip file in the trage directory.
> > 
> > Willem.
> > 



RE: svn commit: r552244 - in/incubator/cxf/trunk/distribution/src/main/release/samples:js_client/README.txt js_client/build.xml js_client/logging.propertiesjs_client/run_client.bat js_client/run_client.sh js_provider/README.txt

Posted by Glen Mazza <gl...@verizon.net>.
Yes, I see them in the lib directory after I run those commands, but
(pardon the simple Maven question) how does Maven know that those two
jars need to be downloaded?  I can't see their repositories listed in
the pom.xml file--either the pom.xml at the trunk or the one in the
distribution directory.

Thanks,
Glen

Am Montag, den 02.07.2007, 08:40 -0400 schrieb Jiang, Ning (Willem):
> Hi Glen,
> 
> Yes, I am sure about it.
> You can build a kit with the fellowing instruction:
> 
> cd trunk 
> mvn install
> cd trunk/distribution
> mvn install 
> 
> You can find the two jars in the lib, when you extract the zip file in the trage directory.
> 
> Willem.
> 
> 
> -----Original Message-----
> From: Glen Mazza [mailto:glen.mazza@verizon.net]
> Sent: Sun 7/1/2007 13:21
> To: cxf-dev@incubator.apache.org
> Subject: Re: svn commit: r552244 - in/incubator/cxf/trunk/distribution/src/main/release/samples:js_client/README.txt js_client/build.xml js_client/logging.propertiesjs_client/run_client.bat js_client/run_client.sh js_provider/README.txt
>  
> Am Sonntag, den 01.07.2007, 04:58 +0000 schrieb ningjiang@apache.org:
> > Author: ningjiang
> > Date: Sat Jun 30 21:58:17 2007
> > New Revision: 552244
> > 
> > URL: http://svn.apache.org/viewvc?view=rev&rev=552244
> > Log:
> > CXF-757 applied the patch of Glen, and removed the prerequisite of downloading the js and xmlbean jars, because we ship them in CXF distribution.
> > 
> 
> BTW, are you sure you include those two jars in the distribution?  I
> don't see them listed here, and I *did* need to download them manually:
> 
> http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/lib/WHICH_JARS?revision=531341&view=markup
> 
> Glen
> 
> 
> > ==============================================================================
> > --- incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt (original)
> > +++ incubator/cxf/trunk/distribution/src/main/release/samples/js_provider/README.txt Sat Jun 30 21:58:17 2007
> > @@ -27,10 +27,6 @@
> >  javac, and java to build and run the demos, you must set the
> >  environment.
> >  
> > -You also need to download js-1.6R5.jar from
> > -(http://repo1.maven.org/maven2/rhino/js/1.6R5/) and xbean-2.2.0.jar 
> > -from (http://repo1.maven.org/maven2/xmlbeans/xbean/2.2.0/) and place
> > -these two jars under CXF_HOME/lib directory. 
> >  
> > 
> >  Building and running the demo using ant
> > 
> > 
>