[jdom-interest] Build error in jdom-contrib

Randall Parker randall at nls.net
Thu Jul 13 18:54:15 PDT 2000


I asked about your problem on a private news server (news.barkto.com - come on down!) where some members of our discussion group are MS employees. Anyway, straight from the MS horse's mouth, 
yes you are looking at a Win9x command.com limitation. The response comes courtesy of Rich Shupak of MS Research:

   No.  Win9x uses COMMAND.COM.  Windows NT/2000 uses CMD.EXE.  On both the COMSPEC environment variable points to it.

   COMMAND.COM doesn's support &, &&, or redirection of stderr (i.e. 2>).

   Both have a command line limit.  I don't know what the COMMAND.COM limit is.  CMD.EXE in Windows 2000 has an 8K limit.  It may be shorter in Windows NT 4.0.  The limit was raised to 4K in 1994.  Raising this 
to 8K could have been any time in between.


On Thu, 13 Jul 2000 04:41:05 -0700, Alex Chaffee wrote:

>BUILD FATAL ERROR: Error exec: cmd /c cd D:\jdom-dev\jdom-contrib\build\src\org\
>jdom\contrib\xpath\parser && java -classpath d:\jdk1.3\lib\tools.jar;..\jdom\lib
>jar -Duser.dir=D:\jdom-dev\jdom-contrib antlr.Tool xpath.g
>Looks like someone put unix-specific code in an Ant task -- what's
>that "&&" doing there?  Or is that an NT-ism that breaks on Windows
>Alex Chaffee                       mailto:alex at jguru.com
>jGuru - Java News and FAQs         http://www.jguru.com/alex/
>Creator of Gamelan                 http://www.gamelan.com/
>Founder of Purple Technology       http://www.purpletech.com/
>Curator of Stinky Art Collective   http://www.stinky.com/
>To control your jdom-interest membership:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20000713/8562bdce/attachment.htm

More information about the jdom-interest mailing list