Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

How to use verifyrefs

2006-03-02
2013-04-23
  • I'm trying to use verifyrefs to verify if I let java 5 construction in my code. Unfortunately when I try to use it, I see a lot of errors for Class not found which are in the classpath I give to retroweaver.

    Using the SVN version or the 1.2 version does not change anything. Is there any way to have verifyrefs work?

     
    • Toby Reyelts
      Toby Reyelts
      2006-03-02

      There shouldn't be any problems with verifyrefs. You might want to double-check your classpath and make sure you don't have any extraneous semi-colons are spaces laying around in it.

      Can you show us the command line argument or ant build script you're using? We might be able to spot something.

       
    • I join the command line I use... I have the same problem with ant... The line is quite long...

      java -cp /home/quisar/download/retroweaver/retroweaver-svn/release/retroweaver-a
      ll-dev.jar:/home/quisar/download/retroweaver/retroweaver-svn/lib/asm-2.2.jar:/ho
      me/quisar/download/retroweaver/retroweaver-svn/lib/asm-commons-2.2.jar com.rc.re
      troweaver.Weaver -source /tmp/check-retr -verifyrefs /usr/local/opt/j2sdk1.4.2_1
      1/jre/lib/rt.jar:/home/quisar/download/retroweaver/retroweaver-svn/release/retro
      weaver-rt-dev.jar:/home/quisar/programmes/java/jakarta-tomcat-5.0.28/common/lib/
      servlet-api.jar:turbine-2.2.jar:asm-2.2.jar:ant-commons-net.jar:jakarta-oro.jar:
      ant-weblogic.jar:ehcache-1.1.jar:jaas.jar:jta.jar:servlet.jar:ant.jar:ant-common
      s-logging.jar:cglib.jar:ant-launcher.jar:ant-stylebook.jar:versioncheck.jar:unoi
      l.jar:xmerge.jar:asm-commons-2.2.jar:backport-util-concurrent.jar:MyJTidy.jar:jd
      om.jar:retroweaver-1.2.jar:ant-apache-regexp.jar:antlr.jar:commons-validator.jar
      :ant-apache-oro.jar:ant-apache-resolver.jar:ant-starteam.jar:XMergeBridge.jar:je
      tspeed-1.6.jar:ant-xslp.jar:ant-jsch.jar:ant-nodeps.jar:ecs-1.4.1.jar:Lius-0.4.j
      ar:report.jar:xercesImpl.jar:jaxen-1.1-beta-4.jar:lucene-1.4.3.jar:torque-3.1.ja
      r:commons-digester.jar:authentication-ws-client.jar:swarmcache-1.0rc2.jar:office
      bean.jar:common.jar:cos.jar:juh.jar:odmg.jar:velocity-1.4.jar:xml-apis.jar:xt.ja
      r:commons-fileupload.jar:commons-logging.jar:activation.jar:jut.jar:mysql-connec
      tor-java-3.1.11-bin.jar:connector-gestion-droits.jar:oscache-2.1.jar:XSLTValidat
      e.jar:avalon-framework-cvs-20020806.jar:ant-junit.jar:c3p0-0.8.5.2.jar:ant-netre
      xx.jar:jurt.jar:authentification-cfdt.jar:ant-apache-log4j.jar:log4j-1.2.8.jar:b
      atik.jar:ant-apache-bcel.jar:pager-taglib.jar:mysql-connector-java-3.0.17-ga-bin
      .jar:XSLTFilter.jar:rtf2fo.jar:ant-xalan1.jar:ant-icontract.jar:ant-javamail.jar
      :struts.jar:ant-swing.jar:ant-apache-bsf.jar:taglibs-xtags.jar:lucene.jar:cglib-
      2.1.jar:docbook.jar:antlr-2.7.5H3.jar:htmlsoff.jar:ant-jai.jar:pager-src.jar:fop
      .jar:hibernate3.jar:ant-jdepend.jar:ridl.jar:commons-fileupload-1.0.jar:junit.ja
      r:ant-jmf.jar:parser.jar:portlet-api-1.0.jar:ant-trax.jar:commons-logging-1.0.4.
      jar:lucene-1.3-rc2.jar:sandbox.jar:ant-antlr.jar:XFlatXml.jar:jcifs-1.2.7.jar:an
      t-vaj.jar:java_uno.jar:jaxp.jar:java_uno_accessbridge.jar:ant-antlr-1.6.3.jar:po
      stgresql-8.0-311.jdbc3.jar:mail.jar:axis.jar:tritonus_share.jar:tritonus_mp3.jar
      :jaxp-api.jar:Lius-0.4.jar:jta.jar:ostermillerutils_1_02_25.jar:jakarta-oro.jar:
      bsws-1.0.jar:activation.jar:jakarta-oro-2.0.8.jar:jms.jar:versioncheck.jar:poi-2
      .5.1-final-20040804.jar:dom4j-1.6.1.jar:commons-lang-2.1.jar:concurrent-1.3.4.ja
      r:commons-collections-3.1.jar:commons-httpclient-2.0.jar:jfreereport-0.8.4_9-all
      .jar:classes.jar:regexp-1.2.jar:antlr.jar:jxl.jar:commons-beanutils-1.7.0.jar:xa
      lan2.jar:jai_codec.jar:Tidy.jar:xml-apis.jar:jakarta-regexp-1.2.jar:ecs-1.4.1.ja
      r:javalayer-0.4.jar:lucene-1.4.3.jar:village-2.0-dev-20030625.jar:commons-dbcp-1
      .2.1.jar:torque-3.1.jar:hsqldb-1.7.1.jar:tritonus_remaining.jar:jaxrpc-1.1.jar:j
      uh.jar:velocity-1.4.jar:retroweaver-rt-1.2.jar:xt.jar:jut.jar:xercesImpl.jar:c3p
      0-0.8.5.2.jar:jai_core.jar:commons-configuration-1.0-dev.jar:castor-0.9.3.jar:my
      sql-connector-java-3.1.11-bin.jar:batik.jar:fesi.jar:cfdt-portail-business.jar:j
      avamail-1.3.1.jar:log4j-1.2.8.jar:jogg-0.0.7.jar:vorbisspi1.0.jar:XSLTFilter.jar
      :mp3spi1.9.1.jar:dom.jar:cfdt-portail-process.jar:jcommon-0.9.2.jar:mlibwrapper_
      jai.jar:saxpath.jar:stratum-1.0-b4-dev.jar:cglib-2.1.jar:fop.jar:jaas.jar:hibern
      ate3.jar:unoil.jar:tm-extractors-0.2-mpb.jar:jdbc-se2.0.jar:cfdt-portail-applica
      tion.jar:commons-logging-1.0.4.jar:sandbox.jar:tritonus_jorbis.jar:java_uno.jar:
      jorbis-0.0.15.jar:turbine-2.2.jar:wsdl4j.jar:saaj-1.1.jar:ehcache-1.1.jar:common
      s-discovery-0.2.jar:uddi4j-1.0.jar:xmerge.jar:MyJTidy.jar:jdom.jar:jakarta-poi-1
      .9.0-dev-20030109-mpb.jar:jaxen-core.jar:nekohtml.jar:asm.jar:jaxen-jdom.jar:com
      mons-validator.jar:axis-1.1.jar:bsh-1.2b6.jar:XMergeBridge.jar:aopalliance-1.0.j
      ar:jetspeed-1.6.jar:highlighter-dev.jar:asm-attrs.jar:report.jar:commons-digeste
      r.jar:common.jar:swarmcache-1.0rc2.jar:jndi-1.2.1.jar:officebean.jar:PDFBox-0.7.
      0.jar:cos.jar:ojb-0.7.343.jar:odmg.jar:tm-extractors-0.4.jar:jurt.jar:connector-
      gestion-droits.jar:oscache-2.1.jar:XSLTValidate.jar:itext-1.00.jar:jetspeed-torq
      ue-om-1.6.jar:pager-taglib.jar:soap-2.1.jar:oro-2.0.7.jar:rtf2fo.jar:struts.jar:
      taglibs-xtags.jar:commons-codec-1.3.jar:commons-pool-1.2.jar:htmlsoff.jar:hibern
      ate2.jar:pager-src.jar:jcs-1.0-dev.jar:commons-fileupload-1.0.jar:fulcrum-3.0-b2
      -dev.jar:ridl.jar:parser.jar:cfdt-portail-shared.jar:XFlatXml.jar:java_uno_acces
      sbridge.jar:cfdt-portail-web.jar:jcifs-1.2.7.jar:/tmp/check-retr

       
    • I'm an idiot... Thanks, it works