0N/AWorking On Java[TM] Management Extensions (JMX[TM)) Using NetBeans IDE
0N/A and workings with OpenJDK NetBeans projects.
0N/AThis README focusses on working on the OpenJDK JMX API using NetBeans IDE.
0N/A This NetBeans project for OpenJDK JMX allows you to modify, build, and test
0N/A the JMX API in a standalone manner. It can also be used to generate
0N/A the JMX API documentation for preview.
0N/A The JMX API does not contain native code. It is a pure java library.
0N/A You do not need to install all the Java SE sources to work on JMX,
0N/A you only need the following subset:
0N/A If you don't want to build the whole JDK, you will also need a
0N/A pre-built version of OpenJDK (or JDK 7). Edit your
0N/A Then from within NetBeans IDE open the JMX project, and invoke the
0N/A "Build Project" and "Test Project" target. Note that running all the
0N/A tests for JMX takes a while. The build may also fail if it doesn't
0N/A find a directory named src/${platform}. This may happen if you haven't
0N/A installed all OpenJDK sources. In this case, you can simply
0N/A create an empty directory with the name expected by the build mechanism.
0N/A Which tests are run are defined by the
jtreg.test variable declared
0N/A use JMX and we therefore recommend to run these tests too.
0N/A If you are working on a JMX fix, don't forget to create a
0N/A You can look at existing tests to see how this is done.
0N/AThe set of actions defined in this project are:
0N/A - Compiles JMX API source files and puts the class files under
0N/A build/${platform}-${arch}/classes.
0N/A JMX classes instead of the built-in JDK classes you will need
0N/A to put this jar file in front of the bootclasspath:
0N/A* Generate Javadoc for Project
0N/A - Generates the JMX API Documentation under
0N/A - Runs the JMX and Management and Monitoring jtreg unit tests.
0N/A - The results are written under build/${platform}-${arch}
/jtreg/jmx 0N/A and the HTML test report can be found at
0N/A - Cleans the files created by this projet under build/
0N/A Some files may remain.
0N/A Please make sure to follow carefully the governance rules documented at