dchappell 2002/09/28 15:32:15 Modified: java/samples/jms build.xml Log: Bug#13103 jms.present=true not getting propogated to sample compile. See additional comments in bug. Revision Changes Path 1.2 +8 -0 xml-axis/java/samples/jms/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-axis/java/samples/jms/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.xml 17 Sep 2002 16:50:36 -0000 1.1 +++ build.xml 28 Sep 2002 22:32:15 -0000 1.2 @@ -45,6 +45,14 @@ <target name="clean"/> <target name="copy"/> <target name="compile"> + <condition property="jms.present" > + <available classname="javax.jms.Message" classpathref="classpath" /> + </condition> + +<!-- =================================================================== + <echo message="jms.present=${jms.present}" /> +==================================================================== --> + <javac srcdir="${axis.home}" destdir="${build.dest}" debug="${debug}" fork="${javac.fork}"> <classpath> <path refid="classpath"/>