I do not know why, but it seems to build fine using OpenJDK 7 on Ubuntu (I did that), but it fails, with the errors I reported in this thread, on Suse, with both OpenJDK 6 and OpenJDK 7. Whatever the problem is, as far as I can see, it is related to the Linux distribution in use.
Cheers, Ted On Wed, Apr 24, 2013 at 7:58 AM, Paul Foxworthy <[email protected]> wrote: > Hi Adrian, > > I personally haven't tested it out, but according to OFBIZ-4638 > (https://issues.apache.org/jira/browse/OFBIZ-4638) OFBiz does build with > OpenJDK 7. > > If there is a problem, can some one say what it is? > > Cheers > > Paul Foxworthy > > > Adrian Crum-3 wrote > > I agree it can be frustrating trying to get a project to build for the > > first time. > > > > OFBiz does not currently support Java 1.7, so if you are willing to > > investigate further on your local copy, we would welcome any patches > > that enable the project to support Java 1.7. > > > > -Adrian > > > > On 4/21/2013 9:31 PM, Ted Byers wrote: > >> This is regardless of whether I try to build trunk or release 12.04. > >> > >> If I run 'ant run-install, I get the error "/opt/ofbuz/build.xml:23 > can't > >> declare any more prefixes in this context". It seems OFBiz has it's own > >> version of ant, and God only knows how that will interact with my system > >> as > >> my system has the latest versions of my usual development tools. Worse, > >> I > >> have seen no mention of OFBiz using non-standard tools anywhere in the > >> documentatin I have read. I am not amused. > >> > >> If I run "./ant run-install", I get the error "/opt/ofibiz/build.xml:25: > >> The following error occurred while executing this line: > >> /opt/ofbiz/macros.xml:31: Please upgrade java to at least 1.6" > >> > >> Of course this is really stupid, as this is on OpenSuse 12.3, and I have > >> the full JDK installed, version 1.7.0_17! How is it your build scripts > >> can't properly detect the JDK version that is installed on this system > >> > >> Now, then, what is the magic incantation I need to resort to to get this > >> thing to build properly? Nothing I have tried so far has worked. > >> > >> Thanks > >> > >> Ted > >> > > > > > > ----- > -- > Coherent Software Australia Pty Ltd > http://www.coherentsoftware.com.au/ > > Bonsai ERP, the all-inclusive ERP system > http://www.bonsaierp.com.au/ > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/OFBiz-build-seriously-broken-or-so-it-seems-tp4640774p4640872.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > -- R.E.(Ted) Byers, Ph.D.,Ed.D. [email protected] CTO Merchant Services Corp. 17665 Leslie st., unit 30 Newmarket , Ontario L3Y 3E3
