ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sofia Sayzhenkova <ssayz...@cern.ch>
Subject Re: ant deploy BUILD FAILED
Date Mon, 30 Jul 2012 11:52:49 GMT
My svn server has the following configuration.

cat /etc/httpd/conf.d/subversion.conf
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

<Location /svn>
     SSLRequireSSL
         DAV svn
         SVNpath /var/www/svn/HEPFTUAM
         Satisfy Any
         Require valid-user
         AuthType Basic
         AuthzSVNAccessFile /etc/httpd/htpasswd/svn-authz
         AuthName "Repositorio del grupo de Altas EnergĂ­as"
         AuthUserFile /etc/httpd/htpasswd/svn-passwd
</Location>


cat /etc/httpd/htpasswd/svn-authz
[/]
pardo = rw
sofia = rw
testuser = rw

[/Physics]
sofia = rw

[/General/AOB/lisapaper]
QuattorAuthor = rw

[/Quattor_Dev/UAM]
* = r
pardo = rw
sofia = rw
testuser = rw

[/LCG/Quattor/Templates/tags/glite3.1-20080129/tags]
quattor-deployer = r

[/General/AOB/CXI]
melis = rw

cat /etc/httpd/htpasswd/svn-passwd
sofia: password*

*password which I prodused by command htpasswd -nm sofia on the same svn 
server (random symbols $apr....)


Sofia

On 07/27/2012 01:58 PM, Sofia Sayzhenkova wrote:
> Hello all,
>
> I have a problem during "ant -debug --noconfig deploy".
>
> BUILD FAILED
> /home/sofia/workspace/trunk/quattor.build.xml:340: Error getting 
> information about SVN branch 
> https://heppc1/svn/LCG/Quattor/Templates/tags/glite3.1-20080129/tags/: 
> svn: Authentication required for '<https://heppc1:443> Repositorio del 
> grupo de Altas Energ??as'
>     at org.quattor.ant.SvnTagTask.makeSvnTag(SvnTagTask.java:214)
>     at org.quattor.ant.SvnTagTask.execute(SvnTagTask.java:137)
>     at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     at org.apache.tools.ant.Task.perform(Task.java:348)
>     at org.apache.tools.ant.Target.execute(Target.java:357)
>     at org.apache.tools.ant.Target.performTasks(Target.java:385)
>     at 
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>     at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>     at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>     at org.apache.tools.ant.Main.runBuild(Main.java:758)
>     at org.apache.tools.ant.Main.startAnt(Main.java:217)
>     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>
>
> I know it looks like a classpath problem but using "ant -debug 
> --noconfig --noclasspath deploy" gave the same result.
>
> The command "ant -diagnostics --noconfig" doesn't show any problems.
>
> ant -diagnostics --noconfig
> ------- Ant diagnostics report -------
> Apache Ant version 1.7.1 compiled on June 27 2008
>
> -------------------------------------------
>  Implementation Version
> -------------------------------------------
> core tasks     : 1.7.1
> optional tasks : not available
>
> -------------------------------------------
>  ANT PROPERTIES
> -------------------------------------------
> ant.version: Apache Ant version 1.7.1 compiled on June 27 2008
> ant.java.version: 1.6
> ant.core.lib: /home/sofia/workspace/trunk/external/ant/lib/ant.jar
> ant.home: /home/sofia/workspace/trunk/external/ant/
>
> -------------------------------------------
>  ANT_HOME/lib jar listing
> -------------------------------------------
> ant.home: /home/sofia/workspace/trunk/external/ant/
> ant-apache-log4j.jar (3056 bytes)
> ant-trax.jar (6881 bytes)
> ant-jai.jar (21348 bytes)
> ant-jsch.jar (30797 bytes)
> ant-testutil.jar (14941 bytes)
> ant-apache-resolver.jar (4071 bytes)
> ant-netrexx.jar (9881 bytes)
> ant-javamail.jar (6998 bytes)
> ant-nodeps.jar (431580 bytes)
> ant-apache-oro.jar (39627 bytes)
> ant.jar (1323005 bytes)
> ant-stylebook.jar (2330 bytes)
> ant-apache-bcel.jar (8611 bytes)
> ant-weblogic.jar (14205 bytes)
> ant-commons-net.jar (47026 bytes)
> ant-swing.jar (6738 bytes)
> ant-junit.jar (93518 bytes)
> ant-apache-bsf.jar (3939 bytes)
> ant-apache-regexp.jar (3762 bytes)
> xml-apis.jar (194354 bytes)
> ant-antlr.jar (5752 bytes)
> ant-jmf.jar (6593 bytes)
> xercesImpl.jar (1223877 bytes)
> ant-commons-logging.jar (3910 bytes)
> ant-starteam.jar (35355 bytes)
> ant-launcher.jar (12143 bytes)
> ant-jdepend.jar (8132 bytes)
>
> -------------------------------------------
>  USER_HOME/.ant/lib jar listing
> -------------------------------------------
> user.home: /home/sofia
>
> -------------------------------------------
>  Tasks availability
> -------------------------------------------
> image : Missing dependency javax.media.jai.PlanarImage
> sshexec : Missing dependency com.jcraft.jsch.UserInfo
> scp : Missing dependency com.jcraft.jsch.UserInfo
> jdepend : Missing dependency jdepend.xmlui.JDepend
> A task being missing/unavailable should only matter if you are trying 
> to use it
>
> -------------------------------------------
>  org.apache.env.Which diagnostics
> -------------------------------------------
> Not available.
> Download it at http://xml.apache.org/commons/
>
> -------------------------------------------
>  XML Parser information
> -------------------------------------------
> XML Parser : org.apache.xerces.jaxp.SAXParserImpl
> XML Parser Location: 
> /home/sofia/workspace/trunk/external/ant/lib/xercesImpl.jar
> Namespace-aware parser : 
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
> Namespace-aware parser Location: 
> /home/sofia/workspace/trunk/external/ant/lib/xercesImpl.jar
>
> -------------------------------------------
>  System properties
> -------------------------------------------
> java.runtime.name : Java(TM) SE Runtime Environment
> sun.boot.library.path : /usr/java/jdk1.6.0_07/jre/lib/amd64
> java.vm.version : 10.0-b23
> ant.library.dir : /home/sofia/workspace/trunk/external/ant//lib
> java.vm.vendor : Sun Microsystems Inc.
> java.vendor.url : http://java.sun.com/
> path.separator : :
> java.vm.name : Java HotSpot(TM) 64-Bit Server VM
> file.encoding.pkg : sun.io
> user.country : ES
> sun.java.launcher : SUN_STANDARD
> sun.os.patch.level : unknown
> java.vm.specification.name : Java Virtual Machine Specification
> user.dir : /home/sofia/workspace/trunk
> java.runtime.version : 1.6.0_07-b06
> java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment
> java.endorsed.dirs : /usr/java/jdk1.6.0_07/jre/lib/endorsed
> os.arch : amd64
> java.io.tmpdir : /tmp
> line.separator :
>
> java.vm.specification.vendor : Sun Microsystems Inc.
> os.name : Linux
> ant.home : /home/sofia/workspace/trunk/external/ant/
> sun.jnu.encoding : UTF-8
> java.library.path : 
> /usr/java/jdk1.6.0_07/jre/lib/amd64/server:/usr/java/jdk1.6.0_07/jre/lib/amd64:/usr/java/jdk1.6.0_07/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib
> java.specification.name : Java Platform API Specification
> java.class.version : 50.0
> sun.management.compiler : HotSpot 64-Bit Server Compiler
> os.version : 2.6.24.3-amd.2
> user.home : /home/sofia
> user.timezone : Europe/Madrid
> java.awt.printerjob : sun.print.PSPrinterJob
> file.encoding : UTF-8
> java.specification.version : 1.6
> user.name : sofia
> java.class.path : 
> /home/sofia/workspace/trunk/external/ant//lib/ant-launcher.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-apache-log4j.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-trax.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-jai.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-jsch.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-testutil.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-apache-resolver.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-netrexx.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-javamail.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-nodeps.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-apache-oro.jar:/home/sofia/workspace/trunk/external/ant/lib/ant.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-stylebook.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-apache-bcel.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-weblogic.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-commons-net.jar:/h

