I need to be able to generate Classes using xjc.  This is currently being done 
using ant:

<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
  <classpath>
    <fileset dir="${common.devlib.dir}" includes="*.jar"/>
  </classpath>
</taskdef>
<target name="generate_jaxb_classes">
  <mkdir dir="${gen.src.dir}"/>
  <xjc schema="${jaxb.schema}" destDir="${gen.src.dir}" 
package="${jaxb.package}"/>
</target>

Is there a way to do the equivalent in Buildr?  Using ant task or (even better) 
w/o using ant task?
**********************************************************************
Disclaimer: This electronic message may contain information that is 
Confidential or legally privileged. It is intended only for the use of the 
individual(s) and entity named in the message. If you are not an intended 
recipient of this message, please notify the sender immediately and delete the 
material from your computer. Do not deliver, distribute or copy this message 
and do not disclose its contents or take any action in reliance on the 
information it contains. 
**********************************************************************

Reply via email to