<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FJrobparsons</id>
	<title>GRASS-Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://grasswiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=%E2%9A%A0%EF%B8%8FJrobparsons"/>
	<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/wiki/Special:Contributions/%E2%9A%A0%EF%B8%8FJrobparsons"/>
	<updated>2026-04-15T23:54:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=22568</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=22568"/>
		<updated>2016-02-20T19:49:02Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Corrected name of 'Project Explorer' in various places.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform the following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Editing&lt;br /&gt;
*  Syntax highlighting&lt;br /&gt;
*  Code completion assistance&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /C  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Project Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Project Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Project Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Train Eclipse ==&lt;br /&gt;
&lt;br /&gt;
Eclipse needs to discover all the C/C++, Python and Make symbols used to build GRASS. This requires that a complete GRASS system build be performed from the Eclipse workbench. This is accomplished using the following procedure:&lt;br /&gt;
&lt;br /&gt;
 Start Eclipse.&lt;br /&gt;
 Open the 'grass7_trunk' project.&lt;br /&gt;
 Click on the project to highlight it.&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'clean' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'default' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
 &lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Click on the icon (stacked rectangles) in the lower right-hand corner of the workbench to view progress.&lt;br /&gt;
&lt;br /&gt;
== Build a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
A GRASS C/C++ module is built and copied to the distribution directory.&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk'.&lt;br /&gt;
 Select 'Open project'.&lt;br /&gt;
&lt;br /&gt;
Expand the source code tree.&lt;br /&gt;
&lt;br /&gt;
Scroll down to the module.&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'raster' -&amp;gt; r.univar&lt;br /&gt;
&lt;br /&gt;
Right-click on the module folder to access its context menu.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'clean' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'clean' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Build results will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
The executable is output to the distribution directory:&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'dist.i686-pc-mingw32 -&amp;gt; 'bin'&lt;br /&gt;
&lt;br /&gt;
You can right-click on r.univar.exe' in the distribution directory and select 'Properties' to get the 'Last modified' date and time.&lt;br /&gt;
&lt;br /&gt;
== Build a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
A GRASS Python script is not built like a GRASS C/C++ module because it is an interpreted language. The Makefile located in the directory of the script is used to install the script in the distribution directory.&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk'.&lt;br /&gt;
 Select 'Open project'.&lt;br /&gt;
&lt;br /&gt;
Expand the source code tree.&lt;br /&gt;
&lt;br /&gt;
Scroll down to the script.&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'scripts' -&amp;gt; m.proj&lt;br /&gt;
&lt;br /&gt;
Right-click on the script folder to access its context menu.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'm.proj'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'm.proj'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
The script is installed in the distribution directory:&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'dist.i686-pc-mingw32' -&amp;gt; 'scripts'&lt;br /&gt;
&lt;br /&gt;
You can right-click on 'm.proj.py'  in the distribution directory and select 'Properties' to get the 'Last modified' date and time.&lt;br /&gt;
&lt;br /&gt;
== Debug a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
Switch to C/C++ perspective.&lt;br /&gt;
&lt;br /&gt;
Run 'r.univar' (configured using the 'Run a GRASS C/C++ Module' instructions).&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Run Configuration...&lt;br /&gt;
 Select 'r.univar' under 'C/C++ Application.&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Open the C/C++ code to be debugged.&lt;br /&gt;
&lt;br /&gt;
 Double-click on:&lt;br /&gt;
 grass7_trunk -&amp;gt; raster -&amp;gt; r.univar -&amp;gt; r.univar_main.c&lt;br /&gt;
&lt;br /&gt;
Switch to Debug perspective.&lt;br /&gt;
&lt;br /&gt;
On the top task bar:&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Debug&lt;br /&gt;
&lt;br /&gt;
The module will execute and stop at the 1st line in main().&lt;br /&gt;
&lt;br /&gt;
Scroll down to this line:&lt;br /&gt;
&lt;br /&gt;
 G_get_window(&amp;amp;region);&lt;br /&gt;
&lt;br /&gt;
After this line, set a breakpoint by double-clicking on the line number. You will see a green button appear next to the line number.&lt;br /&gt;
&lt;br /&gt;
On the debug task bar:&lt;br /&gt;
&lt;br /&gt;
 Click on the green arrow ( Resume (F8) ).&lt;br /&gt;
&lt;br /&gt;
The module will execute and stop at the breakpoint.&lt;br /&gt;
&lt;br /&gt;
Hover over any variable to bring up a pop-up window to view its value.&lt;br /&gt;
&lt;br /&gt;
The state of variables executed up to this point will be displayed on the 'Variables' view tab.&lt;br /&gt;
&lt;br /&gt;
== Debug a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Switch to PyDev perspective.&lt;br /&gt;
&lt;br /&gt;
Run 'm.proj.py' (configured using the 'Run a GRASS Python Script' instructions).&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Run Configuration...&lt;br /&gt;
 Select 'm.proj.py' under 'Python Run.&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Open Python code to be debugged.&lt;br /&gt;
&lt;br /&gt;
 Double-click on:&lt;br /&gt;
 grass7_trunk -&amp;gt; scripts -&amp;gt; m.proj -&amp;gt; m.proj.py&lt;br /&gt;
&lt;br /&gt;
Switch to Debug perspective.&lt;br /&gt;
&lt;br /&gt;
Scroll down to this line:&lt;br /&gt;
&lt;br /&gt;
 cmd = ['cs2cs'] + copyinp + outfmt + in_proj.split() + ['+to'] + out_proj.split()&lt;br /&gt;
