2 Replies Latest reply on Jan 4, 2002 2:27 PM by barryburd

    ? Must specify value with name attribute ?

    barryburd

      I'm installing and testing JBoss 2.4 BETA with j2sdk1.4.0-beta3 and ant-1.4.1. I'm going through the Interest example. When I get to the place where I put the files in a jar, I get the following error message:

      C:\progra~1\JBoss\examples\build>ant intro-interest-jar
      Buildfile: build.xml

      BUILD FAILED

      C:\progra~1\JBoss\examples\build\build.xml:16: You must specify value, location
      or refid with the name attribute

      Total time: 0 seconds
      C:\progra~1\JBoss\examples\build>

      The build.xml file comes straight from the JBoss Web site, and starts with the following lines (I've omitted the comments):

      <?xml version="1.0" encoding="UTF-8" ?>



      Can anybody get me past this hurdle? Thank you.

        • 1. Re: ? Must specify value with name attribute ?

          Hi,

          This is probably a j2sdk1.4.0-BETA3 problem.

          I've seen quite a few other problems with it, but
          not this ant one.

          Only thing I can think of, is that 1.4 comes with
          JAXP already configured.

          Regards,
          Adrian

          • 2. Re: ? Must specify value with name attribute ?
            barryburd

            Thank you. I'm up and running now. FYI, it wasn't the JDK 1.4 beta that was the problem. While reinstalling everything on a computer with JDK 1.3, I noticed that I couldn't reuse and existing copy of the JBoss_documentation-example.zip file. I must have messed with this file before, and contaminated it. Anyway, when I downloaded a fresh JBoss_documentation-example.zip file, the install worked under both JDK 1.3 and JDK 1.4 beta.