Build is broken

2014-06-24 Thread Adrian Crum
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

Re: Build is broken

2014-06-24 Thread Adam Heath
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

Re: Build is broken

2014-06-24 Thread Adrian Crum
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,

Re: Build is broken

2014-06-24 Thread Adam Heath
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,

Re: Build is broken

2014-06-24 Thread Adam Heath
Working towards this; I've got wine working, and had verified the batch file is running. I'm currently installing java 1.7 in wine as well. On 06/24/2014 12:17 PM, Adrian Crum wrote: I confirmed that I am using the ant.bat script. Ant is not accessible from the command line. Adrian Crum

Re: Build is broken

2014-06-24 Thread Adrian Crum
I confirmed that I am using the ant.bat script. Ant is not accessible from the command line. Adrian Crum Sandglass Software www.sandglass-software.com On 6/24/2014 10:03 AM, Adam Heath wrote: I'm attempting to get a machine available that can replicate the problem, however: I can duplicate

Re: Build is broken

2014-06-24 Thread Adrian Crum
I fixed it by copying the Ivy jar to the new ant folder. Adrian Crum Sandglass Software www.sandglass-software.com On 6/24/2014 10:38 AM, Adam Heath wrote: Working towards this; I've got wine working, and had verified the batch file is running. I'm currently installing java 1.7 in wine as

Re: Build is broken

2014-06-24 Thread Adrian Crum
That fixed the command line build, but running the build from inside Eclipse fails. Right-click on build.xml - Run As - Ant Build Adrian Crum Sandglass Software www.sandglass-software.com On 6/24/2014 11:01 AM, Adrian Crum wrote: I fixed it by copying the Ivy jar to the new ant folder.

Re: Build is broken

2014-06-24 Thread Adam Heath
I had just come upon that myself. I had a copy of ivy installed into $HOME/.ant/lib, which allowed this to work on my machine. :( I don't see any other references to ivy in any java or groovy file, so I'm going to move that jar. And, eclipse will probably be fixed by updating .classpath at

Re: Build is broken

2014-06-24 Thread Adrian Crum
Are we still using macros.xml? It seems to be very outdated. Adrian Crum Sandglass Software www.sandglass-software.com On 6/24/2014 11:14 AM, Adam Heath wrote: I had just come upon that myself. I had a copy of ivy installed into $HOME/.ant/lib, which allowed this to work on my machine. :( I

Re: Build is broken

2014-06-24 Thread Prabhakar Balakrishna
Ivy may be a good building tool.But try a demo application on top of OFBiz. One can check with base/lib... folder structure/web-app folder structure to confirm for java jar loaders. -- A Question for God every morning. What is the main event today? What do you want me to focus on today?

Re: Build is broken

2014-06-24 Thread Adrian Crum
The command line build is fixed now, but I still can't get Eclipse to build: Buildfile: E:\Develop\ofbiz\build.xml [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. clean: [ivy:cleancache] :: Ivy 2.2.0 - 20100923230623 ::

Re: Build is broken

2014-06-24 Thread Rajbir Saini
You can try running ./ant.bat from OFBiz home folder. This will make sure you are running internal ant. I am not sure about Windows but on Linux systems, running 'ant clean-all' will run the command from system PATH. I generally use ./ant target to use the internal ant command. Raj On

Re: Build is broken

2014-06-24 Thread Jacques Le Roux
Le 24/06/2014 20:25, Adrian Crum a écrit : Are we still using macros.xml? It seems to be very outdated. Yes we are, just look at svn history Jacques Adrian Crum Sandglass Software www.sandglass-software.com On 6/24/2014 11:14 AM, Adam Heath wrote: I had just come upon that myself. I

Re: Build is broken

2014-06-24 Thread Adam Heath
I'll be reverting these changes, sorry about the turmoil. I need to do more testing. On 06/24/2014 03:20 PM, Jacques Le Roux wrote: Le 24/06/2014 20:25, Adrian Crum a écrit : Are we still using macros.xml? It seems to be very outdated. Yes we are, just look at svn history Jacques