I received the following while trying to build the latest from trunk:
[javac15] E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr nsactionFactory.java:74: incompatible types [javac15] found : org.apache.geronimo.transaction.manager.GeronimoTransactio Manager [javac15] required: javax.transaction.UserTransaction [javac15] return geronimoTransactionManager; [javac15] ^ [javac15] 1 error This is strange since GeronimoTransactionManager implements UserTransaction. I did a ant clean prior but still got this message. For what it's worth, I also got some deprecation warnings for org.ofbiz.entity.util.ByteWrapper Thanks for your help! Bryan |
No problem for me...
Please try the following steps 1) ant clean 2) ant build Also verify if you have old jars in the classpath (svn status may help you to spot them). Jacopo On Jul 2, 2008, at 7:05 AM, jazerb wrote: > > I received the following while trying to build the latest from trunk: > > [javac15] > E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr > nsactionFactory.java:74: incompatible types > [javac15] found : > org.apache.geronimo.transaction.manager.GeronimoTransactio > Manager > [javac15] required: javax.transaction.UserTransaction > [javac15] return geronimoTransactionManager; > [javac15] ^ > [javac15] 1 error > > This is strange since GeronimoTransactionManager implements > UserTransaction. > I did a ant clean prior but still got this message. > > For what it's worth, I also got some deprecation warnings for > org.ofbiz.entity.util.ByteWrapper > > Thanks for your help! > Bryan > -- > View this message in context: http://www.nabble.com/Build-Failed---org.ofbiz.geronimo.GeronimoTransactionFactory-tp18230384p18230384.html > Sent from the OFBiz - Dev mailing list archive at Nabble.com. > |
Administrator
|
It's ok here too...
Jacques From: "Jacopo Cappellato" <[hidden email]> > No problem for me... > > Please try the following steps > 1) ant clean > 2) ant build > Also verify if you have old jars in the classpath (svn status may help you to spot them). > > Jacopo > > On Jul 2, 2008, at 7:05 AM, jazerb wrote: > >> >> I received the following while trying to build the latest from trunk: >> >> [javac15] >> E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr >> nsactionFactory.java:74: incompatible types >> [javac15] found : >> org.apache.geronimo.transaction.manager.GeronimoTransactio >> Manager >> [javac15] required: javax.transaction.UserTransaction >> [javac15] return geronimoTransactionManager; >> [javac15] ^ >> [javac15] 1 error >> >> This is strange since GeronimoTransactionManager implements UserTransaction. >> I did a ant clean prior but still got this message. >> >> For what it's worth, I also got some deprecation warnings for >> org.ofbiz.entity.util.ByteWrapper >> >> Thanks for your help! >> Bryan >> -- >> View this message in context: >> http://www.nabble.com/Build-Failed---org.ofbiz.geronimo.GeronimoTransactionFactory-tp18230384p18230384.html >> Sent from the OFBiz - Dev mailing list archive at Nabble.com. >> > |
Working for me as well without any problem.
-- Ashish On Wed, Jul 2, 2008 at 4:35 AM, Jacques Le Roux < [hidden email]> wrote: > It's ok here too... > > Jacques > > From: "Jacopo Cappellato" <[hidden email]> > > No problem for me... >> >> Please try the following steps >> 1) ant clean >> 2) ant build >> Also verify if you have old jars in the classpath (svn status may help >> you to spot them). >> >> Jacopo >> >> On Jul 2, 2008, at 7:05 AM, jazerb wrote: >> >> >>> I received the following while trying to build the latest from trunk: >>> >>> [javac15] >>> E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr >>> nsactionFactory.java:74: incompatible types >>> [javac15] found : >>> org.apache.geronimo.transaction.manager.GeronimoTransactio >>> Manager >>> [javac15] required: javax.transaction.UserTransaction >>> [javac15] return geronimoTransactionManager; >>> [javac15] ^ >>> [javac15] 1 error >>> >>> This is strange since GeronimoTransactionManager implements >>> UserTransaction. >>> I did a ant clean prior but still got this message. >>> >>> For what it's worth, I also got some deprecation warnings for >>> org.ofbiz.entity.util.ByteWrapper >>> >>> Thanks for your help! >>> Bryan >>> -- >>> View this message in context: >>> http://www.nabble.com/Build-Failed---org.ofbiz.geronimo.GeronimoTransactionFactory-tp18230384p18230384.html >>> Sent from the OFBiz - Dev mailing list archive at Nabble.com. >>> >>> >> > |
In reply to this post by Jacopo Cappellato-3
Thanks for the pointers. As it turns out, I still had geronimo-transaction-1.0.jar and jencks-1.1.3.jar on the classpath. My assumption was that ant clean would take care of this, but for me this was not the case. I removed these two jars and the build went fine.
Thanks again! -B
|
Free forum by Nabble | Edit this page |