Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hcana
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jlab
hallc
analyzer_software
hcana
Commits
8caad235
Commit
8caad235
authored
11 years ago
by
Stephen A. Wood
Browse files
Options
Downloads
Patches
Plain Diff
Format (wrap long lines) in Eclispe README.
parent
28235dd6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README_Eclipse_MacOSX
+56
-47
56 additions, 47 deletions
README_Eclipse_MacOSX
with
56 additions
and
47 deletions
README_Eclipse_MacOSX
+
56
−
47
View file @
8caad235
Installation of Eclipse (Kepler) on MacOSX, with plugins for SCons, Git, GitHub, and Python
Installation of Eclipse (Kepler) on MacOSX, with plugins for SCons,
Git, GitHub, and Python
1. Install Eclipse
1. Install Eclipse
There exists an Eclipse plugin for SCons, called SConsolidator. As of
January, 2014, this
There exists an Eclipse plugin for SCons, called SConsolidator. As of
plugin works only with the Kepler version of
Eclipse. To download and install this version
January, 2014, this
plugin works only with the Kepler version of
of Eclipse, go to:
Eclipse. To download and install this version
of Eclipse, go to:
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/keplersr1
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/keplersr1
...
@@ -12,8 +13,9 @@ and download the MacOSX (Cocoa 64) version. The file should be called:
...
@@ -12,8 +13,9 @@ and download the MacOSX (Cocoa 64) version. The file should be called:
eclipse-cpp-kepler-SR1-macosx-cocoa-x86_64.tar.gz
eclipse-cpp-kepler-SR1-macosx-cocoa-x86_64.tar.gz
Unpack this somewhere in your own user space. I chose to install it directly underneath
Unpack this somewhere in your own user space. I chose to install it
my home directory, but of course you can install it where you like.
directly underneath my home directory, but of course you can install
it where you like.
$ cd
$ cd
$ sudo tar -xvzf ~/Downloads/eclipse-cpp-kepler-SR1-macosx-cocoa-x86_64.tar.gz
$ sudo tar -xvzf ~/Downloads/eclipse-cpp-kepler-SR1-macosx-cocoa-x86_64.tar.gz
...
@@ -22,22 +24,24 @@ Start up Eclipse from the command line with:
...
@@ -22,22 +24,24 @@ Start up Eclipse from the command line with:
$ ~/eclipse/eclipse
$ ~/eclipse/eclipse
You might also find it useful to add the Eclipse app to your dock,
permanently, to make it
You might also find it useful to add the Eclipse app to your dock,
easier to start up in the future.
permanently, to make it
easier to start up in the future.
When you start up Eclipse, you will get a window asking you to choose a workspace. The
When you start up Eclipse, you will get a window asking you to choose
default is usually /Users/****/Documents/workspace. This is fine, but you might want to
a workspace. The default is usually /Users/****/Documents/workspace.
choose someplace else. Make sure to click the "Use this as the default ..." radio button
This is fine, but you might want to choose someplace else. Make sure
so that you won't get asked this every time.
to click the "Use this as the default ..." radio button so that you
won't get asked this every time.
When Eclipse finally starts up, you can click on the "X" on the welcome page, and it
When Eclipse finally starts up, you can click on the "X" on the
should take you to the Project Explorer page. This is the main view that you will
welcome page, and it should take you to the Project Explorer page.
probably end up using most of the time.
This is the main view that you will probably end up using most of the
time.
2. Install the SConsolidator Plugin
2. Install the SConsolidator Plugin
In order for Eclipse to work with SCons, one has to install a plugin
called SConsolidator.
In order for Eclipse to work with SCons, one has to install a plugin
To do this, do the following:
called SConsolidator.
To do this, do the following:
a) Go to Help->Install New Software
a) Go to Help->Install New Software
b) In the Install window that comes up, in the "Work with" field, enter:
b) In the Install window that comes up, in the "Work with" field, enter:
...
@@ -45,31 +49,35 @@ b) In the Install window that comes up, in the "Work with" field, enter:
...
@@ -45,31 +49,35 @@ b) In the Install window that comes up, in the "Work with" field, enter:
http://www.sconsolidator.com/update
http://www.sconsolidator.com/update
and click on "Add..."
and click on "Add..."
c) Specify the name as "SConsolidator"
d) Check the Eclipse Plug-In for SCons radio button, then hit Next> and follow the
installation through.
e) After the installation, Eclipse will need to be restarted, which it should do
automatically.
When Eclipse restarts, it will ask you about setting the path to SCons. Set this up now.
Check to see where SCons is installed by doing "which scons" from a terminal window.
For me, it is in /usr/local/bin/scons, and so I entered that for the path to the SCons
executable.
To change the SCons build options (at any time), you can go to Eclipse->Preferences, and
c) Specify the name as "SConsolidator"
then expand the SCons tag, to reveal options for Build Settings, Performance vs. Accuracy,
d) Check the Eclipse Plug-In for SCons radio button, then hit Next>
and Warnings. In particular, if you want to build the standalone executables, you can add
and follow the installation through.
'standalone=1' to the SCons Options in Build Settings.
e) After the installation, Eclipse will need to be restarted, which it
should do automatically.
When Eclipse restarts, it will ask you about setting the path to
SCons. Set this up now. Check to see where SCons is installed by
doing "which scons" from a terminal window. For me, it is in
/usr/local/bin/scons, and so I entered that for the path to the SCons
executable.
To change the SCons build options (at any time), you can go to
Eclipse->Preferences, and then expand the SCons tag, to reveal options
for Build Settings, Performance vs. Accuracy, and Warnings. In
particular, if you want to build the standalone executables, you can
add 'standalone=1' to the SCons Options in Build Settings.
3. Install PyDev for Python Support
3. Install PyDev for Python Support
PyDev includes a nice Python editor with appropriate syntax highlighting, as well as
PyDev includes a nice Python editor with appropriate syntax
providing the "mouse-over" documentation features of Eclipse for those things that
highlighting, as well as providing the "mouse-over" documentation
are written in Python - namely SCons.
features of Eclipse for those things that are written in Python -
namely SCons.
As of this writing, Eclipse Kepler does not play so nicely with
PyDev-3.X, and so we
As of this writing, Eclipse Kepler does not play so nicely with
will install PyDev-2.X instead. The reason may
be related to issues with Java 1.6 vs. 1.7,
PyDev-3.X, and so we
will install PyDev-2.X instead. The reason may
in fact.
be related to issues with Java 1.6 vs. 1.7,
in fact.
a) Go to Help->Install New Software
a) Go to Help->Install New Software
b) In the Install window that comes up, in the "Work with" field, enter:
b) In the Install window that comes up, in the "Work with" field, enter:
...
@@ -78,18 +86,19 @@ http://pydev.org/updates
...
@@ -78,18 +86,19 @@ http://pydev.org/updates
and click on "Add..."
and click on "Add..."
c) Specify the name as "PyDev" and hit return
c) Specify the name as "PyDev" and hit return
d) IMPORTANT:
Uncheck the radio button to show versions other than the
latest version
d) IMPORTANT: Uncheck the radio button to show versions other than the
in the bottom portion of this window.
latest version
in the bottom portion of this window.
e) Look for the PyDev for Eclipse Version 2.8.2, and check this radio button.
e) Look for the PyDev for Eclipse Version 2.8.2, and check this radio button.
d) Proceed with the installation.
d) Proceed with the installation.
e) IMPORTANT: At some point it may ask you to allow a certain security certificate - you
e) IMPORTANT: At some point it may ask you to allow a certain security
actually have to check the radio button in the top part of the window and THEN accept the
certificate - you actually have to check the radio button in the top
certificate.
part of the window and THEN accept the certificate.
f) After the installation, Eclipse will need to be restarted, which it should do
f) After the installation, Eclipse will need to be restarted, which it
automatically.
should do automatically.
Restart Eclipse; you should now have access to PyDev. You should see it by going to
Restart Eclipse; you should now have access to PyDev. You should see
Eclipse->About Eclipse->Installation Details->Installed Software
it by going to Eclipse->About Eclipse->Installation Details->Installed
Software
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment