Yes, I know.  See my response to the buildbot failure.

Ofbiz makes use of internal ant version 1.9.0. This version may or may not have particular version requirements on the tools being called.

External ant may be any random version. So, trying to have shipped jars that match some random external version is very difficult.

I removed ant-nodeps, and moved other ant jars around. If you are attempting to use an external ant, then you will have to ensure yourself that it has the correct installed contrib jars.

I've ran into this problem myself over the years; I eventually retrained my fingers to always run the included ant.

On 06/24/2014 11:45 AM, Adrian Crum wrote:
I can't get OFBiz to build, using the latest trunk:

Buildfile: E:\Develop\ofbiz\build.xml

clean-all:

clean-ivy:

BUILD FAILED
E:\Develop\ofbiz\build.xml:83: The following error occurred while executing this line: E:\Develop\ofbiz\build.xml:1250: Problem: failed to create task or type antlib:org.apache.ivy.ant:cleancache
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -E:\Develop\ofbiz\lib\lib
        -a directory added on the command line with the -lib argument


Total time: 0 seconds



Reply via email to