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. > >
