antlets/jaxb/src xbuild.xml,NONE,1.1

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/antlets/jaxb/src
In directory sc8-pr-cvs1:/tmp/cvs-serv26082/jaxb/src

Added Files:
	xbuild.xml 
Log Message:
Initial import.

--- NEW FILE: xbuild.xml ---
<?xml version="1.0"?>
<!-- $Header: /cvsroot/metamorphosis/antlets/jaxb/src/xbuild.xml,v 1.1 2003/11/24 21:51:30 chalko Exp $ -->
<project default="clean" basedir="." name="jaxb.antlet">

   <description>JAXB</description>
   
   <property name="project.src.dir" value="src/java"/>
   
  <target name="init.jwsdp" unless="jwsdp.home">
      
      <fail message="jwsdp.home must be set"/>

 </target>
   <target name="init.jaxb" depends="init.jwsdp" >  
 
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
  <classpath>
    <fileset dir="${jwsdp.home}/jaxb/lib" includes="*.jar" excludes="ant.jar"/>
    <fileset dir="${jwsdp.home}">
      <include name="jaxp/**/*.jar"/>
      <include name="jwsdp-shared/lib/**/*.jar"/>
    </fileset>
  </classpath>
</taskdef>	
 </target>
 
 <target name="xjc" 
         depends="init.jaxb"
         description="Generate XML classes from schemas" >
     <!-- TODO this really needs more options -->
     <xjc target="${project.src.dir}">
          <schema  dir="${project.src.dir}" includes="*.xsd"/>
    </xjc>
     
 </target>
    
</project>  




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.