You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adrian Crum <ad...@yahoo.com> on 2009/11/13 02:43:08 UTC
Build Error
Latest trunk:
Compiling 129 source files to C:\ofbiz\framework\entity\build\classes
[javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity\connection\DBCPConnectionFactory.java:21: cannot access org.apache.commons.dbcp.ConnectionFactory
[javac15] bad class file: C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
[javac15] class file has wrong version 50.0, should be 49.0
[javac15] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac15] import org.apache.commons.dbcp.ConnectionFactory;
[javac15] ^
[javac15] 1 error
Re: Build Error in Tools?
Posted by Jacques Le Roux <ja...@les7arts.com>.
It seems that this it's a combination with recent Adam's changes. I have an instance that I have not updated and I'm able to compile
it with 1.6. But with an updated instance I get the same error with 1.6.
The problem I get compiling DBCP with 1.5 is about JDBC 4, still on...
Jacques
From: "Hans Bakker" <ma...@antwebsystems.com>
> In 1.6 it also not builds.
>
> The error:
> BUILD FAILED
> /home/hans/ofbiz/svn/build.xml:182: The following error occurred while
> executing this line:
> /home/hans/ofbiz/svn/framework/build.xml:147: The following error
> occurred while executing this line:
> /home/hans/ofbiz/svn/macros.xml:27: The following error occurred while
> executing this line:
> /home/hans/ofbiz/svn/framework/entity/build.xml:56: The following error
> occurred while executing this line:
> /home/hans/ofbiz/svn/macros.xml:83: Problem: failed to create task or
> type javacc
> Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
> was not found.
> This looks like one of Ant's optional components.
> Action: Check that the appropriate optional JAR exists in
> -/home/hans/ofbiz/svn/framework/base/lib
> -/home/hans/.ant/lib
> -a directory added on the command line with the -lib argument
>
> Do not panic, this is a common problem.
> The commonest cause is a missing JAR.
>
> This is not a bug; it is a configuration problem
>
>
>
>
> On Fri, 2009-11-13 at 08:59 +0100, Jacques Le Roux wrote:
>> Thanks Adrian,
>>
>> Yes I did not care and build with ant from Eclipse where I use the 1.6 JDK. I'm on it, not as simple as I thought some problem
>> appeared...
>> In the meantime can you use 1.6 to build ?
>> BTW, could we not change from 1.5 to 1.6, is there any blocking reasons I don't remember ?
>>
>> Jacques
>>
>> From: "Adrian Crum" <ad...@yahoo.com>
>> > Latest trunk:
>> >
>> > Compiling 129 source files to C:\ofbiz\framework\entity\build\classes
>> > [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity\connection\DBCPConnectionFactory.java:21: cannot access
>> > org.apache.commons.dbcp.ConnectionFactory
>> > [javac15] bad class file:
>> > C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>> > [javac15] class file has wrong version 50.0, should be 49.0
>> > [javac15] Please remove or make sure it appears in the correct subdirectory of the classpath.
>> > [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>> > [javac15] ^
>> > [javac15] 1 error
>> >
>> >
>> >
>> >
>> >
>>
>>
> --
> Antwebsystems.com: Quality OFBiz services for competitive rates
>
Re: Build Error in Tools?
Posted by Adam Heath <do...@brainfood.com>.
Hans Bakker wrote:
> In 1.6 it also not builds.
>
> The error:
> BUILD FAILED
> /home/hans/ofbiz/svn/build.xml:182: The following error occurred while
> executing this line:
> /home/hans/ofbiz/svn/framework/build.xml:147: The following error
> occurred while executing this line:
> /home/hans/ofbiz/svn/macros.xml:27: The following error occurred while
> executing this line:
> /home/hans/ofbiz/svn/framework/entity/build.xml:56: The following error
> occurred while executing this line:
> /home/hans/ofbiz/svn/macros.xml:83: Problem: failed to create task or
> type javacc
> Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
> was not found.
> This looks like one of Ant's optional components.
> Action: Check that the appropriate optional JAR exists in
> -/home/hans/ofbiz/svn/framework/base/lib
> -/home/hans/.ant/lib
> -a directory added on the command line with the -lib argument
>
> Do not panic, this is a common problem.
> The commonest cause is a missing JAR.
>
> This is not a bug; it is a configuration problem
Fixed in 835774.
Re: Build Error in Tools?
Posted by Hans Bakker <ma...@antwebsystems.com>.
In 1.6 it also not builds.
The error:
BUILD FAILED
/home/hans/ofbiz/svn/build.xml:182: The following error occurred while
executing this line:
/home/hans/ofbiz/svn/framework/build.xml:147: The following error
occurred while executing this line:
/home/hans/ofbiz/svn/macros.xml:27: The following error occurred while
executing this line:
/home/hans/ofbiz/svn/framework/entity/build.xml:56: The following error
occurred while executing this line:
/home/hans/ofbiz/svn/macros.xml:83: Problem: failed to create task or
type javacc
Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/home/hans/ofbiz/svn/framework/base/lib
-/home/hans/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
On Fri, 2009-11-13 at 08:59 +0100, Jacques Le Roux wrote:
> Thanks Adrian,
>
> Yes I did not care and build with ant from Eclipse where I use the 1.6 JDK. I'm on it, not as simple as I thought some problem
> appeared...
> In the meantime can you use 1.6 to build ?
> BTW, could we not change from 1.5 to 1.6, is there any blocking reasons I don't remember ?
>
> Jacques
>
> From: "Adrian Crum" <ad...@yahoo.com>
> > Latest trunk:
> >
> > Compiling 129 source files to C:\ofbiz\framework\entity\build\classes
> > [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity\connection\DBCPConnectionFactory.java:21: cannot access
> > org.apache.commons.dbcp.ConnectionFactory
> > [javac15] bad class file:
> > C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
> > [javac15] class file has wrong version 50.0, should be 49.0
> > [javac15] Please remove or make sure it appears in the correct subdirectory of the classpath.
> > [javac15] import org.apache.commons.dbcp.ConnectionFactory;
> > [javac15] ^
> > [javac15] 1 error
> >
> >
> >
> >
> >
>
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates
Re: Build Error
Posted by Divesh Dutta <di...@hotwaxmedia.com>.
+1
Regards
--
Divesh Dutta.
Scott Gray wrote:
> I'd suggest that you revert it for now.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>
>> I not totally sure but yet it seems that new versions of DBCP needs
>> the 1.6 jdk (or jdk 1.4) . Extract from README.TXT : <<This release
>> of JDBC compiles with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5
>> (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>
>> I tried to build with 1.5 but it failed and I began to find a way
>> out, not obvious...
>>
>> So the alternative is
>> 1) revert DBCP upgrade (fix a bug)
>> 2) Decide to use jdk 1.6 for OFBiz
>>
>> I would not like to push now for the 2d solution but as this upgrade
>> was intended to fix a bug, I wonder if it's not the right time
>>
>> In the meantime (before a decision is taken), I will continue to
>> search a solution to compile with 1.5 but does not seem easy
>> (conditional ANT compile deal with JDBC versions), and I'd not like
>> to rewrite DBCP, even a part, I've other fish to fry ;o)
>>
>> Jacques
>>
>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>> Thanks Adrian,
>>>
>>> Yes I did not care and build with ant from Eclipse where I use the
>>> 1.6 JDK. I'm on it, not as simple as I thought some problem
>>> appeared...
>>> In the meantime can you use 1.6 to build ?
>>> BTW, could we not change from 1.5 to 1.6, is there any blocking
>>> reasons I don't remember ?
>>>
>>> Jacques
>>>
>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>> Latest trunk:
>>>>
>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build\classes
>>>> [javac15]
>>>> C:\ofbiz\framework\entity\src\org\ofbiz\entity\connection\DBCPConnectionFactory.java:21:
>>>> cannot access
>>>> org.apache.commons.dbcp.ConnectionFactory
>>>> [javac15] bad class file:
>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>
>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>> [javac15] Please remove or make sure it appears in the correct
>>>> subdirectory of the classpath.
>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>> [javac15] ^
>>>> [javac15] 1 error
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
Re: Build Error
Posted by Scott Gray <sc...@hotwaxmedia.com>.
Yep that's where I went and I now realize the latest nightly build was
actually from 2007 :-/
Regards
Scott
On 13/11/2009, at 11:45 PM, Jacopo Cappellato wrote:
> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>
> Jacopo
>
> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>
>> Hi Scott,
>>
>> At which date was done this nightly build ? Where did you find it ?
>>
>> BTW I have reverted both trunk and 9.04
>>
>> Jacques
>>
>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>> BTW, the latest nightly build from dbcp works just fine on 1.5 for
>>> me, why are you trying to compile dbcp?
>>> Regards
>>> Scott
>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>> I'd suggest that you revert it for now.
>>>>
>>>> Regards
>>>> Scott
>>>>
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>
>>>>> I not totally sure but yet it seems that new versions of DBCP
>>>>> needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT :
>>>>> <<This release of JDBC compiles with and supports JDK 1.3 (JDBC
>>>>> 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>
>>>>> I tried to build with 1.5 but it failed and I began to find a
>>>>> way out, not obvious...
>>>>>
>>>>> So the alternative is
>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>
>>>>> I would not like to push now for the 2d solution but as this
>>>>> upgrade was intended to fix a bug, I wonder if it's not the
>>>>> right time
>>>>>
>>>>> In the meantime (before a decision is taken), I will continue
>>>>> to search a solution to compile with 1.5 but does not seem
>>>>> easy (conditional ANT compile deal with JDBC versions), and I'd
>>>>> not like to rewrite DBCP, even a part, I've other fish to fry ;o)
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>> Thanks Adrian,
>>>>>>
>>>>>> Yes I did not care and build with ant from Eclipse where I use
>>>>>> the 1.6 JDK. I'm on it, not as simple as I thought some problem
>>>>>> appeared...
>>>>>> In the meantime can you use 1.6 to build ?
>>>>>> BTW, could we not change from 1.5 to 1.6, is there any
>>>>>> blocking reasons I don't remember ?
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>> Latest trunk:
>>>>>>>
>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build
>>>>>>> \classes
>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>> [javac15] bad class file:
>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>> [javac15] Please remove or make sure it appears in the
>>>>>>> correct subdirectory of the classpath.
>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>> [javac15] ^
>>>>>>> [javac15] 1 error
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
Re: Build Error
Posted by Jacques Le Roux <ja...@les7arts.com>.
It works like a charm, I will replace...
Jacques
From: "Jacques Le Roux" <ja...@les7arts.com>
> Phil Steitz has fixed it in DBCP at r835956
> I will give a try, but it's not a reason to not argument about 1.5 vs 1.6 ;o)
>
> Thanks
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> Hi Scott,
>>
>> FYI, I have asked about it on user@commons.apache.org ...
>>
>> BTW, I can't remember the reasons why we stay to 1.5, are they still valid ?
>>
>> Jacques
>>
>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>>I think Jacques is right about the current source code, there are a
>>> few minor issues that make it 1.6 only. I made some changes and got
>>> it to compile, I'll give it a test run and see how it goes.
>>>
>>> Regards
>>> Scott
>>>
>>> On 14/11/2009, at 12:00 AM, Jacopo Cappellato wrote:
>>>
>>>> Hmm... yes you are right, Jacques, sorry for that.
>>>> I will try to find out more information...
>>>>
>>>> Jacopo
>>>>
>>>> On Nov 13, 2009, at 11:49 AM, Jacques Le Roux wrote:
>>>>
>>>>> Thanks Jacopo,
>>>>>
>>>>> These are really old ones or do I miss something ?
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Jacopo Cappellato" <ja...@hotwaxmedia.com>
>>>>>> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>>>>>>
>>>>>> Jacopo
>>>>>>
>>>>>> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>>>>>>
>>>>>>> Hi Scott,
>>>>>>>
>>>>>>> At which date was done this nightly build ? Where did you find it ?
>>>>>>>
>>>>>>> BTW I have reverted both trunk and 9.04
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>>>>>>> BTW, the latest nightly build from dbcp works just fine on 1.5
>>>>>>>> for me, why are you trying to compile dbcp?
>>>>>>>> Regards
>>>>>>>> Scott
>>>>>>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>>>>>>> I'd suggest that you revert it for now.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> Scott
>>>>>>>>>
>>>>>>>>> HotWax Media
>>>>>>>>> http://www.hotwaxmedia.com
>>>>>>>>>
>>>>>>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>>>>>>
>>>>>>>>>> I not totally sure but yet it seems that new versions of DBCP
>>>>>>>>>> needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT :
>>>>>>>>>> <<This release of JDBC compiles with and supports JDK 1.3
>>>>>>>>>> (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>>>>>>
>>>>>>>>>> I tried to build with 1.5 but it failed and I began to find a
>>>>>>>>>> way out, not obvious...
>>>>>>>>>>
>>>>>>>>>> So the alternative is
>>>>>>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>>>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>>>>>>
>>>>>>>>>> I would not like to push now for the 2d solution but as this
>>>>>>>>>> upgrade was intended to fix a bug, I wonder if it's not the
>>>>>>>>>> right time
>>>>>>>>>>
>>>>>>>>>> In the meantime (before a decision is taken), I will continue
>>>>>>>>>> to search a solution to compile with 1.5 but does not seem
>>>>>>>>>> easy (conditional ANT compile deal with JDBC versions), and
>>>>>>>>>> I'd not like to rewrite DBCP, even a part, I've other fish to
>>>>>>>>>> fry ;o)
>>>>>>>>>>
>>>>>>>>>> Jacques
>>>>>>>>>>
>>>>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>>>>> Thanks Adrian,
>>>>>>>>>>>
>>>>>>>>>>> Yes I did not care and build with ant from Eclipse where I
>>>>>>>>>>> use the 1.6 JDK. I'm on it, not as simple as I thought some
>>>>>>>>>>> problem
>>>>>>>>>>> appeared...
>>>>>>>>>>> In the meantime can you use 1.6 to build ?
>>>>>>>>>>> BTW, could we not change from 1.5 to 1.6, is there any
>>>>>>>>>>> blocking reasons I don't remember ?
>>>>>>>>>>>
>>>>>>>>>>> Jacques
>>>>>>>>>>>
>>>>>>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>>>>>>> Latest trunk:
>>>>>>>>>>>>
>>>>>>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity
>>>>>>>>>>>> \build \classes
>>>>>>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>>>>>>>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>>>>>>> [javac15] bad class file:
>>>>>>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>>>>>>>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>>>>>>> [javac15] Please remove or make sure it appears in the
>>>>>>>>>>>> correct subdirectory of the classpath.
>>>>>>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>>>>>>> [javac15] ^
>>>>>>>>>>>> [javac15] 1 error
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
Re: Build Error
Posted by Jacques Le Roux <ja...@les7arts.com>.
Phil Steitz has fixed it in DBCP at r835956
I will give a try, but it's not a reason to not argument about 1.5 vs 1.6 ;o)
Thanks
Jacques
From: "Jacques Le Roux" <ja...@les7arts.com>
> Hi Scott,
>
> FYI, I have asked about it on user@commons.apache.org ...
>
> BTW, I can't remember the reasons why we stay to 1.5, are they still valid ?
>
> Jacques
>
> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>I think Jacques is right about the current source code, there are a
>> few minor issues that make it 1.6 only. I made some changes and got
>> it to compile, I'll give it a test run and see how it goes.
>>
>> Regards
>> Scott
>>
>> On 14/11/2009, at 12:00 AM, Jacopo Cappellato wrote:
>>
>>> Hmm... yes you are right, Jacques, sorry for that.
>>> I will try to find out more information...
>>>
>>> Jacopo
>>>
>>> On Nov 13, 2009, at 11:49 AM, Jacques Le Roux wrote:
>>>
>>>> Thanks Jacopo,
>>>>
>>>> These are really old ones or do I miss something ?
>>>>
>>>> Jacques
>>>>
>>>> From: "Jacopo Cappellato" <ja...@hotwaxmedia.com>
>>>>> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>>>>>
>>>>> Jacopo
>>>>>
>>>>> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>>>>>
>>>>>> Hi Scott,
>>>>>>
>>>>>> At which date was done this nightly build ? Where did you find it ?
>>>>>>
>>>>>> BTW I have reverted both trunk and 9.04
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>>>>>> BTW, the latest nightly build from dbcp works just fine on 1.5
>>>>>>> for me, why are you trying to compile dbcp?
>>>>>>> Regards
>>>>>>> Scott
>>>>>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>>>>>> I'd suggest that you revert it for now.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Scott
>>>>>>>>
>>>>>>>> HotWax Media
>>>>>>>> http://www.hotwaxmedia.com
>>>>>>>>
>>>>>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>>>>>
>>>>>>>>> I not totally sure but yet it seems that new versions of DBCP
>>>>>>>>> needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT :
>>>>>>>>> <<This release of JDBC compiles with and supports JDK 1.3
>>>>>>>>> (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>>>>>
>>>>>>>>> I tried to build with 1.5 but it failed and I began to find a
>>>>>>>>> way out, not obvious...
>>>>>>>>>
>>>>>>>>> So the alternative is
>>>>>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>>>>>
>>>>>>>>> I would not like to push now for the 2d solution but as this
>>>>>>>>> upgrade was intended to fix a bug, I wonder if it's not the
>>>>>>>>> right time
>>>>>>>>>
>>>>>>>>> In the meantime (before a decision is taken), I will continue
>>>>>>>>> to search a solution to compile with 1.5 but does not seem
>>>>>>>>> easy (conditional ANT compile deal with JDBC versions), and
>>>>>>>>> I'd not like to rewrite DBCP, even a part, I've other fish to
>>>>>>>>> fry ;o)
>>>>>>>>>
>>>>>>>>> Jacques
>>>>>>>>>
>>>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>>>> Thanks Adrian,
>>>>>>>>>>
>>>>>>>>>> Yes I did not care and build with ant from Eclipse where I
>>>>>>>>>> use the 1.6 JDK. I'm on it, not as simple as I thought some
>>>>>>>>>> problem
>>>>>>>>>> appeared...
>>>>>>>>>> In the meantime can you use 1.6 to build ?
>>>>>>>>>> BTW, could we not change from 1.5 to 1.6, is there any
>>>>>>>>>> blocking reasons I don't remember ?
>>>>>>>>>>
>>>>>>>>>> Jacques
>>>>>>>>>>
>>>>>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>>>>>> Latest trunk:
>>>>>>>>>>>
>>>>>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity
>>>>>>>>>>> \build \classes
>>>>>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>>>>>>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>>>>>> [javac15] bad class file:
>>>>>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>>>>>>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>>>>>> [javac15] Please remove or make sure it appears in the
>>>>>>>>>>> correct subdirectory of the classpath.
>>>>>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>>>>>> [javac15] ^
>>>>>>>>>>> [javac15] 1 error
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
Re: Build Error
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Scott,
FYI, I have asked about it on user@commons.apache.org ...
BTW, I can't remember the reasons why we stay to 1.5, are they still valid ?
Jacques
From: "Scott Gray" <sc...@hotwaxmedia.com>
>I think Jacques is right about the current source code, there are a
> few minor issues that make it 1.6 only. I made some changes and got
> it to compile, I'll give it a test run and see how it goes.
>
> Regards
> Scott
>
> On 14/11/2009, at 12:00 AM, Jacopo Cappellato wrote:
>
>> Hmm... yes you are right, Jacques, sorry for that.
>> I will try to find out more information...
>>
>> Jacopo
>>
>> On Nov 13, 2009, at 11:49 AM, Jacques Le Roux wrote:
>>
>>> Thanks Jacopo,
>>>
>>> These are really old ones or do I miss something ?
>>>
>>> Jacques
>>>
>>> From: "Jacopo Cappellato" <ja...@hotwaxmedia.com>
>>>> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>>>>
>>>> Jacopo
>>>>
>>>> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>>>>
>>>>> Hi Scott,
>>>>>
>>>>> At which date was done this nightly build ? Where did you find it ?
>>>>>
>>>>> BTW I have reverted both trunk and 9.04
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>>>>> BTW, the latest nightly build from dbcp works just fine on 1.5
>>>>>> for me, why are you trying to compile dbcp?
>>>>>> Regards
>>>>>> Scott
>>>>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>>>>> I'd suggest that you revert it for now.
>>>>>>>
>>>>>>> Regards
>>>>>>> Scott
>>>>>>>
>>>>>>> HotWax Media
>>>>>>> http://www.hotwaxmedia.com
>>>>>>>
>>>>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>>>>
>>>>>>>> I not totally sure but yet it seems that new versions of DBCP
>>>>>>>> needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT :
>>>>>>>> <<This release of JDBC compiles with and supports JDK 1.3
>>>>>>>> (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>>>>
>>>>>>>> I tried to build with 1.5 but it failed and I began to find a
>>>>>>>> way out, not obvious...
>>>>>>>>
>>>>>>>> So the alternative is
>>>>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>>>>
>>>>>>>> I would not like to push now for the 2d solution but as this
>>>>>>>> upgrade was intended to fix a bug, I wonder if it's not the
>>>>>>>> right time
>>>>>>>>
>>>>>>>> In the meantime (before a decision is taken), I will continue
>>>>>>>> to search a solution to compile with 1.5 but does not seem
>>>>>>>> easy (conditional ANT compile deal with JDBC versions), and
>>>>>>>> I'd not like to rewrite DBCP, even a part, I've other fish to
>>>>>>>> fry ;o)
>>>>>>>>
>>>>>>>> Jacques
>>>>>>>>
>>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>>> Thanks Adrian,
>>>>>>>>>
>>>>>>>>> Yes I did not care and build with ant from Eclipse where I
>>>>>>>>> use the 1.6 JDK. I'm on it, not as simple as I thought some
>>>>>>>>> problem
>>>>>>>>> appeared...
>>>>>>>>> In the meantime can you use 1.6 to build ?
>>>>>>>>> BTW, could we not change from 1.5 to 1.6, is there any
>>>>>>>>> blocking reasons I don't remember ?
>>>>>>>>>
>>>>>>>>> Jacques
>>>>>>>>>
>>>>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>>>>> Latest trunk:
>>>>>>>>>>
>>>>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity
>>>>>>>>>> \build \classes
>>>>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>>>>>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>>>>> [javac15] bad class file:
>>>>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>>>>>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>>>>> [javac15] Please remove or make sure it appears in the
>>>>>>>>>> correct subdirectory of the classpath.
>>>>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>>>>> [javac15] ^
>>>>>>>>>> [javac15] 1 error
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>
Re: Build Error
Posted by Jacques Le Roux <ja...@les7arts.com>.
Help yourself
http://docs.ofbiz.org/x/yAk#MailingLists-DesignanddevelopmentList
Jacques
From: "Raghu(VASSoft.net)" <ra...@vassoft.net>
> unsubscribe
>
> Scott Gray wrote:
>> I think Jacques is right about the current source code, there are a
>> few minor issues that make it 1.6 only. I made some changes and got
>> it to compile, I'll give it a test run and see how it goes.
>>
>> Regards
>> Scott
>>
>> On 14/11/2009, at 12:00 AM, Jacopo Cappellato wrote:
>>
>>> Hmm... yes you are right, Jacques, sorry for that.
>>> I will try to find out more information...
>>>
>>> Jacopo
>>>
>>> On Nov 13, 2009, at 11:49 AM, Jacques Le Roux wrote:
>>>
>>>> Thanks Jacopo,
>>>>
>>>> These are really old ones or do I miss something ?
>>>>
>>>> Jacques
>>>>
>>>> From: "Jacopo Cappellato" <ja...@hotwaxmedia.com>
>>>>> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>>>>>
>>>>> Jacopo
>>>>>
>>>>> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>>>>>
>>>>>> Hi Scott,
>>>>>>
>>>>>> At which date was done this nightly build ? Where did you find it ?
>>>>>>
>>>>>> BTW I have reverted both trunk and 9.04
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>>>>>> BTW, the latest nightly build from dbcp works just fine on 1.5
>>>>>>> for me, why are you trying to compile dbcp?
>>>>>>> Regards
>>>>>>> Scott
>>>>>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>>>>>> I'd suggest that you revert it for now.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Scott
>>>>>>>>
>>>>>>>> HotWax Media
>>>>>>>> http://www.hotwaxmedia.com
>>>>>>>>
>>>>>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>>>>>
>>>>>>>>> I not totally sure but yet it seems that new versions of DBCP
>>>>>>>>> needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT :
>>>>>>>>> <<This release of JDBC compiles with and supports JDK 1.3
>>>>>>>>> (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>>>>>
>>>>>>>>> I tried to build with 1.5 but it failed and I began to find a
>>>>>>>>> way out, not obvious...
>>>>>>>>>
>>>>>>>>> So the alternative is
>>>>>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>>>>>
>>>>>>>>> I would not like to push now for the 2d solution but as this
>>>>>>>>> upgrade was intended to fix a bug, I wonder if it's not the
>>>>>>>>> right time
>>>>>>>>>
>>>>>>>>> In the meantime (before a decision is taken), I will continue
>>>>>>>>> to search a solution to compile with 1.5 but does not seem
>>>>>>>>> easy (conditional ANT compile deal with JDBC versions), and I'd
>>>>>>>>> not like to rewrite DBCP, even a part, I've other fish to fry ;o)
>>>>>>>>>
>>>>>>>>> Jacques
>>>>>>>>>
>>>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>>>> Thanks Adrian,
>>>>>>>>>>
>>>>>>>>>> Yes I did not care and build with ant from Eclipse where I use
>>>>>>>>>> the 1.6 JDK. I'm on it, not as simple as I thought some problem
>>>>>>>>>> appeared...
>>>>>>>>>> In the meantime can you use 1.6 to build ?
>>>>>>>>>> BTW, could we not change from 1.5 to 1.6, is there any
>>>>>>>>>> blocking reasons I don't remember ?
>>>>>>>>>>
>>>>>>>>>> Jacques
>>>>>>>>>>
>>>>>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>>>>>> Latest trunk:
>>>>>>>>>>>
>>>>>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build
>>>>>>>>>>> \classes
>>>>>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>>>>>>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>>>>>> [javac15] bad class file:
>>>>>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>>>>>>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>>>>>> [javac15] Please remove or make sure it appears in the
>>>>>>>>>>> correct subdirectory of the classpath.
>>>>>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>>>>>> [javac15] ^
>>>>>>>>>>> [javac15] 1 error
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>
Re: Build Error
Posted by "Raghu(VASSoft.net)" <ra...@vassoft.net>.
unsubscribe
Scott Gray wrote:
> I think Jacques is right about the current source code, there are a
> few minor issues that make it 1.6 only. I made some changes and got
> it to compile, I'll give it a test run and see how it goes.
>
> Regards
> Scott
>
> On 14/11/2009, at 12:00 AM, Jacopo Cappellato wrote:
>
>> Hmm... yes you are right, Jacques, sorry for that.
>> I will try to find out more information...
>>
>> Jacopo
>>
>> On Nov 13, 2009, at 11:49 AM, Jacques Le Roux wrote:
>>
>>> Thanks Jacopo,
>>>
>>> These are really old ones or do I miss something ?
>>>
>>> Jacques
>>>
>>> From: "Jacopo Cappellato" <ja...@hotwaxmedia.com>
>>>> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>>>>
>>>> Jacopo
>>>>
>>>> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>>>>
>>>>> Hi Scott,
>>>>>
>>>>> At which date was done this nightly build ? Where did you find it ?
>>>>>
>>>>> BTW I have reverted both trunk and 9.04
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>>>>> BTW, the latest nightly build from dbcp works just fine on 1.5
>>>>>> for me, why are you trying to compile dbcp?
>>>>>> Regards
>>>>>> Scott
>>>>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>>>>> I'd suggest that you revert it for now.
>>>>>>>
>>>>>>> Regards
>>>>>>> Scott
>>>>>>>
>>>>>>> HotWax Media
>>>>>>> http://www.hotwaxmedia.com
>>>>>>>
>>>>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>>>>
>>>>>>>> I not totally sure but yet it seems that new versions of DBCP
>>>>>>>> needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT :
>>>>>>>> <<This release of JDBC compiles with and supports JDK 1.3
>>>>>>>> (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>>>>
>>>>>>>> I tried to build with 1.5 but it failed and I began to find a
>>>>>>>> way out, not obvious...
>>>>>>>>
>>>>>>>> So the alternative is
>>>>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>>>>
>>>>>>>> I would not like to push now for the 2d solution but as this
>>>>>>>> upgrade was intended to fix a bug, I wonder if it's not the
>>>>>>>> right time
>>>>>>>>
>>>>>>>> In the meantime (before a decision is taken), I will continue
>>>>>>>> to search a solution to compile with 1.5 but does not seem
>>>>>>>> easy (conditional ANT compile deal with JDBC versions), and I'd
>>>>>>>> not like to rewrite DBCP, even a part, I've other fish to fry ;o)
>>>>>>>>
>>>>>>>> Jacques
>>>>>>>>
>>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>>> Thanks Adrian,
>>>>>>>>>
>>>>>>>>> Yes I did not care and build with ant from Eclipse where I use
>>>>>>>>> the 1.6 JDK. I'm on it, not as simple as I thought some problem
>>>>>>>>> appeared...
>>>>>>>>> In the meantime can you use 1.6 to build ?
>>>>>>>>> BTW, could we not change from 1.5 to 1.6, is there any
>>>>>>>>> blocking reasons I don't remember ?
>>>>>>>>>
>>>>>>>>> Jacques
>>>>>>>>>
>>>>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>>>>> Latest trunk:
>>>>>>>>>>
>>>>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build
>>>>>>>>>> \classes
>>>>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>>>>>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>>>>> [javac15] bad class file:
>>>>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>>>>>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>>>>> [javac15] Please remove or make sure it appears in the
>>>>>>>>>> correct subdirectory of the classpath.
>>>>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>>>>> [javac15] ^
>>>>>>>>>> [javac15] 1 error
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
Re: Build Error
Posted by Scott Gray <sc...@hotwaxmedia.com>.
I think Jacques is right about the current source code, there are a
few minor issues that make it 1.6 only. I made some changes and got
it to compile, I'll give it a test run and see how it goes.
Regards
Scott
On 14/11/2009, at 12:00 AM, Jacopo Cappellato wrote:
> Hmm... yes you are right, Jacques, sorry for that.
> I will try to find out more information...
>
> Jacopo
>
> On Nov 13, 2009, at 11:49 AM, Jacques Le Roux wrote:
>
>> Thanks Jacopo,
>>
>> These are really old ones or do I miss something ?
>>
>> Jacques
>>
>> From: "Jacopo Cappellato" <ja...@hotwaxmedia.com>
>>> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>>>
>>> Jacopo
>>>
>>> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>>>
>>>> Hi Scott,
>>>>
>>>> At which date was done this nightly build ? Where did you find it ?
>>>>
>>>> BTW I have reverted both trunk and 9.04
>>>>
>>>> Jacques
>>>>
>>>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>>>> BTW, the latest nightly build from dbcp works just fine on 1.5
>>>>> for me, why are you trying to compile dbcp?
>>>>> Regards
>>>>> Scott
>>>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>>>> I'd suggest that you revert it for now.
>>>>>>
>>>>>> Regards
>>>>>> Scott
>>>>>>
>>>>>> HotWax Media
>>>>>> http://www.hotwaxmedia.com
>>>>>>
>>>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>>>
>>>>>>> I not totally sure but yet it seems that new versions of DBCP
>>>>>>> needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT :
>>>>>>> <<This release of JDBC compiles with and supports JDK 1.3
>>>>>>> (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>>>
>>>>>>> I tried to build with 1.5 but it failed and I began to find a
>>>>>>> way out, not obvious...
>>>>>>>
>>>>>>> So the alternative is
>>>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>>>
>>>>>>> I would not like to push now for the 2d solution but as this
>>>>>>> upgrade was intended to fix a bug, I wonder if it's not the
>>>>>>> right time
>>>>>>>
>>>>>>> In the meantime (before a decision is taken), I will continue
>>>>>>> to search a solution to compile with 1.5 but does not seem
>>>>>>> easy (conditional ANT compile deal with JDBC versions), and
>>>>>>> I'd not like to rewrite DBCP, even a part, I've other fish to
>>>>>>> fry ;o)
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>> Thanks Adrian,
>>>>>>>>
>>>>>>>> Yes I did not care and build with ant from Eclipse where I
>>>>>>>> use the 1.6 JDK. I'm on it, not as simple as I thought some
>>>>>>>> problem
>>>>>>>> appeared...
>>>>>>>> In the meantime can you use 1.6 to build ?
>>>>>>>> BTW, could we not change from 1.5 to 1.6, is there any
>>>>>>>> blocking reasons I don't remember ?
>>>>>>>>
>>>>>>>> Jacques
>>>>>>>>
>>>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>>>> Latest trunk:
>>>>>>>>>
>>>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity
>>>>>>>>> \build \classes
>>>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>>>>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>>>> [javac15] bad class file:
>>>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>>>>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>>>> [javac15] Please remove or make sure it appears in the
>>>>>>>>> correct subdirectory of the classpath.
>>>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>>>> [javac15] ^
>>>>>>>>> [javac15] 1 error
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>
Re: Build Error
Posted by Jacopo Cappellato <ja...@hotwaxmedia.com>.
Hmm... yes you are right, Jacques, sorry for that.
I will try to find out more information...
Jacopo
On Nov 13, 2009, at 11:49 AM, Jacques Le Roux wrote:
> Thanks Jacopo,
>
> These are really old ones or do I miss something ?
>
> Jacques
>
> From: "Jacopo Cappellato" <ja...@hotwaxmedia.com>
>> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>>
>> Jacopo
>>
>> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>>
>>> Hi Scott,
>>>
>>> At which date was done this nightly build ? Where did you find it ?
>>>
>>> BTW I have reverted both trunk and 9.04
>>>
>>> Jacques
>>>
>>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>>> BTW, the latest nightly build from dbcp works just fine on 1.5 for me, why are you trying to compile dbcp?
>>>> Regards
>>>> Scott
>>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>>> I'd suggest that you revert it for now.
>>>>>
>>>>> Regards
>>>>> Scott
>>>>>
>>>>> HotWax Media
>>>>> http://www.hotwaxmedia.com
>>>>>
>>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>>
>>>>>> I not totally sure but yet it seems that new versions of DBCP needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT : <<This release of JDBC compiles with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>>
>>>>>> I tried to build with 1.5 but it failed and I began to find a way out, not obvious...
>>>>>>
>>>>>> So the alternative is
>>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>>
>>>>>> I would not like to push now for the 2d solution but as this upgrade was intended to fix a bug, I wonder if it's not the right time
>>>>>>
>>>>>> In the meantime (before a decision is taken), I will continue to search a solution to compile with 1.5 but does not seem easy (conditional ANT compile deal with JDBC versions), and I'd not like to rewrite DBCP, even a part, I've other fish to fry ;o)
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>> Thanks Adrian,
>>>>>>>
>>>>>>> Yes I did not care and build with ant from Eclipse where I use the 1.6 JDK. I'm on it, not as simple as I thought some problem
>>>>>>> appeared...
>>>>>>> In the meantime can you use 1.6 to build ?
>>>>>>> BTW, could we not change from 1.5 to 1.6, is there any blocking reasons I don't remember ?
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>>> Latest trunk:
>>>>>>>>
>>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build \classes
>>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>>> [javac15] bad class file:
>>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111- r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>>> [javac15] Please remove or make sure it appears in the correct subdirectory of the classpath.
>>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>>> [javac15] ^
>>>>>>>> [javac15] 1 error
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
>
Re: Build Error
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Jacopo,
These are really old ones or do I miss something ?
Jacques
From: "Jacopo Cappellato" <ja...@hotwaxmedia.com>
> http://people.apache.org/builds/commons/nightly/commons-dbcp/
>
> Jacopo
>
> On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
>
>> Hi Scott,
>>
>> At which date was done this nightly build ? Where did you find it ?
>>
>> BTW I have reverted both trunk and 9.04
>>
>> Jacques
>>
>> From: "Scott Gray" <sc...@hotwaxmedia.com>
>>> BTW, the latest nightly build from dbcp works just fine on 1.5 for me, why are you trying to compile dbcp?
>>> Regards
>>> Scott
>>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>>> I'd suggest that you revert it for now.
>>>>
>>>> Regards
>>>> Scott
>>>>
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>>
>>>>> I not totally sure but yet it seems that new versions of DBCP needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT :
>>>>> <<This release of JDBC compiles with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>>
>>>>> I tried to build with 1.5 but it failed and I began to find a way out, not obvious...
>>>>>
>>>>> So the alternative is
>>>>> 1) revert DBCP upgrade (fix a bug)
>>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>>
>>>>> I would not like to push now for the 2d solution but as this upgrade was intended to fix a bug, I wonder if it's not the
>>>>> right time
>>>>>
>>>>> In the meantime (before a decision is taken), I will continue to search a solution to compile with 1.5 but does not seem easy
>>>>> (conditional ANT compile deal with JDBC versions), and I'd not like to rewrite DBCP, even a part, I've other fish to fry ;o)
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>> Thanks Adrian,
>>>>>>
>>>>>> Yes I did not care and build with ant from Eclipse where I use the 1.6 JDK. I'm on it, not as simple as I thought some
>>>>>> problem
>>>>>> appeared...
>>>>>> In the meantime can you use 1.6 to build ?
>>>>>> BTW, could we not change from 1.5 to 1.6, is there any blocking reasons I don't remember ?
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>>> Latest trunk:
>>>>>>>
>>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build \classes
>>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>>> [javac15] bad class file:
>>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111- r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>>> [javac15] Please remove or make sure it appears in the correct subdirectory of the classpath.
>>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>>> [javac15] ^
>>>>>>> [javac15] 1 error
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
>
Re: Build Error
Posted by Jacopo Cappellato <ja...@hotwaxmedia.com>.
http://people.apache.org/builds/commons/nightly/commons-dbcp/
Jacopo
On Nov 13, 2009, at 11:29 AM, Jacques Le Roux wrote:
> Hi Scott,
>
> At which date was done this nightly build ? Where did you find it ?
>
> BTW I have reverted both trunk and 9.04
>
> Jacques
>
> From: "Scott Gray" <sc...@hotwaxmedia.com>
>> BTW, the latest nightly build from dbcp works just fine on 1.5 for me, why are you trying to compile dbcp?
>> Regards
>> Scott
>> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>>> I'd suggest that you revert it for now.
>>>
>>> Regards
>>> Scott
>>>
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>>
>>>> I not totally sure but yet it seems that new versions of DBCP needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT : <<This release of JDBC compiles with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>>
>>>> I tried to build with 1.5 but it failed and I began to find a way out, not obvious...
>>>>
>>>> So the alternative is
>>>> 1) revert DBCP upgrade (fix a bug)
>>>> 2) Decide to use jdk 1.6 for OFBiz
>>>>
>>>> I would not like to push now for the 2d solution but as this upgrade was intended to fix a bug, I wonder if it's not the right time
>>>>
>>>> In the meantime (before a decision is taken), I will continue to search a solution to compile with 1.5 but does not seem easy (conditional ANT compile deal with JDBC versions), and I'd not like to rewrite DBCP, even a part, I've other fish to fry ;o)
>>>>
>>>> Jacques
>>>>
>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>> Thanks Adrian,
>>>>>
>>>>> Yes I did not care and build with ant from Eclipse where I use the 1.6 JDK. I'm on it, not as simple as I thought some problem
>>>>> appeared...
>>>>> In the meantime can you use 1.6 to build ?
>>>>> BTW, could we not change from 1.5 to 1.6, is there any blocking reasons I don't remember ?
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>>> Latest trunk:
>>>>>>
>>>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build \classes
>>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity \connection\DBCPConnectionFactory.java:21: cannot access
>>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>>> [javac15] bad class file:
>>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111- r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>>> [javac15] Please remove or make sure it appears in the correct subdirectory of the classpath.
>>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>>> [javac15] ^
>>>>>> [javac15] 1 error
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>
Re: Build Error
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Scott,
At which date was done this nightly build ? Where did you find it ?
BTW I have reverted both trunk and 9.04
Jacques
From: "Scott Gray" <sc...@hotwaxmedia.com>
> BTW, the latest nightly build from dbcp works just fine on 1.5 for me,
> why are you trying to compile dbcp?
>
> Regards
> Scott
>
> On 13/11/2009, at 10:36 PM, Scott Gray wrote:
>
>> I'd suggest that you revert it for now.
>>
>> Regards
>> Scott
>>
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>>
>>> I not totally sure but yet it seems that new versions of DBCP needs
>>> the 1.6 jdk (or jdk 1.4) . Extract from README.TXT : <<This release
>>> of JDBC compiles with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5
>>> (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>>
>>> I tried to build with 1.5 but it failed and I began to find a way
>>> out, not obvious...
>>>
>>> So the alternative is
>>> 1) revert DBCP upgrade (fix a bug)
>>> 2) Decide to use jdk 1.6 for OFBiz
>>>
>>> I would not like to push now for the 2d solution but as this
>>> upgrade was intended to fix a bug, I wonder if it's not the right
>>> time
>>>
>>> In the meantime (before a decision is taken), I will continue to
>>> search a solution to compile with 1.5 but does not seem easy
>>> (conditional ANT compile deal with JDBC versions), and I'd not like
>>> to rewrite DBCP, even a part, I've other fish to fry ;o)
>>>
>>> Jacques
>>>
>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>> Thanks Adrian,
>>>>
>>>> Yes I did not care and build with ant from Eclipse where I use the
>>>> 1.6 JDK. I'm on it, not as simple as I thought some problem
>>>> appeared...
>>>> In the meantime can you use 1.6 to build ?
>>>> BTW, could we not change from 1.5 to 1.6, is there any blocking
>>>> reasons I don't remember ?
>>>>
>>>> Jacques
>>>>
>>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>>> Latest trunk:
>>>>>
>>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build
>>>>> \classes
>>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>>> org.apache.commons.dbcp.ConnectionFactory
>>>>> [javac15] bad class file:
>>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>>> [javac15] Please remove or make sure it appears in the correct
>>>>> subdirectory of the classpath.
>>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>>> [javac15] ^
>>>>> [javac15] 1 error
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>
Re: Build Error
Posted by Scott Gray <sc...@hotwaxmedia.com>.
BTW, the latest nightly build from dbcp works just fine on 1.5 for me,
why are you trying to compile dbcp?
Regards
Scott
On 13/11/2009, at 10:36 PM, Scott Gray wrote:
> I'd suggest that you revert it for now.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
>
>> I not totally sure but yet it seems that new versions of DBCP needs
>> the 1.6 jdk (or jdk 1.4) . Extract from README.TXT : <<This release
>> of JDBC compiles with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5
>> (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>>
>> I tried to build with 1.5 but it failed and I began to find a way
>> out, not obvious...
>>
>> So the alternative is
>> 1) revert DBCP upgrade (fix a bug)
>> 2) Decide to use jdk 1.6 for OFBiz
>>
>> I would not like to push now for the 2d solution but as this
>> upgrade was intended to fix a bug, I wonder if it's not the right
>> time
>>
>> In the meantime (before a decision is taken), I will continue to
>> search a solution to compile with 1.5 but does not seem easy
>> (conditional ANT compile deal with JDBC versions), and I'd not like
>> to rewrite DBCP, even a part, I've other fish to fry ;o)
>>
>> Jacques
>>
>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>> Thanks Adrian,
>>>
>>> Yes I did not care and build with ant from Eclipse where I use the
>>> 1.6 JDK. I'm on it, not as simple as I thought some problem
>>> appeared...
>>> In the meantime can you use 1.6 to build ?
>>> BTW, could we not change from 1.5 to 1.6, is there any blocking
>>> reasons I don't remember ?
>>>
>>> Jacques
>>>
>>> From: "Adrian Crum" <ad...@yahoo.com>
>>>> Latest trunk:
>>>>
>>>> Compiling 129 source files to C:\ofbiz\framework\entity\build
>>>> \classes
>>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity
>>>> \connection\DBCPConnectionFactory.java:21: cannot access
>>>> org.apache.commons.dbcp.ConnectionFactory
>>>> [javac15] bad class file:
>>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>>> [javac15] class file has wrong version 50.0, should be 49.0
>>>> [javac15] Please remove or make sure it appears in the correct
>>>> subdirectory of the classpath.
>>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>>> [javac15] ^
>>>> [javac15] 1 error
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
Re: Build Error
Posted by Scott Gray <sc...@hotwaxmedia.com>.
I'd suggest that you revert it for now.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 13/11/2009, at 10:20 PM, Jacques Le Roux wrote:
> I not totally sure but yet it seems that new versions of DBCP needs
> the 1.6 jdk (or jdk 1.4) . Extract from README.TXT : <<This release
> of JDBC compiles with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5
> (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
>
> I tried to build with 1.5 but it failed and I began to find a way
> out, not obvious...
>
> So the alternative is
> 1) revert DBCP upgrade (fix a bug)
> 2) Decide to use jdk 1.6 for OFBiz
>
> I would not like to push now for the 2d solution but as this upgrade
> was intended to fix a bug, I wonder if it's not the right time
>
> In the meantime (before a decision is taken), I will continue to
> search a solution to compile with 1.5 but does not seem easy
> (conditional ANT compile deal with JDBC versions), and I'd not like
> to rewrite DBCP, even a part, I've other fish to fry ;o)
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> Thanks Adrian,
>>
>> Yes I did not care and build with ant from Eclipse where I use the
>> 1.6 JDK. I'm on it, not as simple as I thought some problem
>> appeared...
>> In the meantime can you use 1.6 to build ?
>> BTW, could we not change from 1.5 to 1.6, is there any blocking
>> reasons I don't remember ?
>>
>> Jacques
>>
>> From: "Adrian Crum" <ad...@yahoo.com>
>>> Latest trunk:
>>>
>>> Compiling 129 source files to C:\ofbiz\framework\entity\build
>>> \classes
>>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity\connection
>>> \DBCPConnectionFactory.java:21: cannot access
>>> org.apache.commons.dbcp.ConnectionFactory
>>> [javac15] bad class file:
>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-
>>> r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>> [javac15] class file has wrong version 50.0, should be 49.0
>>> [javac15] Please remove or make sure it appears in the correct
>>> subdirectory of the classpath.
>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>> [javac15] ^
>>> [javac15] 1 error
>>>
>>>
>>>
>>>
>>>
>>
>
>
Re: Build Error
Posted by Ashish Vijaywargiya <vi...@gmail.com>.
+1 for reverting the changes unless and until we find stable solution of
problem with Jdk1.5.
Thanks Jacques for your quick comment on this.
--
Ashish
On Fri, Nov 13, 2009 at 2:50 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> I not totally sure but yet it seems that new versions of DBCP needs the 1.6
> jdk (or jdk 1.4) . Extract from README.TXT : <<This release of JDBC compiles
> with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6
> (JDBC 4.0). >>
>
> I tried to build with 1.5 but it failed and I began to find a way out, not
> obvious...
>
> So the alternative is
> 1) revert DBCP upgrade (fix a bug)
> 2) Decide to use jdk 1.6 for OFBiz
>
> I would not like to push now for the 2d solution but as this upgrade was
> intended to fix a bug, I wonder if it's not the right time
>
> In the meantime (before a decision is taken), I will continue to search a
> solution to compile with 1.5 but does not seem easy (conditional ANT compile
> deal with JDBC versions), and I'd not like to rewrite DBCP, even a part,
> I've other fish to fry ;o)
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>
> Thanks Adrian,
>>
>> Yes I did not care and build with ant from Eclipse where I use the 1.6
>> JDK. I'm on it, not as simple as I thought some problem
>> appeared...
>> In the meantime can you use 1.6 to build ?
>> BTW, could we not change from 1.5 to 1.6, is there any blocking reasons I
>> don't remember ?
>>
>> Jacques
>>
>> From: "Adrian Crum" <ad...@yahoo.com>
>>
>>> Latest trunk:
>>>
>>> Compiling 129 source files to C:\ofbiz\framework\entity\build\classes
>>> [javac15]
>>> C:\ofbiz\framework\entity\src\org\ofbiz\entity\connection\DBCPConnectionFactory.java:21:
>>> cannot access
>>> org.apache.commons.dbcp.ConnectionFactory
>>> [javac15] bad class file:
>>>
>>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>>> [javac15] class file has wrong version 50.0, should be 49.0
>>> [javac15] Please remove or make sure it appears in the correct
>>> subdirectory of the classpath.
>>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>>> [javac15] ^
>>> [javac15] 1 error
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
Re: Build Error
Posted by Jacques Le Roux <ja...@les7arts.com>.
I not totally sure but yet it seems that new versions of DBCP needs the 1.6 jdk (or jdk 1.4) . Extract from README.TXT : <<This
release of JDBC compiles with and supports JDK 1.3 (JDBC 2.0), JDK 1.4-1.5 (JDBC 3.0) and JDK 1.6 (JDBC 4.0). >>
I tried to build with 1.5 but it failed and I began to find a way out, not obvious...
So the alternative is
1) revert DBCP upgrade (fix a bug)
2) Decide to use jdk 1.6 for OFBiz
I would not like to push now for the 2d solution but as this upgrade was intended to fix a bug, I wonder if it's not the right time
In the meantime (before a decision is taken), I will continue to search a solution to compile with 1.5 but does not seem easy
(conditional ANT compile deal with JDBC versions), and I'd not like to rewrite DBCP, even a part, I've other fish to fry ;o)
Jacques
From: "Jacques Le Roux" <ja...@les7arts.com>
> Thanks Adrian,
>
> Yes I did not care and build with ant from Eclipse where I use the 1.6 JDK. I'm on it, not as simple as I thought some problem
> appeared...
> In the meantime can you use 1.6 to build ?
> BTW, could we not change from 1.5 to 1.6, is there any blocking reasons I don't remember ?
>
> Jacques
>
> From: "Adrian Crum" <ad...@yahoo.com>
>> Latest trunk:
>>
>> Compiling 129 source files to C:\ofbiz\framework\entity\build\classes
>> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity\connection\DBCPConnectionFactory.java:21: cannot access
>> org.apache.commons.dbcp.ConnectionFactory
>> [javac15] bad class file:
>> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
>> [javac15] class file has wrong version 50.0, should be 49.0
>> [javac15] Please remove or make sure it appears in the correct subdirectory of the classpath.
>> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
>> [javac15] ^
>> [javac15] 1 error
>>
>>
>>
>>
>>
>
>
Re: Build Error
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Adrian,
Yes I did not care and build with ant from Eclipse where I use the 1.6 JDK. I'm on it, not as simple as I thought some problem
appeared...
In the meantime can you use 1.6 to build ?
BTW, could we not change from 1.5 to 1.6, is there any blocking reasons I don't remember ?
Jacques
From: "Adrian Crum" <ad...@yahoo.com>
> Latest trunk:
>
> Compiling 129 source files to C:\ofbiz\framework\entity\build\classes
> [javac15] C:\ofbiz\framework\entity\src\org\ofbiz\entity\connection\DBCPConnectionFactory.java:21: cannot access
> org.apache.commons.dbcp.ConnectionFactory
> [javac15] bad class file:
> C:\ofbiz\framework\entity\lib\commons-dbcp-1.3-20091111-r834702.jar(org/apache/commons/dbcp/ConnectionFactory.class)
> [javac15] class file has wrong version 50.0, should be 49.0
> [javac15] Please remove or make sure it appears in the correct subdirectory of the classpath.
> [javac15] import org.apache.commons.dbcp.ConnectionFactory;
> [javac15] ^
> [javac15] 1 error
>
>
>
>
>