en:developer:eclipse
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:developer:eclipse [2019/11/21 07:18] – [To Delete a Project] anupama | en:developer:eclipse [2019/11/21 07:43] – [Method 2] anupama | ||
---|---|---|---|
Line 27: | Line 27: | ||
=====Method 1===== | =====Method 1===== | ||
- | ====Loading the gs3 eclipse project file into Eclipse==== | + | ====A. Loading the gs3 eclipse project file into Eclipse==== |
An Eclipse project file is part of the GS3 svn checkout. It consists of a .project file, with associated .classpath file. | An Eclipse project file is part of the GS3 svn checkout. It consists of a .project file, with associated .classpath file. | ||
Line 40: | Line 40: | ||
- | ====To achieve the same from scratch ==== | + | ====B. To achieve the same from scratch ==== |
Creating an Eclipse project for Greenstone that can be reused with other fresh Greenstone checkouts from SVN. | Creating an Eclipse project for Greenstone that can be reused with other fresh Greenstone checkouts from SVN. | ||
- | ===Build Greenstone before opening Eclipse=== | + | ===1. Build Greenstone before opening Eclipse=== |
In an x-term: | In an x-term: | ||
Line 57: | Line 57: | ||
* run //makejar// in gli folder | * run //makejar// in gli folder | ||
- | ===Setting up Eclipse=== | + | ===2. Setting up Eclipse=== |
* Open Eclipse and go to Window > Open Perspective > Java Browsing | * Open Eclipse and go to Window > Open Perspective > Java Browsing | ||
Line 68: | Line 68: | ||
* In the Libraries tab, remove all jar files, so that only the "JRE System Library" | * In the Libraries tab, remove all jar files, so that only the "JRE System Library" | ||
* Press Add External Jars and **first** add in the following jar files from web/ | * Press Add External Jars and **first** add in the following jar files from web/ | ||
- | $GS3SRCHOME/ | + | $GS3SRCHOME/ |
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
Line 88: | Line 88: | ||
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
- | $GS3SRCHOME/ | + | $GS3SRCHOME/ |
- | $GS3SRCHOME/ | + | $GS3SRCHOME/ |
- | $GS3SRCHOME/ | + | $GS3SRCHOME/ |
- | $GS3SRCHOME/ | + | $GS3SRCHOME/ |
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
- | </ | + | </ |
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
$GS3SRCHOME/ | $GS3SRCHOME/ | ||
Line 123: | Line 123: | ||
=====Method 2===== | =====Method 2===== | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | * Click the checkbox next to the '' | + | |
- | | + | |
- | | + | |
- | | + | - If you want to edit and compile GLI and/or the solr extension code, add '' |
+ | - Rightclick on the Eclipse project' | ||
In order fix all the errors and allow the project to build correctly you will also need to complete the following steps. | In order fix all the errors and allow the project to build correctly you will also need to complete the following steps. |
en/developer/eclipse.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1