&lt;br /&gt;
After this line, set a breakpoint by double-clicking on the line number. You will see a green push-pin appear next to the line number.&lt;br /&gt;
&lt;br /&gt;
On the top task bar:&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Debug&lt;br /&gt;
&lt;br /&gt;
The script will execute and stop at the breakpoint.&lt;br /&gt;
&lt;br /&gt;
Hover over any variable to bring up a pop-up window to view its value.&lt;br /&gt;
&lt;br /&gt;
The state of variables executed up to this point will be displayed on the 'Variables' view tab.&lt;br /&gt;
&lt;br /&gt;
== Help ==&lt;br /&gt;
&lt;br /&gt;
[http://help.eclipse.org/mars/index.jsp | Eclipse Mars Online Help]&lt;br /&gt;
&lt;br /&gt;
* Workbench User Guide&lt;br /&gt;
* C/C++ Development User Guide&lt;br /&gt;
&lt;br /&gt;
[http://www.pydev.org/manual.html | PyDev Manual]&lt;br /&gt;
&lt;br /&gt;
[http://www.eclipse.org/subversive/documentation/ | Subversive User Guide]&lt;br /&gt;
&lt;br /&gt;
[[Category: Documentation]]&lt;br /&gt;
[[Category: Development]]&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21986</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21986"/>
		<updated>2015-09-12T20:41:02Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Added help section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform the following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Editing&lt;br /&gt;
*  Syntax highlighting&lt;br /&gt;
*  Code completion assistance&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /C  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Train Eclipse ==&lt;br /&gt;
&lt;br /&gt;
Eclipse needs to discover all the C/C++, Python and Make symbols used to build GRASS. This requires that a complete GRASS system build be performed from the Eclipse workbench. This is accomplished using the following procedure:&lt;br /&gt;
&lt;br /&gt;
 Start Eclipse.&lt;br /&gt;
 Open the 'grass7_trunk' project.&lt;br /&gt;
 Click on the project to highlight it.&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'clean' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'default' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
 &lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Click on the icon (stacked rectangles) in the lower right-hand corner of the workbench to view progress.&lt;br /&gt;
&lt;br /&gt;
== Build a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
A GRASS C/C++ module is built and copied to the distribution directory.&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk'.&lt;br /&gt;
 Select 'Open project'.&lt;br /&gt;
&lt;br /&gt;
Expand the source code tree.&lt;br /&gt;
&lt;br /&gt;
Scroll down to the module.&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'raster' -&amp;gt; r.univar&lt;br /&gt;
&lt;br /&gt;
Right-click on the module folder to access its context menu.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'clean' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'clean' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Build results will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
The executable is output to the distribution directory:&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'dist.i686-pc-mingw32 -&amp;gt; 'bin'&lt;br /&gt;
&lt;br /&gt;
You can right-click on r.univar.exe' in the distribution directory and select 'Properties' to get the 'Last modified' date and time.&lt;br /&gt;
&lt;br /&gt;
== Build a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
A GRASS Python script is not built like a GRASS C/C++ module because it is an interpreted language. The Makefile located in the directory of the script is used to install the script in the distribution directory.&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk'.&lt;br /&gt;
 Select 'Open project'.&lt;br /&gt;
&lt;br /&gt;
Expand the source code tree.&lt;br /&gt;
&lt;br /&gt;
Scroll down to the script.&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'scripts' -&amp;gt; m.proj&lt;br /&gt;
&lt;br /&gt;
Right-click on the script folder to access its context menu.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'm.proj'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'm.proj'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
The script is installed in the distribution directory:&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'dist.i686-pc-mingw32' -&amp;gt; 'scripts'&lt;br /&gt;
&lt;br /&gt;
You can right-click on 'm.proj.py'  in the distribution directory and select 'Properties' to get the 'Last modified' date and time.&lt;br /&gt;
&lt;br /&gt;
== Debug a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
Switch to C/C++ perspective.&lt;br /&gt;
&lt;br /&gt;
Run 'r.univar' (configured using the 'Run a GRASS C/C++ Module' instructions).&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Run Configuration...&lt;br /&gt;
 Select 'r.univar' under 'C/C++ Application.&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Open the C/C++ code to be debugged.&lt;br /&gt;
&lt;br /&gt;
 Double-click on:&lt;br /&gt;
 grass7_trunk -&amp;gt; raster -&amp;gt; r.univar -&amp;gt; r.univar_main.c&lt;br /&gt;
&lt;br /&gt;
Switch to Debug perspective.&lt;br /&gt;
&lt;br /&gt;
On the top task bar:&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Debug&lt;br /&gt;
&lt;br /&gt;
The module will execute and stop at the 1st line in main().&lt;br /&gt;
&lt;br /&gt;
Scroll down to this line:&lt;br /&gt;
&lt;br /&gt;
 G_get_window(&amp;amp;region);&lt;br /&gt;
&lt;br /&gt;
After this line, set a breakpoint by double-clicking on the line number. You will see a green button appear next to the line number.&lt;br /&gt;
&lt;br /&gt;
On the debug task bar:&lt;br /&gt;
&lt;br /&gt;
 Click on the green arrow ( Resume (F8) ).&lt;br /&gt;
&lt;br /&gt;
The module will execute and stop at the breakpoint.&lt;br /&gt;
&lt;br /&gt;
Hover over any variable to bring up a pop-up window to view its value.&lt;br /&gt;
&lt;br /&gt;
The state of variables executed up to this point will be displayed on the 'Variables' view tab.&lt;br /&gt;
&lt;br /&gt;
== Debug a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Switch to PyDev perspective.&lt;br /&gt;
&lt;br /&gt;
Run 'm.proj.py' (configured using the 'Run a GRASS Python Script' instructions).&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Run Configuration...&lt;br /&gt;
 Select 'm.proj.py' under 'Python Run.&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Open Python code to be debugged.&lt;br /&gt;
&lt;br /&gt;
 Double-click on:&lt;br /&gt;
 grass7_trunk -&amp;gt; scripts -&amp;gt; m.proj -&amp;gt; m.proj.py&lt;br /&gt;
&lt;br /&gt;
Switch to Debug perspective.&lt;br /&gt;
&lt;br /&gt;
Scroll down to this line:&lt;br /&gt;
&lt;br /&gt;
 cmd = ['cs2cs'] + copyinp + outfmt + in_proj.split() + ['+to'] + out_proj.split()&lt;br /&gt;
&lt;br /&gt;
After this line, set a breakpoint by double-clicking on the line number. You will see a green push-pin appear next to the line number.&lt;br /&gt;
&lt;br /&gt;
On the top task bar:&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Debug&lt;br /&gt;
&lt;br /&gt;
The script will execute and stop at the breakpoint.&lt;br /&gt;
&lt;br /&gt;
Hover over any variable to bring up a pop-up window to view its value.&lt;br /&gt;
&lt;br /&gt;
The state of variables executed up to this point will be displayed on the 'Variables' view tab.&lt;br /&gt;
&lt;br /&gt;
== Help ==&lt;br /&gt;
&lt;br /&gt;
[http://help.eclipse.org/mars/index.jsp | Eclipse Mars Online Help]&lt;br /&gt;
&lt;br /&gt;
* Workbench User Guide&lt;br /&gt;
* C/C++ Development User Guide&lt;br /&gt;
&lt;br /&gt;
[http://www.pydev.org/manual.html | PyDev Manual]&lt;br /&gt;
&lt;br /&gt;
[http://www.eclipse.org/subversive/documentation/ | Subversive User Guide]&lt;br /&gt;
&lt;br /&gt;
[[Category: Documentation]]&lt;br /&gt;
[[Category: Development]]&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21985</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21985"/>
		<updated>2015-09-12T20:29:02Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Added build and debug sections.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform the following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Editing&lt;br /&gt;
*  Syntax highlighting&lt;br /&gt;
*  Code completion assistance&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /C  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Train Eclipse ==&lt;br /&gt;
&lt;br /&gt;
Eclipse needs to discover all the C/C++, Python and Make symbols used to build GRASS. This requires that a complete GRASS system build be performed from the Eclipse workbench. This is accomplished using the following procedure:&lt;br /&gt;
&lt;br /&gt;
 Start Eclipse.&lt;br /&gt;
 Open the 'grass7_trunk' project.&lt;br /&gt;
 Click on the project to highlight it.&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'clean' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'default' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
 &lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Click on the icon (stacked rectangles) in the lower right-hand corner of the workbench to view progress.&lt;br /&gt;
&lt;br /&gt;
== Build a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
A GRASS C/C++ module is built and copied to the distribution directory.&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk'.&lt;br /&gt;
 Select 'Open project'.&lt;br /&gt;
&lt;br /&gt;
Expand the source code tree.&lt;br /&gt;
&lt;br /&gt;
Scroll down to the module.&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'raster' -&amp;gt; r.univar&lt;br /&gt;
&lt;br /&gt;
Right-click on the module folder to access its context menu.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'clean' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'clean' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'r.univar'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Build results will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
The executable is output to the distribution directory:&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'dist.i686-pc-mingw32 -&amp;gt; 'bin'&lt;br /&gt;
&lt;br /&gt;
You can right-click on r.univar.exe' in the distribution directory and select 'Properties' to get the 'Last modified' date and time.&lt;br /&gt;
&lt;br /&gt;
== Build a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
A GRASS Python script is not built like a GRASS C/C++ module because it is an interpreted language. The Makefile located in the directory of the script is used to install the script in the distribution directory.&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk'.&lt;br /&gt;
 Select 'Open project'.&lt;br /&gt;
&lt;br /&gt;
Expand the source code tree.&lt;br /&gt;
&lt;br /&gt;
Scroll down to the script.&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'scripts' -&amp;gt; m.proj&lt;br /&gt;
&lt;br /&gt;
Right-click on the script folder to access its context menu.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'm.proj'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Create...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'm.proj'.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...'.&lt;br /&gt;
 Enter 'default' in the 'Target name' field.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
The script is installed in the distribution directory:&lt;br /&gt;
&lt;br /&gt;
 'grass7_trunk' -&amp;gt; 'dist.i686-pc-mingw32' -&amp;gt; 'scripts'&lt;br /&gt;
&lt;br /&gt;
You can right-click on 'm.proj.py'  in the distribution directory and select 'Properties' to get the 'Last modified' date and time.&lt;br /&gt;
&lt;br /&gt;
== Debug a GRASS C/C++ Module ==&lt;br /&gt;
&lt;br /&gt;
Switch to C/C++ perspective.&lt;br /&gt;
&lt;br /&gt;
Run 'r.univar' (configured using the 'Run a GRASS C/C++ Module' instructions).&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Run Configuration...&lt;br /&gt;
 Select 'r.univar' under 'C/C++ Application.&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Open the C/C++ code to be debugged.&lt;br /&gt;
&lt;br /&gt;
 Double-click on:&lt;br /&gt;
 grass7_trunk -&amp;gt; raster -&amp;gt; r.univar -&amp;gt; r.univar_main.c&lt;br /&gt;
&lt;br /&gt;
Switch to Debug perspective.&lt;br /&gt;
&lt;br /&gt;
On the top task bar:&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Debug&lt;br /&gt;
&lt;br /&gt;
The module will execute and stop at the 1st line in main().&lt;br /&gt;
&lt;br /&gt;
Scroll down to this line:&lt;br /&gt;
&lt;br /&gt;
 G_get_window(&amp;amp;region);&lt;br /&gt;
&lt;br /&gt;
After this line, set a breakpoint by double-clicking on the line number. You will see a green button appear next to the line number.&lt;br /&gt;
&lt;br /&gt;
On the debug task bar:&lt;br /&gt;
&lt;br /&gt;
 Click on the green arrow ( Resume (F8) ).&lt;br /&gt;
&lt;br /&gt;
The module will execute and stop at the breakpoint.&lt;br /&gt;
&lt;br /&gt;
Hover over any variable to bring up a pop-up window to view its value.&lt;br /&gt;
&lt;br /&gt;
The state of variables executed up to this point will be displayed on the 'Variables' view tab.&lt;br /&gt;
&lt;br /&gt;
== Debug a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Switch to PyDev perspective.&lt;br /&gt;
&lt;br /&gt;
Run 'm.proj.py' (configured using the 'Run a GRASS Python Script' instructions).&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Run Configuration...&lt;br /&gt;
 Select 'm.proj.py' under 'Python Run.&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Open Python code to be debugged.&lt;br /&gt;
&lt;br /&gt;
 Double-click on:&lt;br /&gt;
 grass7_trunk -&amp;gt; scripts -&amp;gt; m.proj -&amp;gt; m.proj.py&lt;br /&gt;
&lt;br /&gt;
Switch to Debug perspective.&lt;br /&gt;
&lt;br /&gt;
Scroll down to this line:&lt;br /&gt;
&lt;br /&gt;
 cmd = ['cs2cs'] + copyinp + outfmt + in_proj.split() + ['+to'] + out_proj.split()&lt;br /&gt;
&lt;br /&gt;
After this line, set a breakpoint by double-clicking on the line number. You will see a green push-pin appear next to the line number.&lt;br /&gt;
&lt;br /&gt;
On the top task bar:&lt;br /&gt;
&lt;br /&gt;
 Run -&amp;gt; Debug&lt;br /&gt;
&lt;br /&gt;
The script will execute and stop at the breakpoint.&lt;br /&gt;
&lt;br /&gt;
Hover over any variable to bring up a pop-up window to view its value.&lt;br /&gt;
&lt;br /&gt;
The state of variables executed up to this point will be displayed on the 'Variables' view tab.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
[[Category: Documentation]]&lt;br /&gt;
[[Category: Development]]&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21941</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21941"/>
		<updated>2015-09-01T01:32:18Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform the following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Editing&lt;br /&gt;
*  Syntax highlighting&lt;br /&gt;
*  Code completion assistance&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /C  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Train Eclipse ==&lt;br /&gt;
&lt;br /&gt;
Eclipse needs to discover all the C/C++, Python and Make symbols used to build GRASS. This requires that a complete GRASS system build be performed from the Eclipse workbench. This is accomplished using the following procedure:&lt;br /&gt;
&lt;br /&gt;
 Start Eclipse.&lt;br /&gt;
 Open the 'grass7_trunk' project.&lt;br /&gt;
 Click on the project to highlight it.&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'clean' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'default' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
 &lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Click on the icon (stacked rectangles) in the lower right-hand corner of the workbench to view progress.&lt;br /&gt;
&lt;br /&gt;
[[Category: Documentation]]&lt;br /&gt;
[[Category: Development]]&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21940</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21940"/>
		<updated>2015-09-01T01:27:17Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Setup Eclipse GRASS Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /C  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Train Eclipse ==&lt;br /&gt;
&lt;br /&gt;
Eclipse needs to discover all the C/C++, Python and Make symbols used to build GRASS. This requires that a complete GRASS system build be performed from the Eclipse workbench. This is accomplished using the following procedure:&lt;br /&gt;
&lt;br /&gt;
 Start Eclipse.&lt;br /&gt;
 Open the 'grass7_trunk' project.&lt;br /&gt;
 Click on the project to highlight it.&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'clean' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'default' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
 &lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Click on the icon (stacked rectangles) in the lower right-hand corner of the workbench to view progress.&lt;br /&gt;
&lt;br /&gt;
[[Category: Documentation]]&lt;br /&gt;
[[Category: Development]]&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Eclipse.bat&amp;diff=21939</id>
		<title>Eclipse.bat</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Eclipse.bat&amp;diff=21939"/>
		<updated>2015-09-01T01:25:50Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Updated variable names to be common with GRASS startup.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
@echo off&lt;br /&gt;
SETLOCAL&lt;br /&gt;
&lt;br /&gt;
::&lt;br /&gt;
:: Reference:&lt;br /&gt;
:: http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly&lt;br /&gt;
::&lt;br /&gt;
&lt;br /&gt;
echo.&lt;br /&gt;
echo. Eclipse 4.5 (Mars) 32-bit for GRASS Development&lt;br /&gt;
&lt;br /&gt;
:: top-level directory of the OSGeo4W installation&lt;br /&gt;
&lt;br /&gt;
set OSGEO4W_ROOT=C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
:: top-level directory of the GRASS installation&lt;br /&gt;
&lt;br /&gt;
set GISBASE=%OSGEO4W_ROOT%\src\grass7_trunk\dist.i686-pc-mingw32&lt;br /&gt;
&lt;br /&gt;
:: User Home&lt;br /&gt;
&lt;br /&gt;
if not defined HOME set HOME=%USERPROFILE%&lt;br /&gt;
&lt;br /&gt;
:: GRASS Database&lt;br /&gt;
&lt;br /&gt;
set GISDBASE=%HOME%\grassdata&lt;br /&gt;
&lt;br /&gt;
:: GRASS Location and Mapset for this session&lt;br /&gt;
&lt;br /&gt;
set LOCATION_NAME=nc_spm_08_grass7&lt;br /&gt;
set MAPSET=user1&lt;br /&gt;
::set MAPSET=PERMANENT&lt;br /&gt;
::set GUI=wxpython&lt;br /&gt;
set GUI=text&lt;br /&gt;
&lt;br /&gt;
:: Set Debug Message Level&lt;br /&gt;
:: 0 - silence&lt;br /&gt;
:: 1 - message is printed once or few times per module&lt;br /&gt;
:: 3 - each row (raster) or line (vector)&lt;br /&gt;
:: 5 - each cell (raster) or point (vector) &lt;br /&gt;
&lt;br /&gt;
set MESSAGE_LEVEL=0&lt;br /&gt;
&lt;br /&gt;
set MINGW_HOME=%OSGEO4W_ROOT%&lt;br /&gt;
set MSYS_HOME=%OSGEO4W_ROOT%\apps\msys&lt;br /&gt;
&lt;br /&gt;
set PROJ_LIB=%OSGEO4W_ROOT%\share\proj&lt;br /&gt;
set GDAL_DATA=%OSGEO4W_ROOT%\share\gdal&lt;br /&gt;
set GDAL_DRIVER_PATH=%OSGEO4W_ROOT%\bin\gdalplugins&lt;br /&gt;
set GEOTIFF_CSV=%OSGEO4W_ROOT%\share\epsg_csv&lt;br /&gt;
&lt;br /&gt;
:: Python Interpreter and Libraries&lt;br /&gt;
&lt;br /&gt;
set PYTHONHOME=%OSGEO4W_ROOT%\apps\Python27&lt;br /&gt;
&lt;br /&gt;
set PYTHONPATH=%OSGEO4W_ROOT%\apps\grass\grass-7.1.svn\etc\python&lt;br /&gt;
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%\apps\grass\grass-7.1.svn\gui\wxpython&lt;br /&gt;
&lt;br /&gt;
:: GRASS environment&lt;br /&gt;
&lt;br /&gt;
set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python.exe&lt;br /&gt;
set GRASS_PROJSHARE=%OSGEO4W_ROOT%\share\proj&lt;br /&gt;
&lt;br /&gt;
:: GISRC needs to contain the absolute path to a file containing&lt;br /&gt;
:: settings for GISDBASE, LOCATION_NAME and MAPSET.&lt;br /&gt;
&lt;br /&gt;
set GISRC=%HOME%\gisrc&lt;br /&gt;
&lt;br /&gt;
:: Create GISRC file&lt;br /&gt;
:: Examples:&lt;br /&gt;
:: ./demolocation/grassrc.tmpl&lt;br /&gt;
:: ./dist.i686-pc-mingw32/demolocation/.grassrc71&lt;br /&gt;
&lt;br /&gt;
echo GISDBASE: %GISDBASE%&amp;gt; %GISRC%&lt;br /&gt;
echo LOCATION_NAME: %LOCATION_NAME%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
echo MAPSET: %MAPSET%&amp;gt;&amp;gt; %GISRC% &lt;br /&gt;
echo GUI: %GUI%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
echo DEBUG: ^%MESSAGE_LEVEL%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
echo.&lt;br /&gt;
&lt;br /&gt;
::type %GISRC%&lt;br /&gt;
&lt;br /&gt;
set PATH=%PATH%;%OSGEO4W_ROOT%\bin&lt;br /&gt;
set PATH=%PATH%;%OSGEO4W_ROOT%\share\proj&lt;br /&gt;
set PATH=%PATH%;%OSGEO4W_ROOT%\apps\msys\bin&lt;br /&gt;
set PATH=%PATH%;%OSGEO4W_ROOT%\apps\Python27&lt;br /&gt;
set PATH=%PATH%;%OSGEO4W_ROOT%\apps\Python27\Scripts&lt;br /&gt;
set PATH=%PATH%;%GISBASE%\bin&lt;br /&gt;
set PATH=%PATH%;%GISBASE%\lib&lt;br /&gt;
set PATH=%PATH%;%GISBASE%\scripts&lt;br /&gt;
&lt;br /&gt;
echo.&lt;br /&gt;
echo. HOME            : %HOME%&lt;br /&gt;
echo. GISBASE         : %GISBASE%&lt;br /&gt;
echo. GISRC           : %GISRC%&lt;br /&gt;
echo. GISDBASE        : %GISDBASE%&lt;br /&gt;
echo. LOCATION_NAME   : %LOCATION_NAME%&lt;br /&gt;
echo. MAPSET          : %MAPSET%&lt;br /&gt;
echo. MESSAGE_LEVEL   : %MESSAGE_LEVEL%&lt;br /&gt;
echo. PYTHONPATH      : %PYTHONPATH%&lt;br /&gt;
echo. PYTHONHOME      : %PYTHONHOME%&lt;br /&gt;
::echo. PATH            : %PATH%&lt;br /&gt;
echo.&lt;br /&gt;
&lt;br /&gt;
C:\eclipse-4.5-mars-32bit\eclipse.exe&lt;br /&gt;
&lt;br /&gt;
ENDLOCAL&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Documentation]]&lt;br /&gt;
[[Category: Development]]&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21932</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21932"/>
		<updated>2015-08-30T18:27:53Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Added 'Train Eclipse' section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Train Eclipse ==&lt;br /&gt;
&lt;br /&gt;
Eclipse needs to discover all the C/C++, Python and Make symbols used to build GRASS. This requires that a complete GRASS system build be performed from the Eclipse workbench. This is accomplished using the following procedure:&lt;br /&gt;
&lt;br /&gt;
 Start Eclipse.&lt;br /&gt;
 Open the 'grass7_trunk' project.&lt;br /&gt;
 Click on the project to highlight it.&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'clean' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
&lt;br /&gt;
 Select 'Project' on the main task bar.&lt;br /&gt;
 Hover over 'Make Targets' and select 'Build...' from the pop-up list.&lt;br /&gt;
 Select the 'default' option that has an empty field under the 'Location' column.&lt;br /&gt;
 'Build'&lt;br /&gt;
 &lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Click on the icon (stacked rectangles) in the lower right-hand corner of the workbench to view progress.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21931</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21931"/>
		<updated>2015-08-30T17:52:59Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21930</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21930"/>
		<updated>2015-08-30T17:51:57Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Create C/C++ Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project located in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21929</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21929"/>
		<updated>2015-08-30T17:51:36Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Create C/C++ Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project, .cproject, and .settings files in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project located in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21928</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21928"/>
		<updated>2015-08-30T17:50:16Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project and .cproject files located in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating .pydevproject and updating .project located in the top-level directory of the GRASS source code installion.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21927</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21927"/>
		<updated>2015-08-30T17:46:51Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Create C/C++ Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
'''Note''': This results in creating the Eclipse .project and .cproject files located in the top-level directory of the GRASS source code installation.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating the .pydevproject file and updating the .project file located in the top-level directory where the GRASS source code was installed.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21926</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21926"/>
		<updated>2015-08-30T17:43:48Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The first time a run configuration for a Python script is performed, Eclipse discovers that it must add the Python (PyDev) 'nature' to the project. This results in creating the .pydevproject file and updating the .project file located in the top-level directory where the GRASS source code was installed.&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4G\src\grass7_trunk&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21925</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21925"/>
		<updated>2015-08-30T17:03:25Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Python Script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21924</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21924"/>
		<updated>2015-08-30T17:02:47Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS C Application */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Module. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Module.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21923</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21923"/>
		<updated>2015-08-30T16:59:44Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Setup Eclipse GRASS Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Modify the contents for your particular Windows and GRASS development environment.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21922</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21922"/>
		<updated>2015-08-30T16:53:51Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Setup Eclipse GRASS Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
We will start Eclipse from a Windows batch file. This will provide the opportunity to set environment variable required by both the GRASS runtime modules and the Eclipse workbench.&lt;br /&gt;
&lt;br /&gt;
1. Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
2. Install eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory where Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
   C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
Copy the contents from [[eclipse.bat]] to the eclipse.bat file you created.&lt;br /&gt;
&lt;br /&gt;
Save and exit eclipse.bat.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Update Eclipse Icon Properties.&lt;br /&gt;
&lt;br /&gt;
Update the '''Properties''' of the Eclipse startup icon that is on your Windows desktop.&lt;br /&gt;
&lt;br /&gt;
Right-click on the desktop icon and change the '''Target''' field to something like this:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows\System32\cmd.exe /D /K  C:\eclipse-4.5-mars-32bit\eclipse.bat&lt;br /&gt;
&lt;br /&gt;
Select 'OK' to save the change.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21921</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21921"/>
		<updated>2015-08-30T16:35:53Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Install Doxygen and Make Documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz] website.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX] website.&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory with Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
The contents of '''eclipse.bat''' are list here: [[eclipse.bat]]&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21920</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21920"/>
		<updated>2015-08-30T16:35:02Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Install TortoiseSVN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN] website.&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory with Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
The contents of '''eclipse.bat''' are list here: [[eclipse.bat]]&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21919</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21919"/>
		<updated>2015-08-30T16:34:29Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Checkout GRASS Source Code and Make Debug Build */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download] website.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory with Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
