User Tools

Site Tools


en:developer:eclipse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:developer:eclipse [2019/11/21 07:43] – [Method 2] anupamaen:developer:eclipse [2019/11/21 07:45] – [Method 2] anupama
Line 134: Line 134:
   - Click **Finish**.   - Click **Finish**.
   - If you want to edit and compile GLI and/or the solr extension code, add ''$GS3SRCHOME/gli/src'' and ''$GS3SRCHOME/ext/solr/src/java'' as source folders too by repeating steps 4-10 for each.\\ Beware that in Eclipse's package view, all the code for gli/src and ext/solr/src/java gets merged into the org.greenstone.* tree of GS3's src/java if they're in the ''org.greenstone'' package.   - If you want to edit and compile GLI and/or the solr extension code, add ''$GS3SRCHOME/gli/src'' and ''$GS3SRCHOME/ext/solr/src/java'' as source folders too by repeating steps 4-10 for each.\\ Beware that in Eclipse's package view, all the code for gli/src and ext/solr/src/java gets merged into the org.greenstone.* tree of GS3's src/java if they're in the ''org.greenstone'' package.
-  - Rightclick on the Eclipse project's name in Eclipse's Package Explorer, then choose Build Path > Configure Build Path. Return to the Source tab and at the bottom set the ''Default output folder'' to ''$GS3SRCHOME/web/WEB-INF/classes''. 
- 
-In order fix all the errors and allow the project to build correctly you will also need to complete the following steps. 
  
 +  * Go to Project > Clean to clean the compile products. Then set Project > Build Automatically. In order fix all the compile errors and allow the project to build correctly, and in an output folder of your choosing, you will also need to complete the following steps.
   * Right-click on the project folder and choose Build Path > Configure Build Path. Alternatively, right click on the Project folder and choose Properties > Java Build Path.   * Right-click on the project folder and choose Build Path > Configure Build Path. Alternatively, right click on the Project folder and choose Properties > Java Build Path.
 +  * Go to the Source tab and at the bottom set the ''Default output folder'' to ''$GS3SRCHOME/web/WEB-INF/classes''.
   * On the Libraries tab use the 'Add External JARs' button to add the following .jar files:   * On the Libraries tab use the 'Add External JARs' button to add the following .jar files:
 <code> <code>
en/developer/eclipse.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1