-
1. Re: Is it possible to build jmx standalone?
davidjencks Feb 12, 2002 7:25 PM (in response to doogie)Do you have the tools directory also checked out? it is used in the build system.
-
2. Re: Is it possible to build jmx standalone?
doogie Feb 12, 2002 10:40 PM (in response to doogie)Ah, nope. Maybe a nice helper module in CVSROOT/modules would help things like this.
JBoss has lots of nice, useful sub-projects, that can be used by themselves(embedded in other apps). -
3. Re: Is it possible to build jmx standalone?
doogie Feb 12, 2002 10:52 PM (in response to doogie)Ok, that helpped. Now, I get this when running ./build.sh(I have jmx/tools, jmx/src, etc).
I know this needs some other module from cvs. which is it? log4j, jdom, junit, are also not found.
compile-classes:
[javac] Compiling 277 source files to /home/adam/brainfood/jboss/cvs/jmx/output/classes
[javac] /home/adam/brainfood/jboss/cvs/jmx/src/main/javax/management/timer/Timer.java:21: cannot resolve symbol
[javac] symbol : class ConcurrentReaderHashMap
[javac] location: package concurrent
[javac] import EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap;
[javac] ^
[javac] /home/adam/brainfood/jboss/cvs/jmx/src/main/javax/management/timer/Timer.java:102: cannot resolve symbol
[javac] symbol : class ConcurrentReaderHashMap
[javac] location: class javax.management.timer.Timer
[javac] ConcurrentReaderHashMap notifications = new ConcurrentReaderHashMap();
[javac] ^
Ah, I see. This is what I had to do to get it to compile:
./build.sh -Dproject.thirdparty=/home/adam/brainfood/jboss/cvs/jmx/thirdparty/ -Dmodule.source=`pwd`/src -Dmodule.output=`pwd`/output
Now, I can make a separate package of this, so that tomcat4(which I am not packaging, someone else is) can make the catalina mbeans, and then I can make jboss-catalina-service. -
4. Re: Is it possible to build jmx standalone?
squirest Feb 13, 2002 2:36 AM (in response to doogie)> Ah, nope. Maybe a nice helper module in
> CVSROOT/modules would help things like this.
Ah,
I was originally going to make a sarcastic comment but then I realised there's probably a naming issue here...
Anyhow, the JMX work is beind done as JBoss-MX. So, there is a module jboss-mx you can use.
I think it needs updating to pull in thirdparty/apache/log4j but I'm not sure...
Trevor -
5. Re: Is it possible to build jmx standalone?
juha Feb 13, 2002 6:24 AM (in response to doogie)standalone jboss-mx should work now:
cvs -d : pserver:anonymous@cvs.jboss.sf.net:/cvsroot/jboss co jboss-mx
-- Juha -
6. Re: Is it possible to build jmx standalone?
adrian.brock Feb 13, 2002 6:29 AM (in response to doogie)Thanks Juha,
That was my fault :-(
I'll test my mods with the standalone version, not
just jboss-all in future.
Regards,
Adrian -
7. Re: Is it possible to build jmx standalone?
juha Feb 13, 2002 8:10 AM (in response to doogie)no prob
-
8. Re: Is it possible to build jmx standalone?
doogie Feb 13, 2002 2:22 PM (in response to doogie)Yup. jboss-mx module works fine. just run 'build/build.sh'.