Java5 API, the presence of javax.management.MBeanInfo is detected even when not all of the JMX API is available, also breaking the jmx USE flag. Build then fails because com.sun.jdmk.comm.HtmlAdaptorServer is missing. Checking for this class instead should provide the desired behaviour. -- Martin von Gagern , 2005-08-31 --- build.xml +++ build.xml @@ -124,9 +124,10 @@ - + + @@ -191,6 +192,7 @@ ${stem}/jmx/*.java, ${stem}/or/jms/*.java" target="1.1" + source="1.2" deprecation="${deprecation}" debug="on"> @@ -211,6 +213,7 @@ classpath="${classpath}" excludes="misc/*" target="1.1" + source="1.2" deprecation="${deprecation}" debug="on"/> @@ -229,6 +232,7 @@ excludes="${stem}/xml/examples/doc-files/**.java, ${stem}/xml/Transform.java" target="1.1" + source="1.2" deprecation="${deprecation}" classpath="${classpath}"> @@ -242,6 +246,7 @@ destdir="${javac.dest}" includes="${stem}/net/SMTPAppender.java" target="1.1" + source="1.2" deprecation="${deprecation}"> @@ -252,6 +257,7 @@ destdir="${javac.dest}" includes="${stem}/net/JMS*.java, ${stem}/or/jms/*.java" target="1.1" + source="1.2" deprecation="${deprecation}"> @@ -263,6 +269,7 @@ includes="${stem}/jmx/*.java" excludes="${stem}/jmx/T.java" target="1.1" + source="1.2" deprecation="${deprecation}">