W3C home > Mailing lists > Public > www-dom-ts@w3.org > January 2003

Re: build.xml additions

From: Mary Brady <mbrady@nist.gov>
Date: Mon, 13 Jan 2003 09:56:45 -0500
Message-ID: <007201c2bb13$fdf94620$293b0681@sdct.nist.gov>
To: <jeroen@x-hive.com>, <www-dom-ts@w3.org>

Jeroen,

Do you have write access to the CVS repository?  If so,
please feel free to update the build.xml directly.  If not,
just let me know, and we can update it for you.

--Mary

----- Original Message -----
From: "Jeroen van Rotterdam" <jvrdam@xs4all.nl>
To: <www-dom-ts@w3.org>
Sent: Sunday, January 12, 2003 10:21 AM
Subject: build.xml additions


>
> I added the following targets to my build.xml to build a single test and
> to compile a dom3 module.
> It might make sense to add something like this to the build.xml in the
> test suite distribution.
>
> 1. generate a single test
>
> run as follows: ant dom3-gen-java -Dtest=atest.xml -Dmodule=ls
>
>
> <target name="dom3-gen-java" depends="init">
>  <style basedir="${tests.dir}/level3/${module}"
>         destdir="${java.build.dir}/org/w3c/domts/level3/${module}"
>         includes="${test}"
>         style="${transforms.dir}/test-to-java.xsl"
>         extension=".java">
>   <param name="interfaces-docname"
>        expression="../${build.dir}/dom3-interfaces.xml"/>
>   <param name="package"
>        expression="org.w3c.domts.level3.${module}"/>
>   <param name="target-uri-base"
>
expression="http://www.w3.org/2001/DOM-Test-Suite/level3/${module}/"/>
>  </style>
> </target>
>
> 2. compile a module:
>
> run as follows: ant dom3-javac -Dmodule=ls
>
> <!--jvr-->
> <target name="dom3-javac" depends="init">
>
> <javac
> destdir="${java.build.dir}"
> classpath="${java.build.dir};${jaxp.jar}"
>                 debug="on"
> encoding="UTF8">
>         <src path="${java.build.dir}"/>
>         <include name="org/w3c/domts/level3/${module}/*"/>
>     </javac>
> </target>
>
>
> jeroen
>
> =====
> X-Hive Corporation
> Jeroen van Rotterdam, CEO
> e-mail: jeroen@x-hive.com
> phone: +31 10 2818080
> http://www.x-hive.com
>
>
>
Received on Monday, 13 January 2003 10:05:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:06 UTC