The contents of '''eclipse.bat''' are list here: [[eclipse.bat]]&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21918</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21918"/>
		<updated>2015-08-30T16:34:06Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Install OSGeo4W Runtime and Development Framework */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W] website.&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory with Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
The contents of '''eclipse.bat''' are list here: [[eclipse.bat]]&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21917</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21917"/>
		<updated>2015-08-30T16:32:55Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Add information about what Eclipse will use after a debug build.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
In addition to building and installing GRASS, which can be run using the created Windows desktop icon, the Eclipse workbench will be able to use these artifacts that are created during a GRASS build:&lt;br /&gt;
&lt;br /&gt;
* Top-level Makefile&lt;br /&gt;
* Module-level Makefiles&lt;br /&gt;
* Symbol tables added to runtime binaries&lt;br /&gt;
&lt;br /&gt;
Makefiles allow the Eclipse workbench to re-build the entire GRASS system or to re-build individual GRASS modules after source code editing.&lt;br /&gt;
&lt;br /&gt;
Symbol tables allow the Eclipse debugger (GDB) to set break-points in source code, single step through source code, and view the values of source code variables and structures.&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory with Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
The contents of '''eclipse.bat''' are list here: [[eclipse.bat]]&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Eclipse.bat&amp;diff=21916</id>
		<title>Eclipse.bat</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Eclipse.bat&amp;diff=21916"/>
		<updated>2015-08-30T15:49:25Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
