Author: ekoneil
Date: Wed Mar 16 20:19:08 2005
New Revision: 157888
URL: http://svn.apache.org/viewcvs?view=rev&rev=157888
Log:
Fixup build-schema.xml to adjust the path to the compiler related XSDs.
BB: self
DRT: none
Modified:
incubator/beehive/trunk/netui/ant/build-schema.xml
Modified: incubator/beehive/trunk/netui/ant/build-schema.xml
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/ant/build-schema.xml?view=diff&r1=157887&r2=157888
==============================================================================
--- incubator/beehive/trunk/netui/ant/build-schema.xml (original)
+++ incubator/beehive/trunk/netui/ant/build-schema.xml Wed Mar 16 20:19:08 2005
@@ -1,7 +1,9 @@
<?xml version="1.0"?>
<project name="Beehive/NetUI/Schema Build" default="build" basedir=".">
+
<import file="../../beehive-imports.xml"/>
+
<property file="netui.properties"/>
<property name="netui.ant.dir" location="${beehive.home}/netui/ant"/>
@@ -9,17 +11,17 @@
<property name="schema.jar"
location="${beehive.home}/netui/netui-schema.jar"/>
<property name="schema.build.dir"
location="${beehive.home}/netui/build-schema"/>
- <target name="build" depends="build-schemas, make-jar" />
+ <target name="build" depends="build-schemas,make-jar"/>
<target name="build-schemas">
<!-- the compiler-core module has schemas in two locations -->
<antcall target="build-schema">
<param name="module.name" value="compiler-core"/>
- <param name="module.schema.dir"
value="${netui.src.dir}/compiler/schema/struts-config"/>
+ <param name="module.schema.dir"
value="${netui.src.dir}/compiler-core/schema/struts-config"/>
</antcall>
<antcall target="build-schema">
<param name="module.name" value="compiler-core"/>
- <param name="module.schema.dir"
value="${netui.src.dir}/compiler/schema/struts-validator"/>
+ <param name="module.schema.dir"
value="${netui.src.dir}/compiler-core/schema/struts-validator"/>
</antcall>
<antcall target="build-schema">
@@ -44,11 +46,11 @@
<mkdir dir="${schema.build.dir}"/>
- <!-- run the XMLBean compiler for the webapp schema -->
+ <!-- run the XMLBean compiler for the given XSD -->
<ant antfile="${netui.ant.dir}/xmlBean.xml">
<property name="xsd.root.dir" value="${module.schema.dir}"/>
<property name="class.output.dir" value="${schema.build.dir}"/>
- <property name="xbean.inputs"
value="${netui.src.dir}/${module}/schema/*.xsd*"/>
+ <property name="xbean.inputs"
value="${netui.src.dir}/${module.name}/schema/*.xsd*"/>
<property name="xbean.output" value="${schema.jar}"/>
</ant>
</target>