perfsonar-dev - Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories]
Subject: perfsonar development work
List archive
- From: ulisses <>
- To: Roman Lapacz <>
- Cc:
- Subject: Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories]
- Date: Mon, 21 Aug 2006 13:01:20 +0200
Hi again Roman
On 2006-08-17 12:48:03, Roman Lapacz wrote:
>
>
> Hi,
>
> this is a reminder to use Ant for downloading required libraries. Next
> week (Tuesday 22) I'm going to remove all jar files (except
> maven-artifact-ant-2.0.4-dep.jar; it's needed for downloading) in lib
> directory.
I'm in order to commit my changes, I only use (the already uploaded to the
repostory)
postgres jdbc 3.0 driver.
Following the sqlma archive as example, I don't see what triggers the
"libs-sqlma" target
which downloads all jars for sqlma. I suposse that is needed.
Thanks
Ulisses
>
>
> Roman
>
>
>
>
> Roman Lapacz wrote:
> >
> >
> >Hi, I've made small change which, in case of SQL MA, is removing
> >libs-download-sqlma.xml file and moving its content to build-sqlma.xml
> >file (two import commands). Now to download the libraries required by
> >SQL MA the following command must be executed (-f parameter has changed)
> >
> >$PERFSONAR/ant> ant -f build-sqlma.xml libs-sqlma
> >
> >I've made described changes for SQL MA, RRD MA and LS.
> >
> >Roman
> >
> >
> >>
> >>-------- Original Message --------
> >>Subject: [pS-dev] changes in Ant directory - use of jar repositories
> >>Date: Tue, 08 Aug 2006 14:02:07 +0200
> >>From: Roman Lapacz
> >><>
> >>To:
> >>
> >>
> >>
> >>
> >>Hi,
> >>
> >>yesterday I made important changes in Ant files. My main goal is to
> >>remove jar libraries in lib directory and replace them with Ant
> >>script which automatically downloads only those jar files which are
> >>needed by the service. RRD MA and SQL MA have stared using this
> >>approach and I would like you, developers of other services, to
> >>provide similar changes.
> >>
> >>
> >>In case of SQL MA to download required jars the following command has
> >>to be executed:
> >>
> >> $PERFSONAR/ant> ant -f libs-download-sqlma.xml libs-sqlma
> >>
> >>this will download needed libraries to lib/repository directory.
> >>
> >>
> >>
> >>This is what I had to do for SQL MA (and this is also the instruction
> >>which you could use for your services):
> >>
> >>- new Ant file libs-download-sqlma.xml in $PERSONAR/ant/ - this file
> >>contains references to general targets and service specific targets
> >>
> >>- new Ant file sqlma-libs-download-targets.xml in
> >>$PERSONAR/ant/sqlma/ - this file contains the list of required
> >>libraries (names and versions). Most of required libraries can be
> >>downloaded by the Ant script from public server (repository)
> >>http://www.ibiblio.org/maven2/ but if needed library is missing there
> >>then we can use our library server. I've prepared our library
> >>repository on http://wiki.perfsonar.net/services/jar-repository/ and
> >>the content of it is also stored in SVN
> >>(https://svn.internet2.edu/svn/perfsonar/trunk/jar-repository/). Very
> >>important is to use correct names of libraries. They can be found in
> >>xml meta files describing libraries, for example:
> >>
> >>* in case of Xalan library its config file for version 2.7.0 can be
> >>found here:
> >> http://www.ibiblio.org/maven2/xalan/xalan/2.7.0/xalan-2.7.0.pom
> >> value of elements groupId, artifactId and version must be used in
> >>Ant script to specify that library
> >>
> >>* in case of rrdjtool library its meta file can be found here:
> >>
> >>http://wiki.perfsonar.net/services/jar-repository/rrdjtool/rrdjtool/1.0/rrdjtool-1.0.pom
> >>
> >>
> >>
> >>- little different classpath in $PERFSONAR/ant/build-sqlma.xml which
> >>now points $PERFSONAR/lib/repository instead of $PERFSONAR/lib
> >>
> >>- change of library paths for copy and remove operations while
> >>deploying and undeploying the service
> >>
> >>
> >>I didn't want to harm existing things for your services so I created
> >>axis-deploy-targets-2.xml and replaced import statement of
> >>axis-deploy-targets with it in $PERFSONAR/ant/build-sqlma.xml. But
> >>next week I would like to remove jars from lib directory and old
> >>axis-deploy-targets.xml file. Please, prepare your service to use
> >>this new library downloading. I hope changes for all services could
> >>be completed next week.
> >>
> >>
> >>If you have any questions please send them to me. I hope Ant files
> >>for SQL MA and RRD MA will be good and clear examples for you.
> >>
> >>
> >>Roman
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
>
>
> --
>
> // PSNC, Poland
> // phone: (+48 61) 858 20 24
> // http://www.man.poznan.pl
>
>
- [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/09/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/10/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/17/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], ulisses, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], ulisses, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], ulisses, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Uros Juvan, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Jeff W. Boote, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/22/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], ulisses, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], ulisses, 08/21/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/17/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/10/2006
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], Roman Lapacz, 08/21/2006
Archive powered by MHonArc 2.6.16.