@echo off&lt;br /&gt;
SETLOCAL&lt;br /&gt;
&lt;br /&gt;
::&lt;br /&gt;
:: Reference:&lt;br /&gt;
:: http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly&lt;br /&gt;
::&lt;br /&gt;
&lt;br /&gt;
echo.&lt;br /&gt;
echo. Eclipse 4.5 (Mars) 32-bit for GRASS Development&lt;br /&gt;
&lt;br /&gt;
:: User Home&lt;br /&gt;
&lt;br /&gt;
set &amp;quot;HOME=%HOMEDRIVE%\%HOMEPATH%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: GRASS Database&lt;br /&gt;
&lt;br /&gt;
set &amp;quot;GISDBASE=%HOME%\grassdata&amp;quot;&lt;br /&gt;
set &amp;quot;LOCATION_NAME=nc_spm_08_grass7&amp;quot;&lt;br /&gt;
set &amp;quot;MAPSET=user1&amp;quot;&lt;br /&gt;
::set &amp;quot;MAPSET=PERMANENT&amp;quot;&lt;br /&gt;
::set &amp;quot;GUI=wxpython&amp;quot;&lt;br /&gt;
set &amp;quot;GUI=text&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: Set Debug Message Level&lt;br /&gt;
::    0 - silence&lt;br /&gt;
::    1 - message is printed once or few times per module&lt;br /&gt;
::    3 - each row (raster) or line (vector)&lt;br /&gt;
::    5 - each cell (raster) or point (vector) &lt;br /&gt;
&lt;br /&gt;
set &amp;quot;MESSAGE_LEVEL=^1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
set &amp;quot;MINGW_HOME=C:\OSGeo4W&amp;quot;&lt;br /&gt;
set &amp;quot;MSYS_HOME=C:\OSGeo4W\apps\msys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: Python Interpreter and Libraries&lt;br /&gt;
&lt;br /&gt;
set &amp;quot;PYTHONHOME=C:\OSGeo4W\apps\Python27&amp;quot;&lt;br /&gt;
set &amp;quot;PYTHONPATH=C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python;C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: Build tools and utilities&lt;br /&gt;
&lt;br /&gt;
set &amp;quot;TOOLS=C:\OSGeo4W\bin;C:\OSGeo4W\apps\msys\bin;C:\OSGeo4W\apps\Python27&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: GISBASE needs to be set to the top-level directory&lt;br /&gt;
:: of the GRASS installation.&lt;br /&gt;
&lt;br /&gt;
set &amp;quot;GISBASE=C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-mingw32&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: GISRC needs to contain the absolute path to a file containing&lt;br /&gt;
:: settings for GISDBASE, LOCATION_NAME and MAPSET.&lt;br /&gt;
&lt;br /&gt;
set &amp;quot;GISRC=%HOME%\gisrc&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:: Create GISRC file&lt;br /&gt;
:: Examples:&lt;br /&gt;
:: ./demolocation/grassrc.tmpl&lt;br /&gt;
:: ./dist.i686-pc-mingw32/demolocation/.grassrc71&lt;br /&gt;
&lt;br /&gt;
echo GISDBASE: %GISDBASE%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
echo LOCATION_NAME: %LOCATION_NAME%&amp;gt; %GISRC%&lt;br /&gt;
echo MAPSET: %MAPSET%&amp;gt;&amp;gt; %GISRC% &lt;br /&gt;
echo GUI: %GUI%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
echo DEBUG: %MESSAGE_LEVEL%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
&lt;br /&gt;
::type %GISRC%&lt;br /&gt;
&lt;br /&gt;
set &amp;quot;PROJ=C:\OSGeo4W\share\proj&amp;quot;&lt;br /&gt;
set &amp;quot;GLIB=%GISBASE%\lib&amp;quot;&lt;br /&gt;
set &amp;quot;GBIN=%GISBASE%\bin&amp;quot;&lt;br /&gt;
set &amp;quot;GSCRIPTS=%GISBASE%\scripts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:: PATH needs to include %GISBASE%\bin and %GISBASE%\scripts and %GISBASE%\libs.&lt;br /&gt;
set PATH=%PATH%;%TOOLS%;%GBIN%;%GLIB%;%GSCRIPTS%;%PROJ%&lt;br /&gt;
&lt;br /&gt;
echo.&lt;br /&gt;
echo. HOME            : %HOME%&lt;br /&gt;
echo. GISBASE         : %GISBASE%&lt;br /&gt;
echo. GISRC           : %GISRC%&lt;br /&gt;
echo. GISDBASE        : %GISDBASE%&lt;br /&gt;
echo. LOCATION_NAME   : %LOCATION_NAME%&lt;br /&gt;
echo. MAPSET          : %MAPSET%&lt;br /&gt;
echo. PYTHONPATH      : %PYTHONPATH%&lt;br /&gt;
echo. PYTHONHOME      : %PYTHONHOME%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\eclipse-4.5-mars-32bit\eclipse.exe&lt;br /&gt;
&lt;br /&gt;
ENDLOCAL&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Eclipse.bat&amp;diff=21915</id>
		<title>Eclipse.bat</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Eclipse.bat&amp;diff=21915"/>
		<updated>2015-08-30T15:44:29Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=winbatch&amp;gt;&lt;br /&gt;
