0 Replies Latest reply on Nov 21, 2008 4:43 AM by Torsten Werner

    rebuilding jbossas 5 with current versions of external libs

    Torsten Werner Newbie

      Hi,

      JBossas comes with a lot of external libs which I want to build from source, too. Some of them are quite old like joesnmp (0.3.4 in jboss, 1.6.1 in sourceforge's opennms project). Replacing the old jar with a current one gives build errors like that:

       ======================================================================
       == Executing 'most' in module 'varia'...
       ==
      
      ...
      
      compile-classes-jdk6:
       [mkdir] Created dir: /tmp/buildd/jbossas5-5.0.0~CR2/varia/output/classes
       [javac] Compiling 241 source files to /tmp/buildd/jbossas5-5.0.0~CR2/varia/output/clas
      ses
      ...
       ^
      /tmp/buildd/jbossas5-5.0.0~CR2/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHand
      ler.java:27: cannot find symbol
      symbol : class SnmpAgentHandler
      location: package org.opennms.protocols.snmp
      import org.opennms.protocols.snmp.SnmpAgentHandler;
       ^
      /tmp/buildd/jbossas5-5.0.0~CR2/varia/src/main/org/jboss/jmx/adaptor/snmp/agent/RequestHand
      ler.java:36: cannot find symbol
      symbol: class SnmpAgentHandler
      public interface RequestHandler extends SnmpAgentHandler
       ^
      ...
      16 errors
      63 warnings
      
      BUILD FAILED
      


      Should I report bugs about such issues or does JBoss ship those old libraries intentionally? There is no explaination in the source package.


      Cheers,
      Torsten