Are you building using the command ./ant
(which will make it use the jars in the lib directory, including ant 1.7.1)? If not, try that, after doing ./ant clean to clean up from previous attempts. James On Tue, Dec 23, 2008 at 8:53 PM, blaine_simpson <[email protected]>wrote: > Hi. I have a very clean Linux environment, but the build is failing > with Sun JDK 1.5 and 1.6: > > [xslt] : Error! file:/tmp/jing-trang/build.xsl: line 183: Second > argument to document() function must be a node-set. > > Ant 1.7.0 with no CLASSPATH set. The failing XSLT line is: > > <xsl:for-each select="document(concat('mod/', @module,'/mod.xml'), > $root)/module/ant/@precompile"> > > with the transformer apparently unappy with "$root". $root doesn't > seem like a variable name for a node "set". > > I build tons of Java software successfully on this system. I don't > have days to spend debugging this XSLT problem. > > Does anybody out there have a recently built jing.jar? I need the > catalog feature, and that was added shortly after the last available > distro on 10/28. > > > ------------------------------------ > > Yahoo! Groups Links > > > >
