I'm attempting to get a machine available that can replicate the problem, however:

I can duplicate it on linux, when I run an external, system-installed ant, but the problem goes away if I run the internal version.

I did the same type of change to both the shell script and the batch file, so it should work identically.

Are you absolutely certain the batch file is being used? Move it out of the way, and then try again. If ant still runs, then you are using a system-installed version.

On 06/24/2014 11:54 AM, Adrian Crum wrote:
I don't understand what you are saying. The command

ant clean-all

has always worked before, and now it doesn't work. On my Windows machine, the command runs the ant.bat script. How do we get the script to work?

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 6/24/2014 9:50 AM, Adam Heath wrote:
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