psmith      2004/06/09 02:29:17

  Modified:    .        build.xml
  Log:
  This change gets around the condition where you use the 'j2ee.jar', which includes
  the classes needed for the JMS side of things, and SOME of the classes
  that JMX needs.  Otherwise the JMX check will pass, but won't complie
  because of some missing classes.
  
  This just adds an additional class that must be present before the JMX check
  will pass.
  
  Revision  Changes    Path
  1.105     +11 -3     logging-log4j/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/logging-log4j/build.xml,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- build.xml 8 Jun 2004 15:36:29 -0000       1.104
  +++ build.xml 9 Jun 2004 09:29:17 -0000       1.105
  @@ -156,9 +156,17 @@
     </target>
   
     <target name="jmxCheck" depends="jndiCheck" if="jndi-present">
  -    <available classname="javax.management.MBeanInfo" property="jmx-present">
  -     <classpath refid="compile.classpath"/>
  -    </available>
  +    <condition property="jmxCheck">
  +         <and>
  +            <available classname="javax.management.MBeanInfo">
  +             <classpath refid="compile.classpath"/>
  +            </available>
  +            <available classname="com.sun.jdmk.comm.HtmlAdaptorServer">
  +             <classpath refid="compile.classpath"/>
  +            </available>
  +         </and>
  +      </condition>
  +
     </target>
     <target name="jmx" depends="jmxCheck" if="jmx-present">
       <echo message="JMX is present."/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to