Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added tip for adding a symlink to dspace.dir to tomcat/bin folder

...

This guide covers version 10.0 of IDEA, which you can get from here: http://www.jetbrains.com/idea/Image Removed. Instructions for installing & running can be found on the website and in the readme file included with the download.

...

If you leave the "run" dialog boxes open at the bottom, you have a quick way to re-run the build and deployment tasks. The maven build can be re-run by clicking the green icon that looks like ">>", and likewise for the ant + tomcat deployment, except you'll have to click "stop" first, and wait for tomcat to shut down.

If you see an error that indicates that the dspace.dir folder cannot be found in your Tomcat/bin folder, (such as java.io.FileNotFoundException: /opt/local/share/java/tomcat6/bin/dspace.dir/config/dspace.cfg (No such file or directory)) when you attempt to call the Tomcat runconfig, you can try adding a symlink in your Tomcat/bin folder, like so:

Code Block
 
cd /opt/local/share/java/tomcat6/bin/
sudo ln -s /dspace/ '${dspace.dir}'

 

It's not pretty, but it'll get the job done.

Useful plugins

IDEA has loads of plugins available to install. A couple that may be useful are:

...