Off-hand I'd say there could be something wrong with your copy of it. I'm
not sure which build.xml it is, but I found one in the examples docs for
"interest", and ran with it (just to verify it parsed okay, since I knew
it wouldn't actually do anything beyond that). It parsed fine. The one I
tried is at:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/manual/src/examples/org/jboss/docs/interest/build.xml?rev=1.4&content-type=text/vnd.viewcvs-markup
If that's the one you have (not necessarily gotten from there), I'd
recommend checking your copy of the file and seeing if it got munged
somehow.
Diane
--- Arpita Chattopadhyay <c_arpita@yahoo.com> wrote:
>
> I am trying to run the existing example "interest" of JBoss. I am
> running JBoss2.4 and Ant1.4 on windows 2000 platform. I tested both
> application, they work fine. But when I try to build the "interest"
> example I get an exception. the following was received when debug is set
> to on.
>
> Setting ro project property: ant.file ->
> C:\jb_tom\jboss2_4\jboss\examples\build
> \build.xml
> parsing buildfile C:\jb_tom\jboss2_4\jboss\examples\build\build.xml with
> URI = f
> ile:C:/jb_tom/jboss2_4/jboss/examples/build/build.xml
> Setting ro project property: ant.project.name -> CMP
> Adding reference: CMP -> org.apache.tools.ant.Project@8b819f
> Setting project property: basedir -> C:\jb_tom\jboss2_4\jboss\examples
> Project base dir set to: C:\jb_tom\jboss2_4\jboss\examples
> +Task: property
>
> BUILD FAILED
>
> C:\jb_tom\jboss2_4\jboss\examples\build\build.xml:16: You must specify
> value, lo
> cation or refid with the name attribute
> at
> org.apache.tools.ant.taskdefs.Property.execute(Property.java:165)
> at
> org.apache.tools.ant.ProjectHelper$TaskHandler.finished(ProjectHelper
> .java:489)
> at
> org.apache.tools.ant.ProjectHelper$AbstractHandler.endElement(Project
> Helper.java:204)
> at
> org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java
> :347)
> at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1525)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1768)
> at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1496)
> at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
> at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
>
> at
> org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
>
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:326)
> at
> org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117)
> at
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
> a:85)
> at org.apache.tools.ant.Main.runBuild(Main.java:442)
> at org.apache.tools.ant.Main.start(Main.java:153)
> at org.apache.tools.ant.Main.main(Main.java:176)
>
> --------------------------------------------------
>
> Can anyone advise as to what is wrong with the build.xml.
>
> Thank you
>
> AC
>
>
>
> ---------------------------------
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information inYahoo! News.
=====
(holtdl@yahoo.com)
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
|