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 12:44:57 +0200
Hi Roman
I provide some feedback for this:
On 2006-08-10 10:47:32, 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.
I had to create the lib/repository directory by hand, also some warnings
appear, see below.
regards
Ulisses
ulisses@tux:~/rediris/jra1/perfsonar/ant$
ant -f build-sqlma.xml libs-sqlma
Buildfile: build-sqlma.xml
BUILD FAILED
/home/ulisses/rediris/jra1/perfsonar/ant/build-sqlma.xml:46: The following
error occurred while executing this line:
/home/ulisses/rediris/jra1/perfsonar/ant/axis-deploy-targets-2.xml:17:
/home/ulisses/rediris/jra1/perfsonar/lib/repository not found.
Total time: 0 seconds
ulisses@tux:~/rediris/jra1/perfsonar/ant$
mkdir /home/ulisses/rediris/jra1/perfsonar/lib/repository
ulisses@tux:~/rediris/jra1/perfsonar/ant$
ant -f build-sqlma.xml libs-sqlma
Buildfile: build-sqlma.xml
[taskdef] Could not load definitions from resource axis-tasks.properties.
It could not be found.
libs-sqlma:
[taskdef] Could not load definitions from resource axis-tasks.properties.
It could not be found.
init-libs:
libs-generic:
[artifact:dependencies] Downloading:
xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading:
xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: axis/axis/1.4/axis-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading: axis/axis/1.4/axis-1.4.pom
[artifact:dependencies] Transferring 2K
[artifact:dependencies] Downloading: axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading: axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading:
commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading:
commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom
[artifact:dependencies] Transferring 1K
[artifact:dependencies] Downloading:
commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading:
commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: axis/axis-saaj/1.4/axis-saaj-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading: axis/axis-saaj/1.4/axis-saaj-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading:
axis/axis-wsdl4j/1.5.1/axis-wsdl4j-1.5.1.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading:
axis/axis-wsdl4j/1.5.1/axis-wsdl4j-1.5.1.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading:
commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading:
commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
[artifact:dependencies] Transferring 5K
[artifact:dependencies] Downloading: axis/axis-ant/1.4/axis-ant-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository
remote.repository (http://wiki.perfsonar.net/services/jar-repository/)
[artifact:dependencies] Downloading: axis/axis-ant/1.4/axis
>
> 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
>
>
- Re: [Fwd: [pS-dev] changes in Ant directory - use of jar repositories], (continued)
- 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/21/2006
Archive powered by MHonArc 2.6.16.