ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jp Morgan <jpmorg...@yahoo.com>
Subject Re: Ant 1.4 question with usage in JBoss
Date Wed, 19 Sep 2001 00:51:34 GMT
I had problem with the same exception. But when I
changed line 16 to the following line everything
worked. I just added the value attribute.


 <property name="env" environment="env" value="env" />




--- Diane Holt <holtdl@yahoo.com> wrote:
> --- Arpita Chattopadhyay <c_arpita@yahoo.com> wrote:
> > do you know anything about this exception below ? 
> > 
> > C:\jb_tom\jboss2_4\jboss\examples\build>ant
> intro-interest-compile
> > Buildfile: build.xml
> > 
> > BUILD FAILED
> >
>
C:\jb_tom\jboss2_4\jboss\examples\build\build.xml:16:
> You must specify
> > value, location or refid with the name attribute
> 
> Ant prints that error when the <property> task is
> missing a "value",
> "location", or "refid" attribute to go with the
> "name" attribute. In other
> words, if there's a <property> task like:
> 
>   <property name="foo"/>
> 
> instead of like one of:
> 
>   <property name="foo" value="bar"/>
> or
>   <property name="foo"
> location="/usr/local/foofile"/>
> or
>   <property name="foo" refid="fooID"/>
> 
> I can't say why the build.xml file would have a
> broken <property>, or what
> the actual correction should be, since I don't know
> anything about the
> JBoss stuff or what the copy of the build.xml you
> have looks like.
> 
> Diane
> 
> =====
> (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/


__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

Mime
View raw message