Skip to content

Developer Information

Wolfgang Imig edited this page May 22, 2016 · 14 revisions

In order to compile and debug ITOL, go through the following steps.

Required Development Tools

Download ITOL Projects from GitHub.

  • Start git-bash.exe
  • Choose destination directory, e.g. c:\git
  • Clone ITOL by executing git clone https://github.com/wolfgangimig/itol.git
  • A directory c:\git\itol should have been created that contains the Java projects

Git clone ITOL

Import into Eclipse

  • Start Eclipse
  • Select a new workspace, e.g. c:\workspace_itol
  • Click "Workbench" in the upper right corner
  • Click "File - Import..."
  • Select "Gradle (STS) Project"

Gradle import1

  • "Next >"
  • Enter "C:\git\itol\itol-redmine" as "Root folder"
  • Click "Build Model"
  • Check "itol-redmine"

Gradle import2

  • "Finish"

Gradle import3

Create Debug Configurations

Run or Debug ITOL

  • Select "Run - Run Configurations..."
  • Select "Java Application"
  • Click the "new" button
  • Enter on tab "Main": "Name" = itol-redmine, "Project" = itol-redmine, "Main class" = com.wilutions.redmineaddin.IssueApplication
  • Click "Apply"

run-config1

Register ITOL

  • Click the "copy" button or select "Duplicate" in context menu of "itol-redmine" entry in the left tree view.
  • Enter on tab "Main": "Name" = itol-redmine register
  • Enter on tab "Arguments": "Program arguments" = /RegisterServer user
  • Click "Apply"

run-config2

Un-register ITOL

  • Click the "copy" button or select "Duplicate" in context menu of "itol-redmine" entry in the left tree view.
  • Enter on tab "Main": "Name" = itol-redmine unregister
  • Enter on tab "Arguments": "Program arguments" = /UnregisterServer user
  • Click "Apply"

Organize Debug Favorites

  • Click drop-down button next to toolbar icon "Debug As...", select "Organize Favorites..."

Organize debug

  • Add all debug configurations

Organize debug

Debug ITOL

  • Register ITOL by executing configuration "itol-redmine register"

Organize debug

  • Close Outlook
  • Execute configuration "itol-redmine"
  • Start Outlook
  • You should see ITOL's icon in Outlook's toolbar

Organize debug

Create MSI package

  • Execute ANT script deploy/deploy.xml in project itol-redmine.

More information about this technique can be found here: