5 Replies Latest reply on Apr 24, 2003 5:09 AM by Viet

    CVS checkout

    Roberto Saccon Newbie

      I just did a fresh checkout to integrate everything into eclipse. But build failed for some modules and I had manually to fix the directory stucture at .../src/ressources/*lib (and I was wondering, why the same stuff in some modules is also under .../src/bin/..). Just comparing whith the modules which build propperly, should show the differences.

      In case others have also experienced this temporary problem, I hope this helps them not to loose much time with getting things up and running.

      Roberto

        • 1. Re: CVS checkout
          Viet Master

          I am not using eclipse (Intellij Idea instead) and don't know anything about it.

          julien

          • 2. Re: CVS checkout
            Matt Smith Newbie

            I did a fresh checkout tonight and the build failed, found this

            public interface Module
            {
            <<<<<<< Module.java

            I can fix this on my local copy easy enough, but could someone fix this in cvs.

            tx

            Matt

            • 3. Re: CVS checkout
              Matt Smith Newbie

              apparently the module interface is not used, it is only referenced in the import in JournalModule. Deleting it and the referenced import and the build went fine.

              tx

              Matt

              • 4. Re: CVS checkout
                krypton Novice

                Just got the latest source for nukes and build fails with ...

                [execmodules] 24-Apr-2003 09:43:11 xdoclet.XDocletMain start
                [execmodules] INFO: Running
                [execmodules] 24-Apr-2003 09:43:14 xdoclet.XDocletMain start
                [execmodules] INFO: Running

                _default:compile-classes:
                [depend] Deleted 0 out of date files in 0 seconds
                [javac] Compiling 83 source files to C:\Projects\live\jboss-cvs\nukes\nukes\output\classes
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\html\Page.java:35: cannot resolve symbol
                [execmodules] symbol : class JMXInvocationHandler
                [execmodules] location: package util
                [execmodules] import org.jboss.mx.util.JMXInvocationHandler;
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\core\modules\core\CoreModule.java:26: cannot resolve symbol
                [execmodules] symbol : class ObjectNameFactory
                [execmodules] location: package util
                [execmodules] import org.jboss.mx.util.ObjectNameFactory;
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\core\modules\html\HtmlModule.java:22: cannot resolve symbol
                [execmodules] symbol : class ObjectNameFactory
                [execmodules] location: package util
                [execmodules] import org.jboss.mx.util.ObjectNameFactory;
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\core\modules\core\CoreModule.java:75: cannot resolve symbol
                [execmodules] symbol : variable ObjectNameFactory
                [execmodules] location: class org.jboss.nukes.core.modules.core.CoreModule
                [execmodules] public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("nukes.modules:name=core");
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\html\Page.java:192: cannot resolve symbol
                [execmodules] symbol : class JMXInvocationHandler
                [execmodules] location: class org.jboss.nukes.html.Page
                [execmodules] JMXInvocationHandler handler = new JMXInvocationHandler(getServer(), name);
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\html\Page.java:192: cannot resolve symbol
                [execmodules] symbol : class JMXInvocationHandler
                [execmodules] location: class org.jboss.nukes.html.Page
                [execmodules] JMXInvocationHandler handler = new JMXInvocationHandler(getServer(), name);
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\html\Page.java:323: cannot resolve symbol
                [execmodules] symbol : class JMXInvocationHandler
                [execmodules] location: class org.jboss.nukes.html.Page
                [execmodules] JMXInvocationHandler handler = new JMXInvocationHandler(getServer(), name);
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\html\Page.java:323: cannot resolve symbol
                [execmodules] symbol : class JMXInvocationHandler
                [execmodules] location: class org.jboss.nukes.html.Page
                [execmodules] JMXInvocationHandler handler = new JMXInvocationHandler(getServer(), name);
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\component\ComponentSupport.java:70: incompatible types
                [execmodules] found : void
                [execmodules] required: org.jboss.mx.interceptor.Interceptor
                [execmodules] this.stack = new LifeCycleInterceptor(log).insertLast(this.stack);
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\component\ComponentSupport.java:71: incompatible types
                [execmodules] found : void
                [execmodules] required: org.jboss.mx.interceptor.Interceptor
                [execmodules] this.stack = new CacheInterceptor(cache).insertLast(this.stack);
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\core\modules\core\CoreModule.java:623: cannot resolve symbol
                [execmodules] symbol : variable CREATE_EVENT
                [execmodules] location: interface org.jboss.system.ServiceMBean
                [execmodules] if (ServiceMBean.CREATE_EVENT.equals(type))
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\core\modules\core\CoreModule.java:796: cannot resolve symbol
                [execmodules] symbol : variable CREATE_EVENT
                [execmodules] location: interface org.jboss.system.ServiceMBean
                [execmodules] return (ServiceMBean.CREATE_EVENT.equals(type) || ServiceMBean.DESTROY_EVENT.equals(type)) && ("nukes.modules".equals
                (domain) || "nukes.blocks".equals(domain) || "nukes.themes".equals(domain));
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\core\modules\core\CoreModule.java:796: cannot resolve symbol
                [execmodules] symbol : variable DESTROY_EVENT
                [execmodules] location: interface org.jboss.system.ServiceMBean
                [execmodules] return (ServiceMBean.CREATE_EVENT.equals(type) || ServiceMBean.DESTROY_EVENT.equals(type)) && ("nukes.modules".equals
                (domain) || "nukes.blocks".equals(domain) || "nukes.themes".equals(domain));
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\core\modules\html\HtmlModule.java:50: cannot resolve symbol
                [execmodules] symbol : variable ObjectNameFactory
                [execmodules] location: class org.jboss.nukes.core.modules.html.HtmlModule
                [execmodules] public static final ObjectName OBJECT_NAME = ObjectNameFactory.create("nukes.modules:name=html");
                [execmodules] ^
                [execmodules] C:\Projects\live\jboss-cvs\nukes\nukes\src\main\org\jboss\nukes\mx\LifeCycleInterceptor.java:98: cannot resolve symbol
                [execmodules] symbol : variable CREATED
                [execmodules] location: interface org.jboss.system.ServiceMBean
                [execmodules] setState(ServiceMBean.CREATED);
                [execmodules] ^
                [execmodules] 15 errors

                BUILD FAILED
                file:C:/Projects/live/jboss-cvs/nukes/nukes/../tools/etc/buildfragments/targets.ent:45: Compile failed; see the compiler error output for de
                tails.

                Total time: 22 seconds

                What version of jboss server do i need to compile against ? I tried 3.2.0, 3.0.7 and failures still occur ? Any ideas ?

                • 5. Re: CVS checkout
                  Viet Master

                  use 3.2.0RC4 some mx utils have moved from org.jboss.util.mx to org.jboss.xm.util.

                  julien