You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Oliver Zeigermann <oz...@c1-fse.de> on 2004/01/22 17:04:23 UTC

Problem building Client distribution

Using this version of ant

 > Apache Ant version 1.5 compiled on July 9 2002

running this target

 > ant dist-cmd

I get this error

> build.xml:144: Class org.apache.tools.ant.types.ZipFileSet doesn't support the "file" attribute.

It seems there is no such attribute in ant 1.5.

Repacing

>              <metainf file="./LICENSE"/>

with

>              <metainf>
>                <fileset dir="." includes="LICENSE">
>              </metainf>

still does not work and results to

> build.xml:146: Class org.apache.tools.ant.types.ZipFileSet doesn't support the nested "fileset" element.

which is funny as the docs said it would be ok...

Any ideas?

Thanks,

Oliver




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


Re: Problem building Client distribution

Posted by Oliver Zeigermann <oz...@c1-fse.de>.
Ok, that fixes it. I will update the installation instructions to 
require at least 1.5.3.

Oliver


Martin Dulisch wrote:

> I just tested it with 1.6beta2 and 1.5.3 and both work. Can you upgrade your
> Ant version?
> 
> Martin 
> 
> 
>>-----Original Message-----
>>From: Oliver Zeigermann [mailto:ozeigermann@c1-fse.de] 
>>Sent: Donnerstag, 22. Januar 2004 17:04
>>To: Slide Developers Mailing List
>>Subject: Problem building Client distribution
>>
>>Using this version of ant
>>
>> > Apache Ant version 1.5 compiled on July 9 2002
>>
>>running this target
>>
>> > ant dist-cmd
>>
>>I get this error
>>
>>
>>>build.xml:144: Class org.apache.tools.ant.types.ZipFileSet 
>>
>>doesn't support the "file" attribute.
>>
>>It seems there is no such attribute in ant 1.5.
>>
>>Repacing
>>
>>
>>>             <metainf file="./LICENSE"/>
>>
>>with
>>
>>
>>>             <metainf>
>>>               <fileset dir="." includes="LICENSE">
>>>             </metainf>
>>
>>still does not work and results to
>>
>>
>>>build.xml:146: Class org.apache.tools.ant.types.ZipFileSet 
>>
>>doesn't support the nested "fileset" element.
>>
>>which is funny as the docs said it would be ok...
>>
>>Any ideas?
>>
>>Thanks,
>>
>>Oliver
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 
> .
> 



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


RE: Problem building Client distribution

Posted by Martin Dulisch <md...@s-und-n.de>.
I just tested it with 1.6beta2 and 1.5.3 and both work. Can you upgrade your
Ant version?

Martin 

> -----Original Message-----
> From: Oliver Zeigermann [mailto:ozeigermann@c1-fse.de] 
> Sent: Donnerstag, 22. Januar 2004 17:04
> To: Slide Developers Mailing List
> Subject: Problem building Client distribution
> 
> Using this version of ant
> 
>  > Apache Ant version 1.5 compiled on July 9 2002
> 
> running this target
> 
>  > ant dist-cmd
> 
> I get this error
> 
> > build.xml:144: Class org.apache.tools.ant.types.ZipFileSet 
> doesn't support the "file" attribute.
> 
> It seems there is no such attribute in ant 1.5.
> 
> Repacing
> 
> >              <metainf file="./LICENSE"/>
> 
> with
> 
> >              <metainf>
> >                <fileset dir="." includes="LICENSE">
> >              </metainf>
> 
> still does not work and results to
> 
> > build.xml:146: Class org.apache.tools.ant.types.ZipFileSet 
> doesn't support the nested "fileset" element.
> 
> which is funny as the docs said it would be ok...
> 
> Any ideas?
> 
> Thanks,
> 
> Oliver
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 


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