On Thu, Jan 22, 2015 at 10:27 AM, Abhinav Gupta
<abhinavgupta2...@gmail.com> wrote:
> When I run *ant -lib lib, *I get a build failure. I have attached the
> output for the same.
> […]
> I guess the problem is with the JUnit,

The output you attached seems to be incomplete, but I do agree that
the problems appear to arise from Ant being unable to find the
required JUnit .jar due to a misconfiguration.

> the CLASSPATH that I have set is
>
> C:\Hamcrest\hamcrest-core-1.3.jar;C:\JUnit\junit-4.12.jar;.;

Please don't use the CLASSPATH environment variable, refer to [0] for
the gory details.
To adapt the build configuration to your setup, override the neccesary
properties from "build.properties" in a "override.properties" file
instead. In particular, you might want to override the "libtest.jars"
property.

— Bert

[0] http://ant.apache.org/manual/install.html#classpath
_______________________________________________
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to