You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Annasab Sunthe <an...@yahoo.com> on 2001/12/25 09:17:24 UTC

Build Failed

Hi,

i am trying to build cornerstone, which i have taken from cvs, it has 
failed with the following error. please can anyone help me?

jars:
Created dir: E:\corner\jakarta-avalon-cornerstone\build\lib

BUILD FAILED

E:\corner\jakarta-avalon-cornerstone\build.xml:186: The <jar> task 
doesn't support the "file" attribute.
        at 
org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:273)
        at 
org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:654)
        at 
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:143)
        at org.apache.tools.ant.Task.maybeConfigure(Task.java:178)
        at org.apache.tools.ant.Task.perform(Task.java:216)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

regards
AKS


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Build Failed

Posted by Jeff Turner <je...@socialchange.net.au>.
Corners of cornerstone are still using Ant 1.5 syntax, where "file"
replaced "zipfile", "jarfile" etc.

Simply use the Ant that comes with cornerstone, ie type "build.bat"
instead of invoking ant directly.


--Jeff

On Tue, Dec 25, 2001 at 01:47:24PM +0530, Annasab Sunthe wrote:
> Hi,
> 
> i am trying to build cornerstone, which i have taken from cvs, it has 
> failed with the following error. please can anyone help me?
> 
> jars:
> Created dir: E:\corner\jakarta-avalon-cornerstone\build\lib
> 
> BUILD FAILED
> 
> E:\corner\jakarta-avalon-cornerstone\build.xml:186: The <jar> task 
> doesn't support the "file" attribute.
>        at 
> org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:273)
>        at 
> org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:654)
>        at 
> org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:143)
>        at org.apache.tools.ant.Task.maybeConfigure(Task.java:178)
>        at org.apache.tools.ant.Task.perform(Task.java:216)
>        at org.apache.tools.ant.Target.execute(Target.java:184)
>        at org.apache.tools.ant.Target.performTasks(Target.java:202)
>        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
>        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
>        at org.apache.tools.ant.Main.runBuild(Main.java:454)
>        at org.apache.tools.ant.Main.start(Main.java:153)
>        at org.apache.tools.ant.Main.main(Main.java:176)
> 
> regards
> AKS
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>