Hello, --- Kapta Ulo <[EMAIL PROTECTED]> wrote:
> i'm trying to get ant sign a jar but am having > problems, What is the exact error message you are getting and what is the build script you are trying to execute? > i am using the ant that comes with eclipse 3.1.1 sdk You'd better try with a standalone ant version outside eclipse. > > heres the error i get with the -diagnostics flag, > any idea's what it could > be? I do not think these are errors, this is just the ant diagnostics information. It says what tasks are available, which jars are present. It is helpful when tracing errors, but since <signjar> task is built-in, it is always avaialable. Regards Ivan > > ------- Ant diagnostics report ------- > Apache Ant version 1.6.5 compiled on June 2 2005 > ------------------------------------------- > Implementation Version (JDK1.2+ only) > ------------------------------------------- > core tasks : 1.6.5 > optional tasks : 1.6.5 > ------------------------------------------- > ANT_HOME/lib jar listing > ------------------------------------------- > ant.home: > /home/solat/.eclipse/plugins/org.apache.ant_1.6.5 > ant-jai.jar (21359 bytes) > ant-antlr.jar (5667 bytes) > ant-starteam.jar (35472 bytes) > ant-icontract.jar (9721 bytes) > ant-jdepend.jar (8160 bytes) > ant-apache-oro.jar (48034 bytes) > ant-trax.jar (68841 bytes) > ant-apache-regexp.jar (3724 bytes) > ant-jmf.jar (6605 bytes) > ant-jsch.jar (22726 bytes) > ant-apache-bsf.jar (12597 bytes) > ant-netrexx.jar (9998 bytes) > ant-swing.jar (6763 bytes) > ant-apache-bcel.jar (8617 bytes) > ant-stylebook.jar (2328 bytes) > ant-javamail.jar (6761 bytes) > ant-junit.jar (74237 bytes) > ant-xalan1.jar (4465 bytes) > ant-commons-net.jar (35303 bytes) > ant-commons-logging.jar (3864 bytes) > ant-weblogic.jar (14363 bytes) > ant-apache-log4j.jar (3022 bytes) > ant.jar (1034049 bytes) > ant-vaj.jar (49742 bytes) > ant-xslp.jar (2244 bytes) > ant-nodeps.jar (421008 bytes) > ant-launcher.jar (9180 bytes) > ant-apache-resolver.jar (4082 bytes) > ------------------------------------------- > Tasks availability > ------------------------------------------- > image : Missing dependency > com.sun.media.jai.codec.FileSeekableStream > sshexec : Missing dependency > com.jcraft.jsch.UserInfo > scp : Missing dependency com.jcraft.jsch.UserInfo > jdepend : Missing dependency jdepend.xmlui.JDepend > junit : Missing dependency junit.framework.Test > ------------------------------------------- > org.apache.env.Which diagnostics > ------------------------------------------- > Not available. > Download it at http://xml.apache.org/commons/ > ------------------------------------------- > XML Parser information > ------------------------------------------- > XML Parser : > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl > XML Parser Location: > /usr/java/jdk1.5.0_02/jre/lib/rt.jar > ------------------------------------------- > System properties > ------------------------------------------- > java.runtime.name : Java(TM) 2 Runtime Environment, > Standard Edition > sun.boot.library.path : > /usr/java/jdk1.5.0_02/jre/lib/i386 > java.vm.version : 1.5.0_02-b09 > ant.library.dir : > /home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib > java.vm.vendor : Sun Microsystems Inc. > java.vendor.url : http://java.sun.com/ > path.separator : : > java.vm.name : Java HotSpot(TM) Client VM > file.encoding.pkg : sun.io > user.country : GB > sun.os.patch.level : unknown > java.vm.specification.name : Java Virtual Machine > Specification > user.dir : /home/solat/workspace/alpha > java.runtime.version : 1.5.0_02-b09 > java.awt.graphicsenv : > sun.awt.X11GraphicsEnvironment > java.endorsed.dirs : > /usr/java/jdk1.5.0_02/jre/lib/endorsed > os.arch : i386 > java.io.tmpdir : /tmp > line.separator : > java.vm.specification.vendor : Sun Microsystems Inc. > os.name : Linux > ant.home : > /home/solat/.eclipse/plugins/org.apache.ant_1.6.5 > sun.jnu.encoding : UTF-8 > java.library.path : > /usr/java/jdk1.5.0_02/jre/lib/i386/client:/usr/java/jdk1.5.0_02/jre/lib/i386:/usr/java/jdk1.5.0_02/jre/../lib/i386:/opt/mozilla/lib:/home/solat/.eclipse/configuration/org.eclipse.osgi/bundles/79/1/.cp > java.specification.name : Java Platform API > Specification > java.class.version : 49.0 > sun.management.compiler : HotSpot Client Compiler > os.version : 2.6.8-24.18-default > user.home : /home/solat > user.timezone : GB > java.awt.printerjob : sun.print.PSPrinterJob > file.encoding : UTF-8 > java.specification.version : 1.5 > user.name : solat > java.class.path : > /home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-antlr.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-apache-bcel.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-apache-bsf.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-apache-log4j.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-apache-oro.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-apache-regexp.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-apache-resolver.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-commons-logging.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-commons-net.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-icontract.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-jai.jar:/home/solat/.eclipse/plugins/or > g.apache.ant_1.6.5/lib/ant-javamail.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-jdepend.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-jmf.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-jsch.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-junit.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-launcher.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-netrexx.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-nodeps.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-starteam.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-stylebook.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-swing.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-trax.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-vaj.jar:/home/solat/.eclipse/plugins/org.ap > ache.ant_1.6.5/lib/ant-weblogic.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-xalan1.jar:/home/solat/.eclipse/plugins/org.apache.ant_1.6.5/lib/ant-xslp.jar:/home/solat/.eclipse/configuration/org.eclipse.osgi/bundles/69/1/.cp/lib/remoteAnt.jar:/usr/java/jdk1.5.0_02/lib/tools.jar:/home/solat/.eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.1.1.jar > java.vm.specification.version : 1.0 > sun.arch.data.model : 32 > java.home : /usr/java/jdk1.5.0_02/jre > java.specification.vendor : Sun Microsystems Inc. > user.language : en > java.vm.info : mixed mode, sharing > java.version : 1.5.0_02 > java.ext.dirs : /usr/java/jdk1.5.0_02/jre/lib/ext > sun.boot.class.path : > /usr/java/jdk1.5.0_02/jre/lib/rt.jar:/usr/java/jdk1.5.0_02/jre/lib/i18n.jar:/usr/java/jdk1.5.0_02/jre/lib/sunrsasign.jar:/usr/java/jdk1.5.0_02/jre/lib/jsse.jar:/usr/java/jdk1.5.0_02/jre/lib/jce.jar:/usr/java/jdk1.5.0_02/jre/lib/charsets.jar:/usr/java/jdk1.5.0_02/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 : > Total time: 945 milliseconds > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]