@echo off&lt;br /&gt;
SETLOCAL&lt;br /&gt;
&lt;br /&gt;
::&lt;br /&gt;
:: Reference:&lt;br /&gt;
:: http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly&lt;br /&gt;
::&lt;br /&gt;
&lt;br /&gt;
echo.&lt;br /&gt;
echo. Eclipse 4.5 (Mars) 32-bit for GRASS Development&lt;br /&gt;
&lt;br /&gt;
:: User Home&lt;br /&gt;
&lt;br /&gt;
set HOME=%HOMEDRIVE%\%HOMEPATH%&lt;br /&gt;
&lt;br /&gt;
:: GRASS Database&lt;br /&gt;
&lt;br /&gt;
set GISDBASE=%HOME%\grassdata&lt;br /&gt;
set LOCATION_NAME=nc_spm_08_grass7&lt;br /&gt;
set MAPSET=user1&lt;br /&gt;
::set MAPSET=PERMANENT&lt;br /&gt;
::set GUI=wxpython&lt;br /&gt;
set GUI=text&lt;br /&gt;
&lt;br /&gt;
:: Set Debug Message Level&lt;br /&gt;
::    0 - silence&lt;br /&gt;
::    1 - message is printed once or few times per module&lt;br /&gt;
::    3 - each row (raster) or line (vector)&lt;br /&gt;
::    5 - each cell (raster) or point (vector) &lt;br /&gt;
&lt;br /&gt;
set MESSAGE_LEVEL=^1&lt;br /&gt;
&lt;br /&gt;
set MINGW_HOME=C:\OSGeo4W&lt;br /&gt;
set MSYS_HOME=C:\OSGeo4W\apps\msys&lt;br /&gt;
&lt;br /&gt;
:: Python Interpreter and Libraries&lt;br /&gt;
&lt;br /&gt;
set PYTHONHOME=C:\OSGeo4W\apps\Python27&lt;br /&gt;
set PYTHONPATH=C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python;C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython&lt;br /&gt;
&lt;br /&gt;
:: Build tools and utilities&lt;br /&gt;
&lt;br /&gt;
set TOOLS=C:\OSGeo4W\bin;C:\OSGeo4W\apps\msys\bin;C:\OSGeo4W\apps\Python27&lt;br /&gt;
&lt;br /&gt;
:: GISBASE needs to be set to the top-level directory&lt;br /&gt;
:: of the GRASS installation.&lt;br /&gt;
&lt;br /&gt;
set GISBASE=C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-mingw32&lt;br /&gt;
&lt;br /&gt;
:: GISRC needs to contain the absolute path to a file containing&lt;br /&gt;
:: settings for GISDBASE, LOCATION_NAME and MAPSET.&lt;br /&gt;
&lt;br /&gt;
set GISRC=%HOME%\gisrc&lt;br /&gt;
&lt;br /&gt;
:: Create GISRC file&lt;br /&gt;
:: Examples:&lt;br /&gt;
:: ./demolocation/grassrc.tmpl&lt;br /&gt;
:: ./dist.i686-pc-mingw32/demolocation/.grassrc71&lt;br /&gt;
&lt;br /&gt;
echo GISDBASE: %GISDBASE%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
echo LOCATION_NAME: %LOCATION_NAME%&amp;gt; %GISRC%&lt;br /&gt;
echo MAPSET: %MAPSET%&amp;gt;&amp;gt; %GISRC% &lt;br /&gt;
echo GUI: %GUI%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
echo DEBUG: %MESSAGE_LEVEL%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
&lt;br /&gt;
::type %GISRC%&lt;br /&gt;
&lt;br /&gt;
set PROJ=C:\OSGeo4W\share\proj&lt;br /&gt;
set GLIB=%GISBASE%\lib&lt;br /&gt;
set GBIN=%GISBASE%\bin&lt;br /&gt;
set GSCRIPTS=%GISBASE%\scripts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:: PATH needs to include %GISBASE%\bin and %GISBASE%\scripts and %GISBASE%\libs.&lt;br /&gt;
&lt;br /&gt;
set PATH=%PATH%;%TOOLS%;%GBIN%;%GLIB%;%GSCRIPTS%;%PROJ%&lt;br /&gt;
&lt;br /&gt;
echo.&lt;br /&gt;
echo. HOME            : %HOME%&lt;br /&gt;
echo. GISBASE         : %GISBASE%&lt;br /&gt;
echo. GISRC           : %GISRC%&lt;br /&gt;
echo. GISDBASE        : %GISDBASE%&lt;br /&gt;
echo. LOCATION_NAME   : %LOCATION_NAME%&lt;br /&gt;
echo. MAPSET          : %MAPSET%&lt;br /&gt;
echo. PYTHONPATH      : %PYTHONPATH%&lt;br /&gt;
echo. PYTHONHOME      : %PYTHONHOME%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C:\eclipse-4.5-mars-32bit\eclipse.exe&lt;br /&gt;
&lt;br /&gt;
ENDLOCAL&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Eclipse.bat&amp;diff=21914</id>
		<title>Eclipse.bat</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Eclipse.bat&amp;diff=21914"/>
		<updated>2015-08-30T15:32:10Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Created page with &amp;quot;  @echo off  SETLOCAL    ::  :: Reference:  :: &amp;lt;nowiki&amp;gt;http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly&amp;lt;/nowiki&amp;gt;  ::    echo.  echo. Eclipse 4...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
 @echo off&lt;br /&gt;
 SETLOCAL&lt;br /&gt;
 &lt;br /&gt;
 ::&lt;br /&gt;
 :: Reference:&lt;br /&gt;
 :: &amp;lt;nowiki&amp;gt;http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 ::&lt;br /&gt;
 &lt;br /&gt;
 echo.&lt;br /&gt;
 echo. Eclipse 4.5 (Mars) 32-bit for GRASS Development&lt;br /&gt;
 &lt;br /&gt;
 :: User Home&lt;br /&gt;
 &lt;br /&gt;
 set &amp;quot;HOME=%HOMEDRIVE%\%HOMEPATH%&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 :: GRASS Database&lt;br /&gt;
 &lt;br /&gt;
 set &amp;quot;GISDBASE=%HOME%\grassdata&amp;quot;&lt;br /&gt;
 set &amp;quot;LOCATION_NAME=nc_spm_08_grass7&amp;quot;&lt;br /&gt;
 set &amp;quot;MAPSET=user1&amp;quot;&lt;br /&gt;
 ::set &amp;quot;MAPSET=PERMANENT&amp;quot;&lt;br /&gt;
 ::set &amp;quot;GUI=wxpython&amp;quot;&lt;br /&gt;
 set &amp;quot;GUI=text&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 :: Set Debug Message Level&lt;br /&gt;
 ::    0 - silence&lt;br /&gt;
 ::    1 - message is printed once or few times per module&lt;br /&gt;
 ::    3 - each row (raster) or line (vector)&lt;br /&gt;
 ::    5 - each cell (raster) or point (vector) &lt;br /&gt;
