De : <[EMAIL PROTECTED]> > Yes, you have to follow this simple steps: > > - go into the project properties > - then select Java build path > - in the right screen select the source tab > - search and select the folder ofbiz/framework/entity/src then > opening the folder and select excluded and press the edit button > - in the exclusion patterns pressing the add button exclude the > following class : org/ofbiz/entity/connection/ > XaPoolConnectionFactory.java > - and at the end press finish and ok > > the project will be rebuild and then you will not see this error. > > It's due to an error in the .classpath file on trunk, it would be > good if someone can commit this upgrade.
Yes for JUnit too. Too late for me tonight sorry... Jacques > > Thanks > Marco > > > > Il giorno 18/nov/07, alle ore 19:15, Brett Palmer ha scritto: > > > I've had this same problem for a while now. The ant script's > > ignore this > > code which is why you can compile in ant. There is a filter in > > eclipse to > > ignore this code but for some reason it isn't working in my eclipse > > environment. The easiest fix in eclipse is to right click on the > > package > > and delete it. You could also rename the file and refresh. > > > > Hope that helps. Anyone else have a better work around for this > > problem? > > > > Brett > > > > On Nov 18, 2007 11:01 AM, Yin T <[EMAIL PROTECTED]> wrote: > > > >> > >> I downloaded the latest trunk from > >> http://svn.apache.org/repos/asf/ofbiz/trunk using Eclipse 3.3 and > >> subclipse. > >> After the automatic compile in Eclipse, it showed a lot of compile > >> errors > >> and warnings. I tried to resolve them by manually adding jar > >> files from > >> the > >> OfBiz project as external jars. > >> This took care of many compile errors but I was not able to do > >> something > >> about removing the following errors from > >> > >> /ofbiz/framework/entity/src/org/ofbiz/entity/connection/ > >> XaPoolConnectionFactory.java. > >> > >> *StandardXADataSource cannot be resolved to a type > >> *The import org.enhydra cannot be resolved > >> > >> Could someone tell me if I'm missing some jar files or my Eclipse > >> configuration/environment needs some tweaking. > >> > >> I believe the source is ok as I am able to compile it using the > >> console by > >> typing "ant" and "ant run-install" and the application runs. > >> > >> Thanks. > >> -- > >> View this message in context: > >> http://www.nabble.com/Eclipse-and-OfBiz-tf4831150.html#a13821682 > >> Sent from the OFBiz - Dev mailing list archive at Nabble.com. > >> > >> >