You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Leo Simons <le...@apache.org> on 2003/03/07 10:22:06 UTC

ECM buildfile won't work with ant 1.5.1

Hi all,

$ ant jar
Buildfile: build.xml

BUILD FAILED
file:/home/lsimons/Documents/cvs/avalon-excalibur/component/build.xml:250: 
The <jar> task doesn't support the nested "attribute" element.

Total time: 1 second

suspect this is something added in 1.6beta. Can we please try and remain 
on 1.5.1 until 1.6 comes out?

cheers!

- Leo



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: ECM buildfile won't work with ant 1.5.1

Posted by Leo Simons <le...@apache.org>.
whoops, my bad. Yep, looks to be working now. Manifests also look good 
to me but haven't actually tested.

cheers,

- Leo

Berin Loritsch wrote:
> Stefan Bodewig wrote:
>>> The <jar> task doesn't support the nested "attribute" element.
>>
>> Neither does it in Ant's CVS HEAD.
> 
> Stephen accidentally stuck the attribute outside the manifest.
> 
> BTW, have you gone through everything with the proper manifest entries
> yet?



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: ECM buildfile won't work with ant 1.5.1

Posted by Stephen McConnell <mc...@apache.org>.

Berin Loritsch wrote:

> Stefan Bodewig wrote:
>
>> On Fri, 07 Mar 2003, Leo Simons <le...@apache.org> wrote:
>>
>>
>>> BUILD FAILED
>>> file:/home/lsimons/Documents/cvs/avalon-excalibur/component/build.xml:250: 
>>>
>>> The <jar> task doesn't support the nested "attribute" element.
>>
>>
>>
>> Neither does it in Ant's CVS HEAD.
>>
>> <attribute> is a nested element of <manifest> which can be nested into
>> <jar> since Ant 1.4, though.
>
>
> Stephen accidentally stuck the attribute outside the manifest.  It was
> a simple copy and paste mistake--should be fixed now.
>
> BTW, have you gone through everything with the proper manifest entries
> yet?


Yep - already done (meaning that I have checked through all of the Phase 
I packages and updated as needed).

Steve.

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org
http://www.osm.net




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: ECM buildfile won't work with ant 1.5.1

Posted by Berin Loritsch <bl...@apache.org>.
Stefan Bodewig wrote:
> On Fri, 07 Mar 2003, Leo Simons <le...@apache.org> wrote:
> 
> 
>>BUILD FAILED
>>file:/home/lsimons/Documents/cvs/avalon-excalibur/component/build.xml:250:
>>The <jar> task doesn't support the nested "attribute" element.
> 
> 
> Neither does it in Ant's CVS HEAD.
> 
> <attribute> is a nested element of <manifest> which can be nested into
> <jar> since Ant 1.4, though.

Stephen accidentally stuck the attribute outside the manifest.  It was
a simple copy and paste mistake--should be fixed now.

BTW, have you gone through everything with the proper manifest entries
yet?


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: ECM buildfile won't work with ant 1.5.1

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 07 Mar 2003, Leo Simons <le...@apache.org> wrote:

> BUILD FAILED
> file:/home/lsimons/Documents/cvs/avalon-excalibur/component/build.xml:250:
> The <jar> task doesn't support the nested "attribute" element.

Neither does it in Ant's CVS HEAD.

<attribute> is a nested element of <manifest> which can be nested into
<jar> since Ant 1.4, though.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org