You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by he...@apache.org on 2004/10/13 08:36:49 UTC
cvs commit: ws-axis/contrib/ews maven.xml
hemapani 2004/10/12 23:36:49
Modified: contrib/ews maven.xml
Log:
remove the xmlbeans generation for the time been, the generated code is downloaded for now
Revision Changes Path
1.15 +128 -128 ws-axis/contrib/ews/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/ws-axis/contrib/ews/maven.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- maven.xml 13 Oct 2004 06:22:28 -0000 1.14
+++ maven.xml 13 Oct 2004 06:36:49 -0000 1.15
@@ -1,128 +1,128 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Revision$ $Date$ -->
-
-<project default="jar"
- xmlns:j="jelly:core"
- xmlns:maven="jelly:maven"
- xmlns:deploy="deploy"
- xmlns:ant="jelly:ant">
-
- <goal name="setclasspath">
- <path id="test.classpath">
- <path refid="maven.dependency.classpath"/>
- </path>
- </goal>
-
- <goal name="generate:xmlbeans"
- description="Generates the XML beans using JAXB">
-
- <j:jelly xmlns="jelly:ant">
-
- <j:set var="src.dir" value="${basedir}/src"/>
- <j:set var="dir" value="${basedir}/target/src"/>
- <j:set var="schema.dir" value="${basedir}/schema"/>
- <j:set var="xmlbeans.dir" value="${dir}/xmlbeans"/>
-
- <taskdef name="xmlbean"
- classname="org.apache.xmlbeans.impl.tool.XMLBean"
- classpathref="maven.dependency.classpath"/>
-
- <ant:mkdir dir="${dir}"/>
- <ant:mkdir dir="${dir}/lib"/>
-
- <xmlbean schema="${schema.dir}"
- destfile="${maven.repo.local}/ews/jars/ews-xmlbeans-DEV.jar"
- srcgendir="${xmlbeans.dir}"
- classpathref="maven.dependency.classpath"
- debug="on">
- <includes>j2ee_jaxrpc_mapping_1_1.xsd</includes>
- <includes>j2ee_web_services_client_1_1.xsd</includes>
- </xmlbean>
- </j:jelly>
- </goal>
-
- <preGoal name="java:compile">
- <attainGoal name="generate:jaxb"/>
- <attainGoal name="generate:xmlbeans"/>
-
- <path id="ews.beans.compile.src.set"
- location="${basedir}/target/src"/>
-
- <maven:addPath id="maven.compile.src.set"
- refid="ews.beans.compile.src.set"/>
-
- </preGoal>
-
- <postGoal name="jar">
- <ant:mkdir dir="${basedir}/target/lib"/>
- <deploy:copy-deps todir="${basedir}/target/lib"/>
- <ant:mkdir dir="${maven.repo.local}/ews/jars"/>
- <ant:copy file="${basedir}/target/ews-1.0.jar" tofile="${maven.repo.local}/ews/jars/ews-SNAPSHOT.jar"/>
- </postGoal>
-
- <goal name="generate:jaxb"
- description="Generates the XML beans using JAXB">
-
- <j:jelly xmlns="jelly:ant">
-
- <j:set var="src.dir" value="${basedir}/src"/>
- <j:set var="dir" value="${basedir}/target/src"/>
- <j:set var="schema.dir" value="${basedir}/schema"/>
-
- <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
- <classpath refid="maven.dependency.classpath"/>
- </taskdef>
-
- <ant:mkdir dir="${dir}"/>
-
- <!-- Generate EjbJar files from schema -->
- <xjc target="${dir}"
- package="org.apache.geronimo.ews.ws4j2ee.parsers.ejbdd"
- schema="${schema.dir}/ejb-jar.xsd"
- extension="true" >
- <produces dir="${dir}/org/apache/geronimo/ews/ws4j2ee/parsers/ejbdd"
- name="* impl/*"/>
- </xjc>
-
- <!-- Generate JaxRpcMappingFile files from schema -->
- <xjc target="${dir}"
- schema="${schema.dir}/j2ee_jaxrpc_mapping_1_1.xsd"
- package="org.apache.geronimo.ews.jaxrpcmapping.descriptor"
- extension="true" >
- <produces dir="${dir}/org/apache/geronimo/ews/jaxrpcmapping/descriptor"
- name="* impl/*"/>
- </xjc>
-
- <!-- Generate Webservices files from schema -->
- <xjc target="${dir}"
- schema="${schema.dir}/webservices.xsd"
- package="org.apache.geronimo.ews.ws4j2ee.context.webservices.server.jaxb"
- extension="true" >
- <produces dir="${dir}/org/apache/geronimo/ews/ws4j2ee/context/webservices/server/jaxb"
- name="* impl/*"/>
- </xjc>
- </j:jelly>
- </goal>
-
- <preGoal name="test:test">
- <j:jelly xmlns="jelly:ant">
- <ant:java classname="org.apache.geronimo.ews.ws4j2ee.utils.PropertyStore" fork="no" >
- <ant:arg value="${maven.repo.local}"/>
- <ant:classpath>
- <pathelement location="${basedir}/target/classes"/>
- </ant:classpath>
- </ant:java>
-
- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/bookquote"/>
- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/google"/>
- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/time"/>
- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/zip"/>
- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/servlet/bookquote"/>
- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/echo"/>
- <!-- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/servlet/echo"/> -->
- </j:jelly>
- </preGoal>
-
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Revision$ $Date$ -->
+
+<project default="jar"
+ xmlns:j="jelly:core"
+ xmlns:maven="jelly:maven"
+ xmlns:deploy="deploy"
+ xmlns:ant="jelly:ant">
+
+ <goal name="setclasspath">
+ <path id="test.classpath">
+ <path refid="maven.dependency.classpath"/>
+ </path>
+ </goal>
+
+ <goal name="generate:xmlbeans"
+ description="Generates the XML beans using JAXB">
+
+ <j:jelly xmlns="jelly:ant">
+
+ <j:set var="src.dir" value="${basedir}/src"/>
+ <j:set var="dir" value="${basedir}/target/src"/>
+ <j:set var="schema.dir" value="${basedir}/schema"/>
+ <j:set var="xmlbeans.dir" value="${dir}/xmlbeans"/>
+
+ <taskdef name="xmlbean"
+ classname="org.apache.xmlbeans.impl.tool.XMLBean"
+ classpathref="maven.dependency.classpath"/>
+
+ <ant:mkdir dir="${dir}"/>
+ <ant:mkdir dir="${dir}/lib"/>
+
+ <xmlbean schema="${schema.dir}"
+ destfile="${maven.repo.local}/ews/jars/ews-xmlbeans-DEV.jar"
+ srcgendir="${xmlbeans.dir}"
+ classpathref="maven.dependency.classpath"
+ debug="on">
+ <includes>j2ee_jaxrpc_mapping_1_1.xsd</includes>
+ <includes>j2ee_web_services_client_1_1.xsd</includes>
+ </xmlbean>
+ </j:jelly>
+ </goal>
+
+ <preGoal name="java:compile">
+ <attainGoal name="generate:jaxb"/>
+ <!-- <attainGoal name="generate:xmlbeans"/> -->
+
+ <path id="ews.beans.compile.src.set"
+ location="${basedir}/target/src"/>
+
+ <maven:addPath id="maven.compile.src.set"
+ refid="ews.beans.compile.src.set"/>
+
+ </preGoal>
+
+ <postGoal name="jar">
+ <ant:mkdir dir="${basedir}/target/lib"/>
+ <deploy:copy-deps todir="${basedir}/target/lib"/>
+ <ant:mkdir dir="${maven.repo.local}/ews/jars"/>
+ <ant:copy file="${basedir}/target/ews-1.0.jar" tofile="${maven.repo.local}/ews/jars/ews-SNAPSHOT.jar"/>
+ </postGoal>
+
+ <goal name="generate:jaxb"
+ description="Generates the XML beans using JAXB">
+
+ <j:jelly xmlns="jelly:ant">
+
+ <j:set var="src.dir" value="${basedir}/src"/>
+ <j:set var="dir" value="${basedir}/target/src"/>
+ <j:set var="schema.dir" value="${basedir}/schema"/>
+
+ <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
+ <classpath refid="maven.dependency.classpath"/>
+ </taskdef>
+
+ <ant:mkdir dir="${dir}"/>
+
+ <!-- Generate EjbJar files from schema -->
+ <xjc target="${dir}"
+ package="org.apache.geronimo.ews.ws4j2ee.parsers.ejbdd"
+ schema="${schema.dir}/ejb-jar.xsd"
+ extension="true" >
+ <produces dir="${dir}/org/apache/geronimo/ews/ws4j2ee/parsers/ejbdd"
+ name="* impl/*"/>
+ </xjc>
+
+ <!-- Generate JaxRpcMappingFile files from schema -->
+ <xjc target="${dir}"
+ schema="${schema.dir}/j2ee_jaxrpc_mapping_1_1.xsd"
+ package="org.apache.geronimo.ews.jaxrpcmapping.descriptor"
+ extension="true" >
+ <produces dir="${dir}/org/apache/geronimo/ews/jaxrpcmapping/descriptor"
+ name="* impl/*"/>
+ </xjc>
+
+ <!-- Generate Webservices files from schema -->
+ <xjc target="${dir}"
+ schema="${schema.dir}/webservices.xsd"
+ package="org.apache.geronimo.ews.ws4j2ee.context.webservices.server.jaxb"
+ extension="true" >
+ <produces dir="${dir}/org/apache/geronimo/ews/ws4j2ee/context/webservices/server/jaxb"
+ name="* impl/*"/>
+ </xjc>
+ </j:jelly>
+ </goal>
+
+ <preGoal name="test:test">
+ <j:jelly xmlns="jelly:ant">
+ <ant:java classname="org.apache.geronimo.ews.ws4j2ee.utils.PropertyStore" fork="no" >
+ <ant:arg value="${maven.repo.local}"/>
+ <ant:classpath>
+ <pathelement location="${basedir}/target/classes"/>
+ </ant:classpath>
+ </ant:java>
+
+ <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/bookquote"/>
+ <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/google"/>
+ <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/time"/>
+ <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/zip"/>
+ <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/servlet/bookquote"/>
+ <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/ejb/echo"/>
+ <!-- <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="samples/servlet/echo"/> -->
+ </j:jelly>
+ </preGoal>
+
+
+</project>