&lt;br /&gt;
 set &amp;quot;MESSAGE_LEVEL=^1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 set &amp;quot;MINGW_HOME=C:\OSGeo4W&amp;quot;&lt;br /&gt;
 set &amp;quot;MSYS_HOME=C:\OSGeo4W\apps\msys&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 :: Python Interpreter and Libraries&lt;br /&gt;
&lt;br /&gt;
 set &amp;quot;PYTHONHOME=C:\OSGeo4W\apps\Python27&amp;quot;&lt;br /&gt;
 set &amp;quot;PYTHONPATH=C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python;C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 :: Build tools and utilities&lt;br /&gt;
&lt;br /&gt;
 set &amp;quot;TOOLS=C:\OSGeo4W\bin;C:\OSGeo4W\apps\msys\bin;C:\OSGeo4W\apps\Python27&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 :: GISBASE needs to be set to the top-level directory&lt;br /&gt;
 :: of the GRASS installation.&lt;br /&gt;
&lt;br /&gt;
 set &amp;quot;GISBASE=C:\OSGeo4W\src\grass7_trunk\dist.i686-pc-mingw32&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 :: GISRC needs to contain the absolute path to a file containing&lt;br /&gt;
 :: settings for GISDBASE, LOCATION_NAME and MAPSET.&lt;br /&gt;
&lt;br /&gt;
 set &amp;quot;GISRC=%HOME%\gisrc&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 :: Create GISRC file&lt;br /&gt;
 :: Examples:&lt;br /&gt;
 :: ./demolocation/grassrc.tmpl&lt;br /&gt;
 :: ./dist.i686-pc-mingw32/demolocation/.grassrc71&lt;br /&gt;
&lt;br /&gt;
 echo GISDBASE: %GISDBASE%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
 echo LOCATION_NAME: %LOCATION_NAME%&amp;gt; %GISRC%&lt;br /&gt;
 echo MAPSET: %MAPSET%&amp;gt;&amp;gt; %GISRC% &lt;br /&gt;
 echo GUI: %GUI%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
 echo DEBUG: %MESSAGE_LEVEL%&amp;gt;&amp;gt; %GISRC%&lt;br /&gt;
&lt;br /&gt;
 ::type %GISRC%&lt;br /&gt;
&lt;br /&gt;
 set &amp;quot;PROJ=C:\OSGeo4W\share\proj&amp;quot;&lt;br /&gt;
 set &amp;quot;GLIB=%GISBASE%\lib&amp;quot;&lt;br /&gt;
 set &amp;quot;GBIN=%GISBASE%\bin&amp;quot;&lt;br /&gt;
 set &amp;quot;GSCRIPTS=%GISBASE%\scripts&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 :: PATH needs to include %GISBASE%\bin and %GISBASE%\scripts and %GISBASE%\libs.&lt;br /&gt;
 set PATH=%PATH%;%TOOLS%;%GBIN%;%GLIB%;%GSCRIPTS%;%PROJ%&lt;br /&gt;
 &lt;br /&gt;
 echo.&lt;br /&gt;
 echo. HOME            : %HOME%&lt;br /&gt;
 echo. GISBASE         : %GISBASE%&lt;br /&gt;
 echo. GISRC           : %GISRC%&lt;br /&gt;
 echo. GISDBASE        : %GISDBASE%&lt;br /&gt;
 echo. LOCATION_NAME   : %LOCATION_NAME%&lt;br /&gt;
 echo. MAPSET          : %MAPSET%&lt;br /&gt;
 echo. PYTHONPATH      : %PYTHONPATH%&lt;br /&gt;
 echo. PYTHONHOME      : %PYTHONHOME%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit\eclipse.exe&lt;br /&gt;
 &lt;br /&gt;
 ENDLOCAL&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21913</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21913"/>
		<updated>2015-08-30T15:28:35Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Added content.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
Using a text editor, create a Windows batch file named '''eclipse.bat''' in the top-level directory with Eclipse is installed.&lt;br /&gt;
&lt;br /&gt;
The top-level Eclipse directory used in this tutorial is:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
The contents of '''eclipse.bat''' are list here: [[eclipse.bat]]&lt;br /&gt;
&lt;br /&gt;
Reference: [http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly Working with GRASS without starting it explicitly]&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21912</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21912"/>
		<updated>2015-08-29T19:56:36Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Install Eclipse Mars */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download] website.&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download] website.&lt;br /&gt;
&lt;br /&gt;
This tutorial installed Eclipse in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\eclipse-4.5-mars-32bit&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21911</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21911"/>
		<updated>2015-08-29T19:36:08Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Setup Eclipse GRASS Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
Exit Eclipse.&lt;br /&gt;
&lt;br /&gt;
 File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21910</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21910"/>
		<updated>2015-08-29T19:30:51Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Added content.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
In your Windows Home directory, create a directory named 'grassdata'.&lt;br /&gt;
&lt;br /&gt;
Example: &lt;br /&gt;
&lt;br /&gt;
 C:\Users\Ruth\grassdata&lt;br /&gt;
