Run the build target from the build.xml file: Right-click build.xml -> Run As -> Ant Build
Adrian Crum Sandglass Software www.sandglass-software.com On 6/12/2014 6:45 PM, Ted Byers wrote:
I followed the instructions on https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips, and encountered a bit of a problem. To quote the above document: - Bring up the "SVN Repository" panel in Eclipse (Window/Open Perspective/SVN Repository Exploring) - Right-Click within panel/New/Repository Location - Url:http://svn.apache.org/repos/asf/ofbiz/trunk\[\] - Click on Finish. Now, do the initial checkout: - Click the "+" next to the new repository, then Right-Click on trunk and select "Checkout...". Select "Check out as project in the workspace" and click on "Finish". This will create a new project called "ofbiz" and download the OFBiz files directly from SVN. To sync your project with SVN in the future, right-click on the project and click Teams/Synchronize with Repository. Alas, I tried this in both Eclipse (Kepler) and STS, and encountered a problem. Well, in STS I couldn't make sense of anything I saw, but in Eclipse, it seems that the checkout completed, but with errors. In the Java window, I see that the project is said to be missing two required source folders: framework/base/build/gen-src/javacc, and framework/sql/build/gen-src/javacc. This is true regardless of whether I check out trunk or release 13.07. The third error, in each case, just says that it can't be built until the build path errors are resolved. How do I resolve these build path errors? Now, in the past, I have just downloaded the latest JDBC connector for MySQL and placed it into the OFBiz directory tree as instructed. How would this be done within Eclipse? More importantly, why is it necessary when the JDBC connector is installed on my system? Can't Eclipse (or ant for that matter, determine from the system where the JDBC connectors needed are and use them from there? Thanks Ted
