4 Replies Latest reply on Mar 12, 2004 5:22 PM by Howard Pearlmutter

    Error in building the latest code

    Dennis Przybyla Novice

      Here is the error:


       [javac] Compiling 174 source files to C:\projects\jboss\nukes\nukes\output\c
      lasses
       [javac] C:\projects\jboss\nukes\nukes\src\main\org\jboss\nukes\core\ejb\File
      StatEJB.java:40: cannot resolve symbol
       [javac] symbol : variable VMID
       [javac] location: class org.jboss.nukes.common.util.Tools
       [javac] setVMId(Tools.VMID);
       [javac] ^
       [javac] C:\projects\jboss\nukes\nukes\src\main\org\jboss\nukes\core\ejb\File
      StatEJB.java:45: cannot resolve symbol
       [javac] symbol : variable VMID
       [javac] location: class org.jboss.nukes.common.util.Tools
       [javac] return new FileStatEJBPK(Tools.VMID, id, from);
       [javac] ^
       [javac] C:\projects\jboss\nukes\nukes\src\main\org\jboss\nukes\core\modules\
      mail\MailModule.java:390: warning: Name(java.lang.String) in org.xbill.DNS.Name
      has been deprecated
       [javac] Name _name = new Name(name); // Name _name = Name.fromString(n
      ame); does not work, why ?
       [javac] ^
       [javac] 2 errors
       [javac] 1 warning
      


      Thanks,

        • 1. Re: Error in building the latest code
          Dennis Przybyla Novice

          Think I figured it out. didn't do a build in the builds directory first.

          • 2. Re: Error in building the latest code
            Howard Pearlmutter Novice

            Wondering how you're getting CVS to build at all.... This is from CVS checkout just minutes ago; I am doing a build in the builds directory first, and it dies even worse than yesterday:

            _default:compile-classes:
            [depend] Deleted 0 out of date files in 0 seconds
            [javac] Compiling 174 source files to C:\obox\eclipse-2.1.1\workspace\nukes\nukes\output\classes
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\resources\ResourceManager.java:13: cannot resolve symbol
            [execmodules] symbol : class SynchronizedCachePolicy
            [execmodules] location: package util
            [execmodules] import org.jboss.util.SynchronizedCachePolicy;
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\resources\ResourceManager.java:106: cannot resolve symbol
            [execmodules] symbol : class SynchronizedCachePolicy
            [execmodules] location: class org.jboss.nukes.resources.ResourceManager
            [execmodules] wrapper = new SynchronizedCachePolicy(cache);
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\core\modules\block\BlockModule.java:104: cannot resolve symbol
            [execmodules] symbol : variable UNREGISTERED
            [execmodules] location: interface org.jboss.system.ServiceMBean
            [execmodules] stateToTemplate[ServiceMBean.UNREGISTERED] = "switch_state_unregisted";
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\core\modules\block\BlockModule.java:105: cannot resolve symbol
            [execmodules] symbol : variable REGISTERED
            [execmodules] location: interface org.jboss.system.ServiceMBean
            [execmodules] stateToTemplate[ServiceMBean.REGISTERED] = "switch_state_registered";
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\core\modules\block\BlockModule.java:114: cannot resolve symbol
            [execmodules] symbol : variable UNREGISTERED
            [execmodules] location: interface org.jboss.system.ServiceMBean
            [execmodules] increaseState[ServiceMBean.UNREGISTERED] = ACTION_NULL;
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\core\modules\block\BlockModule.java:115: cannot resolve symbol
            [execmodules] symbol : variable REGISTERED
            [execmodules] location: interface org.jboss.system.ServiceMBean
            [execmodules] increaseState[ServiceMBean.REGISTERED] = ACTION_NULL;
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\core\modules\block\BlockModule.java:124: cannot resolve symbol
            [execmodules] symbol : variable UNREGISTERED
            [execmodules] location: interface org.jboss.system.ServiceMBean
            [execmodules] decreaseState[ServiceMBean.UNREGISTERED] = ACTION_NULL;
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\core\modules\block\BlockModule.java:125: cannot resolve symbol
            [execmodules] symbol : variable REGISTERED
            [execmodules] location: interface org.jboss.system.ServiceMBean
            [execmodules] decreaseState[ServiceMBean.REGISTERED] = ACTION_NULL;
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\core\modules\mail\MailModule.java:390: warning: Name(java.lang.String) in org.xbill.DNS.Name has been deprecated
            [execmodules] Name _name = new Name(name); // Name _name = Name.fromString(name); does not work, why ?
            [execmodules] ^
            [execmodules] C:\obox\eclipse-2.1.1\workspace\nukes\nukes\src\main\org\jboss\nukes\servlet\enhance\WebApplicationEnhancer.java:109: cannot resolve symbol
            [execmodules] symbol : method getDeploymentInfo ()
            [execmodules] location: class org.jboss.web.WebApplication
            [execmodules] if (info == app.getDeploymentInfo())
            [execmodules] ^
            [execmodules] 9 errors
            [execmodules] 1 warning
            [javac] BUILD FAILED: file:C:/obox/eclipse-2.1.1/workspace/nukes/nukes/../tools/etc/buildfragments/targets.ent:65: Compile failed; see the compiler error output for details.
            Total time: 9 seconds


            • 3. Re: Error in building the latest code
              Sherman Wood Apprentice


              You do not have JBOSS_HOME pointing to a JBoss 3.2.3 root directory.


              Sherman

              • 4. Re: Error in building the latest code
                Howard Pearlmutter Novice

                That was it -- thanks, Sherman!