7 Replies Latest reply on Mar 17, 2006 1:14 PM by Scott Stark

    Newbie build issue

    Mark Little Master

      I downloaded the version 1.0.2 from http://www.jboss.org/products/list/downloads#jbossmc expecting to get something that built out-of-the-box. That isn't case, which in itself isn't a problem, but there's no Readme.txt (or whatever you want to call it) that indicates what else I need to download in order to build. I'm probably missing something, so apologies in advance, but is there a different version/location I should be using to get the src, or is there something that describes how to build the MC?

      Thanks,

      Mark.

        • 1. Re: Newbie build issue
          Scott Stark Master

          See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMicrocontainer where the cvs module is declared as jbossmc and can be checked out using one of:

          cvs -d :pserver:anonymous@anoncvs.forge.jboss.com:/cvsroot/jboss co jbossmc
          cvs -d :ext:username@cvs.forge.jboss.com:/cvsroot/jboss co jbossmc
          



          • 2. Re: Newbie build issue
            Mark Little Master

            Thanks, that helped. But given that I get the following when using JDK 1.4.2:

            [execmodules] /Users/marklittle/Documents/workspace/jbossmc/test/src/main/org/jboss/test/JBossTestCase.java:29: package javax.management does not exist
            [execmodules] import javax.management.MBeanServerConnection;
            [execmodules] ^
            [execmodules] /Users/marklittle/Documents/workspace/jbossmc/test/src/main/org/jboss/test/JBossTestCase.java:30: package javax.management does not exist
            [execmodules] import javax.management.MalformedObjectNameException;
            [execmodules] ^
            [execmodules] /Users/marklittle/Documents/workspace/jbossmc/test/src/main/org/jboss/test/JBossTestCase.java:31: package javax.management does not exist
            [execmodules] import javax.management.ObjectName;
            [execmodules] ^
            [execmodules] /Users/marklittle/Documents/workspace/jbossmc/test/src/main/org/jboss/test/JBossTestServices.java:27: package javax.management does not exist
            [execmodules] import javax.management.MBeanServerConnection;
            [execmodules] ^
            [execmodules] /Users/marklittle/Documents/workspace/jbossmc/test/src/main/org/jboss/test/JBossTestServices.java:28: package javax.management does not exist
            [execmodules] import javax.management.MalformedObjectNameException;
            [execmodules] ^
            [execmodules] /Users/marklittle/Documents/workspace/jbossmc/test/src/main/org/jboss/test/JBossTestServices.java:29: package javax.management does not exist
            [execmodules] import javax.management.ObjectName;

            it may be an idea to point out somewhere that it's only supposed to build with J2SE 5.0 (I seem to recall that is the case, isn't it?)

            Mark.

            • 3. Re: Newbie build issue
              Doug Melzer Newbie

              If you are compiling with a 1.4.x JDK, then add the JMX .jars.

              • 4. Re: Newbie build issue
                Mark Little Master

                Yeah, but that wasn't my point. Going back to the first comment: if you want this to build out-of-the-box (which is always a good idea, or people may just dump it and move on to someone else's), then it needs to either come with everything you need (and it does if you build with 5), or come with instructions telling you what else you need (which it doesn't if you build with 1.4).

                Mark.

                • 5. Re: Newbie build issue
                  Scott Stark Master

                  Adrian needs to define how the release is built then.

                  • 6. Re: Newbie build issue
                    Adrian Brock Master

                    I don't know where those instructions came from on the WIKI
                    (unless it was a cut and paste error when the page was originally
                    constructed).

                    I've updated the WIKI page:
                    http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMicrocontainer

                    • 7. Re: Newbie build issue
                      Scott Stark Master

                      They came from me guessing how you were building it!