| Setting up OpenLexicon in Eclipse |
|
|
|
|
Eclipse is really very simple and popular and it is a good platform for completing the tutorial. If you want a copy just download it here: http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2.2-200702121330/ eclipse-SDK-3.2.2-win32.zip Download the openlexicon source and put the .zip in a directory somewhere. Start eclipse (if you installed it in the program files there should be a blue globe in the ecliplse directory). Create a java project (file -> new -> project -> java ->javaproject) I would call it openLexicon. Import the source tree directly from the .zip (File->Import->General->Archive file, navigate to the place you saved the .zip and import it into your project) You will now see thousands of errors because you need to add all the .jars from the opeLexicon wizard. To add the libraries right click over the project name and build path -> add external libraries ->add enternal archives When the directory browser appears, navigate to to the lib directory ( Program Files/OpenLexicon/webapps/openlexicon-1.0.5/WEB-INF/lib) and include all the .jars there. Repeat this step for tomcat ... add the libraries right click over the project name and build path -> add external libraries ->add enternal archives When the directory browser appears, navigate to to the lib directory (Program Files/ OpenLexicon/common/ lib) and include all the .jars there. You are no ready to get in trouble with Java! (lol) If you want to follow the tutorial then the place to edit java and run them is comm.hotapp.lexicon.test.RulesEngineTest |
OpenLexicon.org | Home