&lt;br /&gt;
Download one or more GRASS 7 datasets from the [https://grass.osgeo.org/download/sample-data/ GRASS GIS sample data download] website to the 'grassdata' directory and decompress.&lt;br /&gt;
&lt;br /&gt;
This tutorial uses the 'complete NC location' dataset.&lt;br /&gt;
&lt;br /&gt;
After the 'complete NC location' has been decompressed in the 'grassdata' directory, you should see this sub-directory:&lt;br /&gt;
&lt;br /&gt;
 nc_spm_08_grass7&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21909</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21909"/>
		<updated>2015-08-29T18:02:52Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Setup Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Eclipse GRASS Environment ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21908</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21908"/>
		<updated>2015-08-29T18:00:21Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Install Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install GRASS Database ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Environment ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21907</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21907"/>
		<updated>2015-08-29T17:58:54Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Added 'Install Data' and 'Setup Environment' sections.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Data ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Setup Environment ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21906</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21906"/>
		<updated>2015-08-29T02:04:53Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Configure Eclipse Settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
Enable  C/C++ Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Python Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable Debug Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Enable SVN Perspective&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Insert Spaces for Tabs&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Uncheck Build Automatically&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
Change Color of Python Comments&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21905</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21905"/>
		<updated>2015-08-29T02:03:15Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS C Application */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'C/C++' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'C/C++' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21904</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21904"/>
		<updated>2015-08-29T02:02:32Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
 Click the 'PyDev' button on the 'Perspective' tool bar.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21903</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21903"/>
		<updated>2015-08-29T02:00:24Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Python Script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Switch to 'PyDev' Perspective.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21902</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21902"/>
		<updated>2015-08-29T01:55:56Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS C Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Application ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21901</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21901"/>
		<updated>2015-08-29T01:55:31Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Python Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Script ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21900</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21900"/>
		<updated>2015-08-29T01:54:59Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Python Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured script under 'Python Run'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21899</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21899"/>
		<updated>2015-08-29T01:53:53Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS C Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Change the run focus.&lt;br /&gt;
&lt;br /&gt;
  'Run'&lt;br /&gt;
  Click on 'Run configurations...'.&lt;br /&gt;
  Select a configured application under 'C/C++ Application'.&lt;br /&gt;
  'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21898</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21898"/>
		<updated>2015-08-29T01:42:40Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Python Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Script.&lt;br /&gt;
 &lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj.py' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Scroll down and enter the 'scripts' -&amp;gt; 'm.proj' folder and select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Script.&lt;br /&gt;
&lt;br /&gt;
 'Run' -&amp;gt; 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Local C/C++ Application' from the pop-up list.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21897</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21897"/>
		<updated>2015-08-29T01:27:52Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS C Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
 Expand 'grass7_trunk'.&lt;br /&gt;
&lt;br /&gt;
 Scroll down and expand the 'scripts' folder.&lt;br /&gt;
 Scroll down and expand the 'm.proj' folder.&lt;br /&gt;
 Right-click on 'm.proj.py'.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Navigate to the 'scripts' -&amp;gt; 'm.proj' folder.&lt;br /&gt;
 Select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Local C/C++ Application' from the pop-up list.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21896</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21896"/>
		<updated>2015-08-29T01:26:52Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS C Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
 Expand 'grass7_trunk'.&lt;br /&gt;
&lt;br /&gt;
 Scroll down and expand the 'scripts' folder.&lt;br /&gt;
 Scroll down and expand the 'm.proj' folder.&lt;br /&gt;
 Right-click on 'm.proj.py'.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Navigate to the 'scripts' -&amp;gt; 'm.proj' folder.&lt;br /&gt;
 Select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Application. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run Application.&lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Local C/C++ Application' from the pop-up list.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21895</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21895"/>
		<updated>2015-08-29T01:24:10Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: Added 'Run a GRASS C Module'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
 Expand 'grass7_trunk'.&lt;br /&gt;
&lt;br /&gt;
 Scroll down and expand the 'scripts' folder.&lt;br /&gt;
 Scroll down and expand the 'm.proj' folder.&lt;br /&gt;
 Right-click on 'm.proj.py'.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Navigate to the 'scripts' -&amp;gt; 'm.proj' folder.&lt;br /&gt;
 Select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
Open Project.&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
Configure Run. &lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'C/C++ Application' and select 'New'.&lt;br /&gt;
 Enter 'r.univar' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'C/C++ Applications' 'Search Project...' button.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 map=aspect@PERMANENT&lt;br /&gt;
 'Apply'&lt;br /&gt;
&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
Run again.&lt;br /&gt;
&lt;br /&gt;
 Click on 'Run' on the main task bar.&lt;br /&gt;
 Hover over 'Run As' and select 'Local C/C++ Application' from the pop-up list.&lt;br /&gt;
 Scroll down and select 'r.univar.exe'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21894</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21894"/>
		<updated>2015-08-28T03:34:56Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Python Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
&lt;br /&gt;
 Expand 'grass7_trunk'.&lt;br /&gt;
&lt;br /&gt;
 Scroll down and expand the 'scripts' folder.&lt;br /&gt;
 Scroll down and expand the 'm.proj' folder.&lt;br /&gt;
 Right-click on 'm.proj.py'.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Navigate to the 'scripts' -&amp;gt; 'm.proj' folder.&lt;br /&gt;
 Select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21893</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21893"/>
		<updated>2015-08-28T03:28:36Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a GRASS Python Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
 Expand 'grass7_trunk'.&lt;br /&gt;
 Scroll down and expand the 'scripts' folder.&lt;br /&gt;
 Scroll down and expand the 'm.proj' folder.&lt;br /&gt;
 Right-click on 'm.proj.py'.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Navigate to the 'scripts' -&amp;gt; 'm.proj' folder.&lt;br /&gt;
 Select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter the following string in the 'Program arguments' window:&lt;br /&gt;
 coordinates=-111d30,45d15.551666667N proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot; --v&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21892</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21892"/>
		<updated>2015-08-28T02:56:05Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Create Top-Level Make Targets ==&lt;br /&gt;
&lt;br /&gt;
  Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
  Select &amp;quot;Make Targets&amp;quot;&lt;br /&gt;
  Select &amp;quot;Create...&amp;quot;&lt;br /&gt;
  Enter 'default' in the 'Target name' field.&lt;br /&gt;
  'OK'&lt;br /&gt;
&lt;br /&gt;
Do the same for each of the following targets:&lt;br /&gt;
&lt;br /&gt;
 install&lt;br /&gt;
 clean&lt;br /&gt;
 distclean&lt;br /&gt;
 libs&lt;br /&gt;
 libsclean&lt;br /&gt;
 cleandistdirs&lt;br /&gt;
 cleanscriptstrings&lt;br /&gt;
 manifests&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS Python Module ==&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
 Expand 'grass7_trunk'.&lt;br /&gt;
 Scroll down and expand the 'scripts' folder.&lt;br /&gt;
 Scroll down and expand the 'm.proj' folder.&lt;br /&gt;
 Right-click on 'm.proj.py'.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Navigate to the 'scripts' -&amp;gt; 'm.proj' folder.&lt;br /&gt;
 Select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter 'input=test3.txt proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot;' in the 'Program arguments' window.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;br /&gt;
&lt;br /&gt;
== Run a GRASS C Module ==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21891</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21891"/>
		<updated>2015-08-28T02:47:26Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Run a Python Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Run a Python Module ==&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
 Expand 'grass7_trunk'.&lt;br /&gt;
 Scroll down and expand the 'scripts' folder.&lt;br /&gt;
 Scroll down and expand the 'm.proj' folder.&lt;br /&gt;
 Right-click on 'm.proj.py'.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Navigate to the 'scripts' -&amp;gt; 'm.proj' folder.&lt;br /&gt;
 Select 'm.proj.py'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter 'input=test3.txt proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot;' in the 'Program arguments' window.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21890</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21890"/>
		<updated>2015-08-28T02:47:03Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Add Python 'nature' to the Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Run a Python Module ==&lt;br /&gt;
&lt;br /&gt;
 Right-click on 'grass7_trunk' in the 'Windows Explorer' view.&lt;br /&gt;
 Click on 'Open Project'.&lt;br /&gt;
 The Indexer and SVN cache updates will take a moment to complete.&lt;br /&gt;
 Expand 'grass7_trunk'.&lt;br /&gt;
 Scroll down and expand the 'scripts' folder.&lt;br /&gt;
 Scroll down and expand the 'm.proj' folder.&lt;br /&gt;
 Right-click on 'm.proj.py'.&lt;br /&gt;
 Hover over 'Run As' and select 'Run configurations...' from the pop-up list.&lt;br /&gt;
 Right-click on 'Python Run' and select 'New'.&lt;br /&gt;
 Enter 'm.proj' in the 'Name' field.&lt;br /&gt;
 Click the 'Project' 'Browse...' button.&lt;br /&gt;
 Select 'grass7_trunk'.&lt;br /&gt;
'OK'&lt;br /&gt;
 Click the 'Main Module' 'Browse...' button.&lt;br /&gt;
 Navigate to the 'scripts' -&amp;gt; 'm.proj' folder.&lt;br /&gt;
 Select 'm.proj.py'.&lt;br /&gt;
'OK'&lt;br /&gt;
 Select the 'Arguments' tab.&lt;br /&gt;
 Enter 'input=test3.txt proj_out=&amp;quot;+proj=utm +zone=10 +datum=NAD27&amp;quot; proj_in=&amp;quot;+proj=latlong +datum=NAD83&amp;quot;' in the 'Program arguments' window.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'Run'&lt;br /&gt;
&lt;br /&gt;
Output from the run will be displayed in the 'Console' window.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21889</id>
		<title>Using Eclipse 4.5 (Mars) on Windows 7</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=Using_Eclipse_4.5_(Mars)_on_Windows_7&amp;diff=21889"/>
		<updated>2015-08-28T02:13:16Z</updated>

		<summary type="html">&lt;p&gt;⚠️Jrobparsons: /* Create C/C++ Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
After completing these installation instructions, you will have an IDE for GRASS that will allow you to perform that following development tasks:&lt;br /&gt;
&lt;br /&gt;
Workbench&lt;br /&gt;
*  Switch between C/C++, Python, Debug and SVN perspectives&lt;br /&gt;
Browsing&lt;br /&gt;
*  Navigate the GRASS source code trunk&lt;br /&gt;
*  Edit source code&lt;br /&gt;
*  Select a symbol and go to to its declaration&lt;br /&gt;
Building&lt;br /&gt;
*  Build the entire GRASS system&lt;br /&gt;
*  Build an individual GRASS module&lt;br /&gt;
Running&lt;br /&gt;
*  Run GRASS modules and Python scripts&lt;br /&gt;
Debugging&lt;br /&gt;
*  Set breakpoints&lt;br /&gt;
*  Single step through source code&lt;br /&gt;
*  View variables and memory values&lt;br /&gt;
Versioning&lt;br /&gt;
*  Commit source code to the SVN repository&lt;br /&gt;
*  Update source code from the SVN repository&lt;br /&gt;
&lt;br /&gt;
== Install TortoiseSVN ==&lt;br /&gt;
&lt;br /&gt;
Download and install from the [http://tortoisesvn.net/ TortoiseSVN Website].&lt;br /&gt;
&lt;br /&gt;
During installation, include the &amp;quot;entire command line tools&amp;quot; so that &amp;quot;svn up&amp;quot; can be run from a Windows Command Prompt or MSYS shell.&lt;br /&gt;
&lt;br /&gt;
The following path should have been added to PATH:&lt;br /&gt;
&lt;br /&gt;
 C:\Program Files\TortoiseSVN\bin&lt;br /&gt;
&lt;br /&gt;
From Command Prompt, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;where svn&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a Command Prompt, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;gt;cd C:\OSGeo4W\src\grass7_trunk&lt;br /&gt;
 &amp;gt;svn up&lt;br /&gt;
&lt;br /&gt;
To run &amp;quot;svn up&amp;quot; from a MSYS shell, enter the following commands:&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ svn up&lt;br /&gt;
&lt;br /&gt;
== Install OSGeo4W Runtime and Development Framework ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version from the [http://trac.osgeo.org/osgeo4w/ OSGeo4W Website].&lt;br /&gt;
&lt;br /&gt;
It will be installed in this directory:&lt;br /&gt;
&lt;br /&gt;
 C:\OSGeo4W&lt;br /&gt;
&lt;br /&gt;
== Checkout GRASS Source Code and Make Debug Build ==&lt;br /&gt;
&lt;br /&gt;
Checkout the GRASS '''development branch''' using the SVN command from the [https://trac.osgeo.org/grass/wiki/DownloadSource GRASS Download Website].&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/TortoiseSVN/bin&lt;br /&gt;
 $ which svn&lt;br /&gt;
 $ svn checkout &amp;lt;nowiki&amp;gt;https://svn.osgeo.org/grass/grass/trunk&amp;lt;/nowiki&amp;gt; grass7_trunk&lt;br /&gt;
&lt;br /&gt;
Run a 'debug' build.&lt;br /&gt;
&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk&lt;br /&gt;
 $ export CFLAGS='-g -Wall'&lt;br /&gt;
 $ ./mswindows/osgeo4w/package.sh&lt;br /&gt;
&lt;br /&gt;
This will take some time to complete.&lt;br /&gt;
&lt;br /&gt;
Build activity is logged to this file:&lt;br /&gt;
 C:\OSGeo4W\src\grass7_trunk\mswindows\osgeo4w\package.log&lt;br /&gt;
&lt;br /&gt;
== Install Doxygen and Make Documentation ==&lt;br /&gt;
&lt;br /&gt;
Install latest Doxygen binary distribution for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://www.stack.nl/~dimitri/doxygen/download.html | Doxygen Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest Graphviz binary distribution for windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://graphviz.org/Download_windows.php | Graphviz Website].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install latest basic TeX/LaTeX system for Windows.&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install from the [http://miktex.org/download | MikTeX Website].&lt;br /&gt;
&lt;br /&gt;
After the TeX/LaTeX system is installed, and during the first time &amp;quot;make pdfdocs&amp;quot; is run, expect to be prompted for additional packages that must be installed to complete the TeX/LaTex system.&lt;br /&gt;
&lt;br /&gt;
Open a MSYS shell.&lt;br /&gt;
&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files&amp;quot;/doxygen/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/graphviz-2.38/release/bin&lt;br /&gt;
 $ export PATH=$PATH:/c/&amp;quot;Program Files (x86)&amp;quot;/&amp;quot;MiKTeX 2.9&amp;quot;/miktex/bin&lt;br /&gt;
 $ echo $PATH&lt;br /&gt;
 $ cd /c/OSGeo4W/src/grass7_trunk/&lt;br /&gt;
 $ make htmldocs&lt;br /&gt;
 $ make pdfdocs&lt;br /&gt;
&lt;br /&gt;
Open the HTML formatted documentation using a web browser:&lt;br /&gt;
 file:///C:/OSGeo4W/src/grass7_trunk/html/index.html&lt;br /&gt;
&lt;br /&gt;
== Install Eclipse Mars ==&lt;br /&gt;
&lt;br /&gt;
Download and install the 32bit version of Java SE Runtime Environment (JRE) from the [http://www.oracle.com/technetwork/indexes/downloads/index.html#java Java Download Website]&amp;lt;br&amp;gt;&lt;br /&gt;
Download and install the 32bit version of Eclipse IDE for C/C++ Developers from the [http://www.eclipse.org/downloads/ Eclipse Mars Download Website]&lt;br /&gt;
&lt;br /&gt;
== Install PyDev Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Select &amp;quot;Add..&amp;quot;.&lt;br /&gt;
 Enter &amp;quot;PyDev&amp;quot; in the &amp;quot;Name: field.&lt;br /&gt;
 Enter &amp;quot;&amp;lt;nowiki&amp;gt;http://pydev.org/updates/&amp;lt;/nowiki&amp;gt;&amp;quot; in the Location&amp;quot; field.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Check the &amp;quot;PyDev&amp;quot; option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install SVN Plug-In ==&lt;br /&gt;
&lt;br /&gt;
Start Eclipse.&lt;br /&gt;
&lt;br /&gt;
Install SVN plug-in.&lt;br /&gt;
&lt;br /&gt;
 Help -&amp;gt; Install New Software...&lt;br /&gt;
 Set &amp;quot;Work with:&amp;quot; to &amp;quot;Mars - &amp;lt;nowiki&amp;gt;http://download.eclipse.org/releases/mars&amp;lt;/nowiki&amp;gt;&amp;quot;.&lt;br /&gt;
 Expand &amp;quot;Collaboration&amp;quot;.&lt;br /&gt;
 Scroll down and put a check mark in the &amp;quot;Subversive SVN Team Provider option.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
 When &amp;quot;Subversive Connector Discovery&amp;quot; prompts you for a selection, check &amp;quot;SVN Kit 1.8.10&amp;quot;.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
 Accept the license agreement.&lt;br /&gt;
 &amp;quot;Finish&amp;quot;&lt;br /&gt;
 &amp;quot;OK&amp;quot; to the &amp;quot;security Warning&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Restart Eclipse.&lt;br /&gt;
&lt;br /&gt;
Make SVN visible.&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Action Set Availability&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Available action sets&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Window → Perspective → Customize Perspective...&lt;br /&gt;
 Select the &amp;quot;Shortcuts&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Shortcut Categories&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Menu Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Menu Structure&amp;quot;.&lt;br /&gt;
 Select the &amp;quot;Tool Bar Visibility&amp;quot; tab.&lt;br /&gt;
 Check the &amp;quot;SVN&amp;quot; option under &amp;quot;Tool Bar Structure&amp;quot;.&lt;br /&gt;
 &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You should now see &amp;quot;SVN&amp;quot; on the main tool bar and the SVN tool bar available under the main toolbar.&lt;br /&gt;
&lt;br /&gt;
== Configure Eclipse Settings ==&lt;br /&gt;
&lt;br /&gt;
=== Enable  C/C++ Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'C/C++'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Python Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'PyDev'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable Debug Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'Debug'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Enable SVN Perspective ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Perspective -&amp;gt; Open Perspective&lt;br /&gt;
 Select 'Other...'&lt;br /&gt;
 Select 'SVN Repository Exploring'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Insert Spaces for Tabs ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; General -&amp;gt; Editors -&amp;gt; Text Editors&lt;br /&gt;
 Set 'Displayed tab width' to 4.&lt;br /&gt;
 Check 'Insert spaces for tabs'.&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Code Style -&amp;gt; Formatter&lt;br /&gt;
 Select the 'New' button to create a new profile.&lt;br /&gt;
 Enter 'GRASS' in the 'Profile name' field.&lt;br /&gt;
 Select 'OK'.&lt;br /&gt;
 Select the 'Indentation' tab.&lt;br /&gt;
 Under 'General settings', set Tab policy to 'Spaces only'.&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
=== Uncheck Build Automatically ===&lt;br /&gt;
&lt;br /&gt;
 'Project' -&amp;gt; 'Build Automatically' to uncheck this option.&lt;br /&gt;
&lt;br /&gt;
=== Change Color of Python Comments ===&lt;br /&gt;
&lt;br /&gt;
 Window -&amp;gt; Preferences&lt;br /&gt;
 Expand 'PyDev'.&lt;br /&gt;
 Select 'Editor'.&lt;br /&gt;
 In the 'Appearance color options' window:&lt;br /&gt;
   Scroll down to 'Comments' and select.&lt;br /&gt;
   Click on the 'Color' button to bring up options.&lt;br /&gt;
   Select the green color that is located in the 3rd column from the left and 4th row from the top.&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
&lt;br /&gt;
== Create C/C++ Project ==&lt;br /&gt;
&lt;br /&gt;
Create a C++, Makefile, Empty project&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;New&amp;quot; -&amp;gt; &amp;quot;Project...&amp;quot;&lt;br /&gt;
 Expand &amp;quot;C/C++&amp;quot; option.&lt;br /&gt;
 Select &amp;quot;C++ Project&amp;quot;&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Uncheck 'Use default location'.&lt;br /&gt;
 Browse to 'C:\OSGeo4W\src\grass7_trunk'.&lt;br /&gt;
 'OK'&lt;br /&gt;
 Enter 'grass7_trunk' in the &amp;quot;Project name&amp;quot; field.&lt;br /&gt;
 Expand 'Makefile project' under 'Project type'.&lt;br /&gt;
 Select 'Empty Project' under 'Project type'.&lt;br /&gt;
 Select 'MinGW GCC' under 'Toolchains'.&lt;br /&gt;
 &amp;quot;Next&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Click on 'Advanced settings...'&lt;br /&gt;
 Click on 'C/C++ Build'.&lt;br /&gt;
 Click on the 'Behavior' tab.&lt;br /&gt;
 Leave 'Build (Incremental Build)' Checked.&lt;br /&gt;
 Enter 'default' in the text box next to 'Build (Incremental Build)' replacing any text that is already there (e.g., 'all').&lt;br /&gt;
 'Apply'&lt;br /&gt;
 'OK'&lt;br /&gt;
 'Finish'&lt;br /&gt;
&lt;br /&gt;
The 'grass7_trunk' project will appear in the 'Project Explorer' view.&lt;br /&gt;
&lt;br /&gt;
The 'C/C++ Indexer' operation will take some time. Its progress can be monitored in the lower right-hand corner of the screen. Click on the rectangles in the corner to display progress details.&lt;br /&gt;
&lt;br /&gt;
== Add Python 'nature' to the Project ==&lt;br /&gt;
&lt;br /&gt;
TODO: describe how to do this.&lt;/div&gt;</summary>
		<author><name>⚠️Jrobparsons</name></author>
	</entry>
</feed>