Re: [Reminder] ANT/Xalan setup

Hmmm - seems to work fine for me now.  Not sure why.  Of course this is
just one target so far, but it does run the style task.

Win2K SP 2
Ant 1.4.1b installed
ANT_HOME/lib has xalan.jar, xerces.jar from xalan D11.  It also works with
the appropriate files from D14 (xerces.jar, xalan.jar, plus new
xml-apis.jar)

E:\builds\a-other\dom>ant dom1-schema
Buildfile: build.xml

init:

dom1-init:
      [get] Getting:
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/DOM.zip
      [get] Not modified - so not downloaded
    [unzip] Expanding: E:\builds\a-other\dom\lib\specs\DOM.zip into E:
\builds\a-
other\dom\lib\specs\Level-1
    [unzip] Expanding: E:
\builds\a-other\dom\lib\specs\Level-1\xml-source.zip in
to E:\builds\a-other\dom\lib\specs\Level-1
    [patch] patching file `E:
\builds\a-other\dom\lib\specs\Level-1\xml\wd-dom.xm
l'
    [patch] patching file `E:
\builds\a-other\dom\lib\specs\Level-1\xml\definitio
ns\level-one-core\element.xml'

dom1-schema:
    [style] Processing E:
\builds\a-other\dom\lib\specs\Level-1\xml\wd-dom.xml to
 E:\builds\a-other\dom\build\_dom1.xsd
    [style] Loading stylesheet E:
\builds\a-other\dom\transforms\dom-to-xsd.xsl
   [delete] Deleting: E:\builds\a-other\dom\build\_dom1.xsd
     [copy] Copying 1 file to E:\builds\a-other\dom\tests\level1\core

BUILD SUCCESSFUL

Total time: 3 minutes 14 seconds
E:\builds\a-other\dom>set
ANT_HOME=f:\jdks\ant
CLASSPATH=f:\jdks\jdk1.3\lib\tools.jar;f:\jdks\jsdk2.2\lib\servlet.jar
ComSpec=C:\W2K\system32\cmd.exe
JAVA_HOME=f:\jdks\jdk1.3
OS=Windows_NT
Path=f:\jdks\jdk1.3\bin;f:\tools\tcl\bin;C:\W2K\system32;C:\W2K;C:
\W2K\System32\
Wbem;c:\u\bin;c:\u\binc\bin;f:\jdks\ant\bin
windir=C:\W2K

----- Forwarded by Shane_Curcuru@us.ibm.com on 12/11/2001 04:20 PM -----
Hi Shane

Thanks for your reply.

To begin with, you can direct most of your questions to the www-dom-
ts@w3.org mailing list, as these are questions of general interest.

The setup I've referred to is Ant 1.4 with the corresponding optional
jar file, Xerces and Xalan from the xalan2.2D11 distribution, I have sed
and patch since I run a Unix system.

I'll take the note on the build file up with the person who's been the
primary author.

Thanks

/Dimitris
On Wednesday, December 5, 2001, at 11:17  PM, shane_curcuru@us.ibm.com
wrote:

> Hi Dimitris, I'm also working on Xalan with Joseph.  Although I'm
> certainly
> not an Ant expert, I'll try to help out.  Unfortunately I can't run
> most of
> the targets since I don't have a copy of patch - any links to a freely
> licenseable one for W2K?  Also, we'd need to know the exact version of
> Ant
> that you're using, especially since optional task handling and some
> classpath issues have changed a bunch between the 1.2/1.3/1.4 releases.
>
> One minor coding comment on the build.xml file is that most projects are
> now using the description attribute on the top-level tasks instead of
> creating your own usage target.  That way users can run 'ant
> -projecthelp'
> and get the usage statement directly from the tasks themselves.
>
> More help might be available from ant-user@jakarta.apache.org or
> ant-dev@jakarta.apache.org.
>
> - Shane
>

Received on Monday, 17 December 2001 16:41:12 UTC