http://www.globalsight.com/wiki/index.php?title=Setting_up_the_Development_Environment&feed=atom&action=history
Setting up the Development Environment - Revision history
2024-03-28T17:25:51Z
Revision history for this page on the wiki
MediaWiki 1.32.0
http://www.globalsight.com/wiki/index.php?title=Setting_up_the_Development_Environment&diff=5178&oldid=prev
Globalwiki: /* Notes to deploy changes to server */
2016-10-26T04:08:26Z
<p><span dir="auto"><span class="autocomment">Notes to deploy changes to server</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 04:08, 26 October 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l129" >Line 129:</td>
<td colspan="2" class="diff-lineno">Line 129:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">=</del>==Notes to deploy changes to server<del class="diffchange diffchange-inline">=</del>==</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>==Notes to deploy changes to server==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When developer does any changes in IDE such as Eclipse, changed files need to be synchronized to server for testing or debugging.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When developer does any changes in IDE such as Eclipse, changed files need to be synchronized to server for testing or debugging.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Globalwiki
http://www.globalsight.com/wiki/index.php?title=Setting_up_the_Development_Environment&diff=5177&oldid=prev
Globalwiki: /* Encoding */
2016-10-26T04:07:17Z
<p><span dir="auto"><span class="autocomment">Encoding</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 04:07, 26 October 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l127" >Line 127:</td>
<td colspan="2" class="diff-lineno">Line 127:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Developing GlobalSight]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Developing GlobalSight]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">===Notes to deploy changes to server===</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">When developer does any changes in IDE such as Eclipse, changed files need to be synchronized to server for testing or debugging.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">For java files, you need copy the compiled class files into "globalsight.jar" in "jboss\server\standalone\deployments\globalsight.ear\lib" folder. Restart is required.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">For other files such as jsp, js, css etc, it is enough to just copy them to server to replace the old ones.</ins></div></td></tr>
</table>
Globalwiki
http://www.globalsight.com/wiki/index.php?title=Setting_up_the_Development_Environment&diff=5170&oldid=prev
Globalwiki: /* Importing the source code */
2016-10-25T01:22:13Z
<p><span dir="auto"><span class="autocomment">Importing the source code</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:22, 25 October 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l49" >Line 49:</td>
<td colspan="2" class="diff-lineno">Line 49:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Click '''Next''' to import the source code into Eclipse</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Click '''Next''' to import the source code into Eclipse</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Do NOT click Finish. Some default settings <del class="diffchange diffchange-inline">are still </del>modified later.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Do NOT click Finish. Some default settings <ins class="diffchange diffchange-inline">need to be </ins>modified later.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[File:setup3.jpg|thumb|400px|centre|New Java project]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[File:setup3.jpg|thumb|400px|centre|New Java project]]</div></td></tr>
</table>
Globalwiki
http://www.globalsight.com/wiki/index.php?title=Setting_up_the_Development_Environment&diff=5169&oldid=prev
Globalwiki: /* Setting up a project */
2016-10-25T01:21:24Z
<p><span dir="auto"><span class="autocomment">Setting up a project</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:21, 25 October 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l32" >Line 32:</td>
<td colspan="2" class="diff-lineno">Line 32:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** main6/ling/ You only need the ''com/*'' sub-folder </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** main6/ling/ You only need the ''com/*'' sub-folder </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Source code encoding: ISO-8859-1. This is needed when compiling codes</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Source code encoding: ISO-8859-1. This is needed when compiling codes</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Library files: <del class="diffchange diffchange-inline">make sure that </del>all <del class="diffchange diffchange-inline">library files necessary </del>have been added <del class="diffchange diffchange-inline">to the class path before development</del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* Library files: <ins class="diffchange diffchange-inline">in .classpath file, </ins>all <ins class="diffchange diffchange-inline">required jars </ins>have been added<ins class="diffchange diffchange-inline">. They include:</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** <del class="diffchange diffchange-inline">most </del>files <del class="diffchange diffchange-inline">are </del>in <del class="diffchange diffchange-inline">the </del>''main6/tools/lib/'' directory</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** files in ''main6/tools/lib/<ins class="diffchange diffchange-inline">common</ins>'' directory</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>** <del class="diffchange diffchange-inline">each source folder has its own library folder</del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>** <ins class="diffchange diffchange-inline">required jar files from WildFly </ins>in ''main6/tools/j2eeVendor/jboss<ins class="diffchange diffchange-inline">/wildfly-10.0.0.Final/server/modules/system/layers/base</ins>'' folder</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">** the container library for JBoss is </del>in <del class="diffchange diffchange-inline">the </del>''main6/tools/j2eeVendor/jboss'' folder </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Eclipse is used as an example to demonstrate how to set up a project in it. Download version 3.2.x or later of Eclipse from [http://www.eclipse.org Eclipse.org].</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Eclipse is used as an example to demonstrate how to set up a project in it. Download version 3.2.x or later of Eclipse from [http://www.eclipse.org Eclipse.org].</div></td></tr>
</table>
Globalwiki
http://www.globalsight.com/wiki/index.php?title=Setting_up_the_Development_Environment&diff=357&oldid=prev
Globalwiki: 1 revision
2014-10-14T09:39:54Z
<p>1 revision</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 09:39, 14 October 2014</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Globalwiki
http://www.globalsight.com/wiki/index.php?title=Setting_up_the_Development_Environment&diff=356&oldid=prev
Techwriter: /* Encoding */
2014-01-02T14:24:14Z
<p><span dir="auto"><span class="autocomment">Encoding</span></span></p>
<p><b>New page</b></p><div>{{Docset_side}}<br />
Developers can create their own development environment by downloading the source code to build and set up a project.<br />
<br />
==System requirements==<br />
Before programming, make sure that the following software has been installed. For system requirements in general, see [[System requirements]].<br />
<br />
==Getting the source code==<br />
# Download the source code for the GlobalSight system from [http://www.globalsight.com GlobalSight.com]. For more details on downloading the software, see [[Installing GlobalSight]].<br />
# Unzip or un-package the code into a new directory, for example ''GlobalSight7.1''. <br />
<br />
In this root directory, ''main6/envoy'' means ''GlobalSight7.1/main6/envoy'' and so on for other default paths.<br />
<br />
When you have downloaded the code successfully, the package structure is as follows:<br />
<br />
[[File:setup1.jpg|thumb|600px|centre|File structure after download]]<br />
<br />
==Building a project==<br />
Before setting up a project or development, you need to build a project once since the '''javacc''' command generates other special source code needed.<br />
<br />
# Open a command window<br />
# Forward to the ''HOME/main6/tools/build/'' folder<br />
# Execute the following ant script:[[File:setup2.jpg|thumb|500px|centre]]<br />
<br />
The '''dist''' target compiles the whole project. It also deploys it as a zip file in the ''dist'' sub-folder in the ''build'' folder. For more details on building, see [[Building and Deploying GlobalSight]].<br />
<br />
==Setting up a project==<br />
To set up a project, you need to know:<br />
<br />
* Source folders:<br />
** main6/diplomat/dev/src/java/*<br />
** main6/envoy/src/java/*<br />
** main6/ling/ You only need the ''com/*'' sub-folder <br />
* Source code encoding: ISO-8859-1. This is needed when compiling codes<br />
* Library files: make sure that all library files necessary have been added to the class path before development<br />
** most files are in the ''main6/tools/lib/'' directory<br />
** each source folder has its own library folder<br />
** the container library for JBoss is in the ''main6/tools/j2eeVendor/jboss'' folder <br />
<br />
Eclipse is used as an example to demonstrate how to set up a project in it. Download version 3.2.x or later of Eclipse from [http://www.eclipse.org Eclipse.org].<br />
<br />
===Creating a project===<br />
# Open the Eclipse environment<br />
# Select '''File->New->Java Project'''<br />
<br />
===Importing the source code===<br />
# Enter a project name, such as '''GlobalSight''' <br />
# Select '''Create project from existing source''' in ''Contents'' under the project name <br />
# Click '''Browse'''<br />
# Forward to the root folder of the source code, ''HOME''<br />
# Click '''Next''' to import the source code into Eclipse<br />
<br />
Do NOT click Finish. Some default settings are still modified later.<br />
<br />
[[File:setup3.jpg|thumb|400px|centre|New Java project]]<br />
<br />
===Removing all default source folders===<br />
The default settings of the GlobalSight appear in Eclipse, as shown below. This can take a few seconds or even minutes.<br />
<br />
# Select all of the default source folders. This is basically everything except the last folder, ''main6'' <br />
# Click the '''Remove from Java build path''' link to remove them from the source folder list<br />
<br />
[[File:setup4.jpg|thumb|400px|centre|Removing all default source folders]]<br />
<br />
When all folders have been removed successfully, only the ''main6'' folder remains.<br />
<br />
[[File:setup5.jpg|thumb|400px|centre|All default source folders have been removed]]<br />
<br />
===Adding real source folders===<br />
Add the real source folders needed in the system:<br />
* main6/diplomat/dev/src/java<br />
* main6/envoy/src/java<br />
* main6/ling<br />
<br />
Using the first folder as an example:<br />
# Select the '''main6/diplomat/dev/src/java folder'''<br />
# Click '''Add folder 'java' to build path''' link to add it as source folder<br />
<br />
[[File:setup6.jpg|thumb|400px|centre|Adding source folders]]<br />
<br />
When you have added all source folders successfully, you see the following:<br />
<br />
[[File:setup7.jpg|thumb|400px|centre|Adding all source folders]]<br />
<br />
===Improving the project environment===<br />
You have now almost built a new project using the system source code. Add the following more detailed settings to improve the project environment.<br />
<br />
====Filtering files from the source folder====<br />
Filtering unnecessary files from the source folder reduces the load on the system memory and speeds up the Eclipse environment.<br />
<br />
Using the main6/ling folder as an example:<br />
# Select the source folder<br />
# Click the '''Configure inclusion and exclusion filters''' link <br />
<br />
[[File:setup8.jpg|thumb|400px|centre|Configuring the source folder]]<br />
<br />
The configuration window for ''Inclusion and Exclusion'' shows.<br />
<br />
# Click '''Add Multiple ...''' in the ''Exclusion'' pattern frame<br />
# Select the sub-folders and files except the ''com'' folder <br />
# Click '''OK''' in ''Selection'' <br />
# Click '''Finish''' in ''Inclusion and Exclusion Patterns''<br />
<br />
[[File:setup9.jpg|thumb|400px|centre|Add filters for ling folder]]<br />
<br />
After this, you can see there are more description sentence after source folder “main6/ling”, such as “6 items excluded”.<br />
<br />
Other files that you can also exclude from the source folder:<br />
* main6/envoy/src/java/com/globalsight/resources/**<br />
* main6/ling/com/globalsight/resources/<br />
<br />
====Modifying the default output folder====<br />
To make it easier to find or use the classes files, you can change the default output folder that shows at the bottom of the project window to something more familiar. For example, you can change from ''GlobalSight/main6/tools/build/cxeclasses'' to GlobalSight/main6/bin, or whatever you want. <br />
<br />
===Encoding===<br />
You can now click Finish to complete the creation process. <br />
<br />
If you have changed the output folder directory, a window may pop up asking you to copy files from the original directory to the new one. Click Yes, and a new project is created successfully.<br />
<br />
Eclipse also performs some tasks after creation. <br />
<br />
For any future errors when compiling, edit the file encoding of the project as follows:<br />
# Right-click the project name<br />
# Select Properties from bottom of the pop-up menu<br />
# Click Resource in the menu on the left. This is often default<br />
# Change the ''Text file encoding'' to '''ISO-8859-1''' <br />
<br />
<br />
<br />
[[Category:Developing GlobalSight]]</div>
Techwriter