Can you provide a quick set of installation instructions for those that download (checkout) from SVN? I see it looks like there are already directories for placing in the eclipse plugin directory - - but should all of them go in? Do I need to compile anything? etc.
Kurt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! I'm trying to install the OctClipse plugin, but without any luck. I've copied the jar file into eclipse/plugin folder and eclipse sees the plugin. However I don't know how I can start Octclipse perspecitve. The reference to the step-by-step instruction seems to be broken. Any help would be appreciated.
Best,
Alexander
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry about that, looks like Sourceforge removed the old Wikispaces. Here are the instructions.
1. Go to http://www.eclipse.org/downloads/ and select the "Development
Builds" tab. Choose the "Eclipse for RCP/Plug-in Developers" build for
your architecture. Extract the archive.
2. Go to http://download.eclipse.org/technology/dltk/downloads/drops/R1.0/S-1.0M7-200905061301/
and select Dynamic Languages Toolkit Bundles "All-In-1" SDK. Extract
that archive into the dropins/ directory of the Eclipse archive
extracted in step 1. You should also download all the prerequisites
listed on the page and extract them into the dropins folder as well.
Note: I like to extract them down one level of file-system hierarchy
so I extract the DLTK archive into dropins/dltk, the EMF into
dropins/EMF etc.
4. Install ANTXR from http://javadude.com/eclipse/update/. This will
let you build the plugins, but the .antxr grammar file editor is
broken unless you patch the source. I can provide a patch to anyone
interested.
5. Download the latest "Stable" build of Orbit, from http://download.eclipse.org/tools/orbit/downloads/. Extract it into
dropins/ as you did in step 2. If you don't feel like downloading the
whole zip file, all you need is the org.apache.commons.collections
and org.apache.oro packages. You can just place the individual jar
files in the dropins/ directory as well.
6. Deselect "Build Automatically" from the Project menu.
7. Download the Octclipse source from the Mercurial repository on
Sourceforge by selecting "Import..." and choosing "Clone repository
using MercurialEclipse". Click "Next >" Enter http://octclipse.hg.sourceforge.net:8000/hgroot/octclipse as the URL.
Make sure you select "Search for .project files in clone and use them
to create projects". Choose "Finish".
8. Close all the C++ projects ( Prefixed with octave_ ). If you want
to build them from source you can run the "autogen.sh" script and then
do the standard "configure && make && make install".
9. Re-select "Build Automatically" from the Project menu.
10. Wait for the source build to complete.
11. Select "Export..." and choose "Deployable features". Select the
"net.sf.octclipse" feature and set the target directory. After it
finishes copy the directory contents into the dropins/ folder of
Eclipse and restart. You should now have Octclipse installed from
source. Currently the feature doesn't include all the plugins. Feel
free to update the feature.xml and add the remaining plugins if you
feel like trying them out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I eventually got these instructions to work but also had to install the ECF package for Eclipse and one additional package from Orbit; org.apache.commons.lang. In addition, I had to comment out the content of OctaveVariableKind.java (didn't appear to be used).
Anyway, looks like it will be a nice tool once it's flushed out. I'd really like to see an integrated interactive console. Is that what the 'console proxy' project is? I built and installed it but I'm not sure what to expect :P
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, that is what the console_proxy is essentially. If you build and install the .oct into your octave path somewhere, then the "Octave Console" view should launch octave and eval your commands via a socket connection and return the results. I know it worked a year or two ago when I wrote the code, but with recent improvements in the speed of Octave development I can't guarantee it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmm. Looks like the DLTK people have taken the framework that the console_proxy was using and removed its functionality in favour of a DBGP based solution.
You can still use the functionality of the console_proxy though.
1. Compile and install the console_proxy from mercurial.
2. Launch octclipse.
3. Launch octave in a console, and run the following commands:
Now the octave_symbols view should update with the symbols as you go about your runtime session.
Note: For an even more integrated "feel" you can run octave in the Remote Terminal view provided by the RSE project by SSH'ing into your own computer and running octave from there.
The port that Eclipse listens on, ie. 56645 is unfortunately hardcoded at the moment in OctclipseUIPlugin.java, as I meant to eventually put it in the preferences but have not gotten around to it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. For now I just went the RSE route. I'll give the proxy another shot when I have some more time.
One user base I can see benefiting from this project are students in the social sciences using Matlab. For instance, the University of Washington makes heavy use of Matlab in the psychology department (paired with the Psychtoolbox). Due to cost, most students opt for the student version of Matlab, which is cripple-ware (memory management is locked out among other things). Octave has long been an alternative but is less accessible to those with limited computing expertise; these folks really want/need a GUI. If the installation of this project were streamlined, it could provide a viable alternative to students that are otherwise coerced into buying broken software.
Anyway, I'd be happy to help out if you'd like to add people to the project. I'm more of a C++ dev than Java, but slow help is better than none ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"If the installation of this project were streamlined"
I'd be happy with a README.
Seriously, is there a released build of Octclipse that can simply be installed without having to download and compile the entire universe, and if so are there any reasonably complete instructions on how to do so, and finally where are they?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The wiki instructions at are probably as definitave a README as there is.
Truthfully, I've just been too busy between work, family and other interests to devote much time to octclipse in the past year, and so I've never gotten around to producing another complete release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-03-02
Could you please port the octclipse to the contemporary version of eclipse?
I have lost already many hours trying to do that without success and just gave up :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-03-02
please….
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you provide a quick set of installation instructions for those that download (checkout) from SVN? I see it looks like there are already directories for placing in the eclipse plugin directory - - but should all of them go in? Do I need to compile anything? etc.
Kurt
I sure can.
I'm away from home and my computer for a few days but when I get back I'll prepare a document with detailed instructions.
Ryan
There are now some step by step instructions on http://octclipse.wiki.sourceforge.net/Building+From+Mercurial
Hi! I'm trying to install the OctClipse plugin, but without any luck. I've copied the jar file into eclipse/plugin folder and eclipse sees the plugin. However I don't know how I can start Octclipse perspecitve. The reference to the step-by-step instruction seems to be broken. Any help would be appreciated.
Best,
Alexander
Sorry about that, looks like Sourceforge removed the old Wikispaces. Here are the instructions.
1. Go to http://www.eclipse.org/downloads/ and select the "Development
Builds" tab. Choose the "Eclipse for RCP/Plug-in Developers" build for
your architecture. Extract the archive.
2. Go to http://download.eclipse.org/technology/dltk/downloads/drops/R1.0/S-1.0M7-200905061301/
and select Dynamic Languages Toolkit Bundles "All-In-1" SDK. Extract
that archive into the dropins/ directory of the Eclipse archive
extracted in step 1. You should also download all the prerequisites
listed on the page and extract them into the dropins folder as well.
Note: I like to extract them down one level of file-system hierarchy
so I extract the DLTK archive into dropins/dltk, the EMF into
dropins/EMF etc.
3. Install Mercurial Eclipse from
http://www.vectrace.com/mercurialeclipse/ via the update manager
interface within Eclipse as per the instructions on the web page, and
have the Mercurial SCM installed from
http://www.selenic.com/mercurial/wiki/
4. Install ANTXR from http://javadude.com/eclipse/update/. This will
let you build the plugins, but the .antxr grammar file editor is
broken unless you patch the source. I can provide a patch to anyone
interested.
5. Download the latest "Stable" build of Orbit, from
http://download.eclipse.org/tools/orbit/downloads/. Extract it into
dropins/ as you did in step 2. If you don't feel like downloading the
whole zip file, all you need is the org.apache.commons.collections
and org.apache.oro packages. You can just place the individual jar
files in the dropins/ directory as well.
6. Deselect "Build Automatically" from the Project menu.
7. Download the Octclipse source from the Mercurial repository on
Sourceforge by selecting "Import..." and choosing "Clone repository
using MercurialEclipse". Click "Next >" Enter
http://octclipse.hg.sourceforge.net:8000/hgroot/octclipse as the URL.
Make sure you select "Search for .project files in clone and use them
to create projects". Choose "Finish".
8. Close all the C++ projects ( Prefixed with octave_ ). If you want
to build them from source you can run the "autogen.sh" script and then
do the standard "configure && make && make install".
9. Re-select "Build Automatically" from the Project menu.
10. Wait for the source build to complete.
11. Select "Export..." and choose "Deployable features". Select the
"net.sf.octclipse" feature and set the target directory. After it
finishes copy the directory contents into the dropins/ folder of
Eclipse and restart. You should now have Octclipse installed from
source. Currently the feature doesn't include all the plugins. Feel
free to update the feature.xml and add the remaining plugins if you
feel like trying them out.
Note 1: Use the Galileo release (Eclipse 4.5) for the "Eclipse for RCP/Plug-in Developers" download. You no longer need to use a development release.
Note 2: You can disregard the release numbers of the DLTK build and just use the 'Stable" 1.0 release from http://download.eclipse.org/technology/dltk/downloads/.
I eventually got these instructions to work but also had to install the ECF package for Eclipse and one additional package from Orbit; org.apache.commons.lang. In addition, I had to comment out the content of OctaveVariableKind.java (didn't appear to be used).
Anyway, looks like it will be a nice tool once it's flushed out. I'd really like to see an integrated interactive console. Is that what the 'console proxy' project is? I built and installed it but I'm not sure what to expect :P
Yeah, that is what the console_proxy is essentially. If you build and install the .oct into your octave path somewhere, then the "Octave Console" view should launch octave and eval your commands via a socket connection and return the results. I know it worked a year or two ago when I wrote the code, but with recent improvements in the speed of Octave development I can't guarantee it.
Hmm. Looks like the DLTK people have taken the framework that the console_proxy was using and removed its functionality in favour of a DBGP based solution.
You can still use the functionality of the console_proxy though.
1. Compile and install the console_proxy from mercurial.
2. Launch octclipse.
3. Launch octave in a console, and run the following commands:
<pre><code>octave:1> autoload ("register_external_symbols_view",which("octave_console_proxy"))
octave:2> register_external_symbols_view ("127.0.0.1","56645")</code></pre>
Now the octave_symbols view should update with the symbols as you go about your runtime session.
Note: For an even more integrated "feel" you can run octave in the Remote Terminal view provided by the RSE project by SSH'ing into your own computer and running octave from there.
The port that Eclipse listens on, ie. 56645 is unfortunately hardcoded at the moment in OctclipseUIPlugin.java, as I meant to eventually put it in the preferences but have not gotten around to it.
Thanks. For now I just went the RSE route. I'll give the proxy another shot when I have some more time.
One user base I can see benefiting from this project are students in the social sciences using Matlab. For instance, the University of Washington makes heavy use of Matlab in the psychology department (paired with the Psychtoolbox). Due to cost, most students opt for the student version of Matlab, which is cripple-ware (memory management is locked out among other things). Octave has long been an alternative but is less accessible to those with limited computing expertise; these folks really want/need a GUI. If the installation of this project were streamlined, it could provide a viable alternative to students that are otherwise coerced into buying broken software.
Anyway, I'd be happy to help out if you'd like to add people to the project. I'm more of a C++ dev than Java, but slow help is better than none ;-)
"If the installation of this project were streamlined"
I'd be happy with a README.
Seriously, is there a released build of Octclipse that can simply be installed without having to download and compile the entire universe, and if so are there any reasonably complete instructions on how to do so, and finally where are they?
The wiki instructions at are probably as definitave a README as there is.
Truthfully, I've just been too busy between work, family and other interests to devote much time to octclipse in the past year, and so I've never gotten around to producing another complete release.
: https://sourceforge.net/apps/mediawiki/octclipse/index.php?title=Building_from_Mercurial_Repository
Could you please port the octclipse to the contemporary version of eclipse?
I have lost already many hours trying to do that without success and just gave up :(
please….