> ome/sofia/workspace/trunk/external/ant/lib/ant-swing.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-junit.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-apache-bsf.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-apache-regexp.jar:/home/sofia/workspace/trunk/external/ant/lib/xml-apis.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-antlr.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-jmf.jar:/home/sofia/workspace/trunk/external/ant/lib/xercesImpl.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-commons-logging.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-starteam.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-launcher.jar:/home/sofia/workspace/trunk/external/ant/lib/ant-jdepend.jar:/usr/java/jdk1.6.0_07/lib/tools.jar
> java.vm.specification.version : 1.0
> sun.arch.data.model : 64
> java.home : /usr/java/jdk1.6.0_07/jre
> java.specification.vendor : Sun Microsystems Inc.
> user.language : es
> java.vm.info : mixed mode
> java.version : 1.6.0_07
> java.ext.dirs : 
> /usr/java/jdk1.6.0_07/jre/lib/ext:/usr/java/packages/lib/ext
> sun.boot.class.path : 
> /usr/java/jdk1.6.0_07/jre/lib/resources.jar:/usr/java/jdk1.6.0_07/jre/lib/rt.jar:/usr/java/jdk1.6.0_07/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0_07/jre/lib/jsse.jar:/usr/java/jdk1.6.0_07/jre/lib/jce.jar:/usr/java/jdk1.6.0_07/jre/lib/charsets.jar:/usr/java/jdk1.6.0_07/jre/classes
> java.vendor : Sun Microsystems Inc.
> file.separator : /
> java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
> sun.cpu.endian : little
> sun.io.unicode.encoding : UnicodeLittle
> sun.cpu.isalist :
>
> -------------------------------------------
>  Temp dir
> -------------------------------------------
> Temp dir is /tmp
> Temp dir is writeable
> Temp dir alignment with system clock is -312 ms
>
> -------------------------------------------
>  Locale information
> -------------------------------------------
> Timezone Hora de Europa Central offset=7200000
>
> -------------------------------------------
>  Proxy information
> -------------------------------------------
> Java1.5+ proxy settings:
> Direct connection
>
> My ANT options are:
>
> ANT_HOME=/home/sofia/workspace/trunk/external/ant/
> PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/sofia/bin:/home/sofia/workspace/trunk/external/ant/bin
>
> My java options are:
> JAVA_HOME=/usr/java/jdk1.6.0_07
>
> I tried to get the library dependencies using:
> ant -f /home/sofia/workspace/trunk/external/ant/fetch.xml --noconfig 
> -Ddest=user
>
> But I get an error:
> [get] Error opening connection java.io.FileNotFoundException: 
> http://ibiblio.org/maven2//org/apache/maven/maven-artifact-ant/2.0.4/maven-artifact-ant-2.0.4-dep.jar
>
> I checked and this link doesn't exist anymore.
>
> I guess something is wrong with my configuration, but I don't know 
> what should I change. Any advice is appreciated.
>
> Best regards,
> Sofia
>


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