Jump to content

Projects/Plasma/Eclipse Integration: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
Line 1: Line 1:
Run -> External Tools -> External Tools Configurations
Run -> External Tools -> External Tools Configurations
This tutorial shows how you can run your Plasmoids from within Eclipse.


[[File:Plasma_eclipse_external_tool_configuration.png]]
Mark "Program" and press the "New" button.
Mark "Program" and press the "New" button.


Line 9: Line 12:
Under "Working Directory" enter Eclipse variable ${resource_loc}
Under "Working Directory" enter Eclipse variable ${resource_loc}


[[File:Plasma_eclipse_external_tool_configuration.png]]
[[File:Plasma_eclipse_integration_tree_view.png]]
 
In order to run the Plasmoid from within Eclipse, mark the directory with the Plasmoid in the project tree list. Then choose: Run ->  External Tools -> plasmoidviewer.
In order to run the Plasmoid from within Eclipse, mark the directory with the Plasmoid in the project tree list. Then choose: Run ->  External Tools -> plasmoidviewer.


Voilá your Python Plasmoid should run from within the Eclipse environment
Voilá your Python Plasmoid should run from within the Eclipse environment

Revision as of 16:46, 27 January 2010

Run -> External Tools -> External Tools Configurations This tutorial shows how you can run your Plasmoids from within Eclipse.


Mark "Program" and press the "New" button.

Name the tool "plasmoidviewer" and insert absolute path to the binary underneath "Location":

/usr/bin/plasmoidviewer

Under "Working Directory" enter Eclipse variable ${resource_loc}

In order to run the Plasmoid from within Eclipse, mark the directory with the Plasmoid in the project tree list. Then choose: Run -> External Tools -> plasmoidviewer.

Voilá your Python Plasmoid should run from within the Eclipse environment