[jdom-interest] Build error in jdom-contrib
Randall Parker
randall at nls.net
Thu Jul 13 15:31:08 PDT 2000
Alex,
The single ampersand is a command separator for multiple commands on a line. The double ampersand is also but
it will only execute what is on the right of it if the program on the left of it returns a 0. In the example below it will n
ot run the java process if it fails to find the directory to cd into.
As for Win9x vs NT: I know NT supports both of them. I am pretty sure that Win9x supports the single ampersand.
But Win9x might not support the double ampersand. Not sure. Win9x does have a less able command interpreter. I
can't find any doc on this so I'm not sure.
I also wonder whether Win9x might have some command line length limit that is less less than NT's.
Oh, the cmd: Isn't it command.com in Win9x? Not cmd.exe?
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
>\xerces.jar;..\jdom\lib\ant.jar;..\jdom\build\classes;.\taskdefs\taskdefs.jar;.\
>lib\antlr_full.jar;.;d:\jdk1.3\lib\tools.jar;d:\java\gnu-regexp-1.0.8\lib\gnu-re
>gexp-1.0.8.jar;d:\java\lotusxsl\lotusxsl.jar;d:\dev\projects\lib\acme.jar;d:\jak
>arta-tomcat\lib\servlet.jar;d:\java\jaxp1.0.1\jaxp.jar;d:\java\jaxp1.0.1\parser.
>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
>98?
>
>--
>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:
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list