Hello,

how can I create an anttask to compile an xmlbean and set the namespace, prefix and suffix like in an xsdconfig-file?

example:

<xb:config xmlns:xb="http://www.bea.com/2002/09/xbean/config";>
    <xb:namespace uri="http://lehre.ifgi.de/idisplays2";>
          <xb:prefix>Xml</xb:prefix>
          <xb:suffix>Bean</xb:suffix>
    </xb:namespace>
</xb:config>

My current ant-task:

        <target name="makebean" depends="clean">
                <mkdir dir="${deploy}" />
                <xmlbean
                        schema="${schema-path}"
                        destfile="${jar-fullpath}"
                        download="true"
                        failonerror="true"
                        classpath="../lib/xbean.jar"
                />
        </target>

Best regards, Stefan

--
Stefan Offermann
Institut für Geoinformatik
Westfälische Wilhelms-Universität
Robert-Koch-Str. 26-28
D-48149 Münster

Fon:  +49 (0)251 83-31961
Mail: [EMAIL PROTECTED]
Web:  http://www.ifgi.de
      http://ifgi.uni-muenster.de/~offermann/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to