Hi All,
After mucking around with Eclipse and Ivy with the intent on having a clean copy of OpenGamma build as the instructions say it should, I believe any issues you might be having are the result of the ivy_conf_path variable set in OpenGamma-Eclipse-Preferences.epf and ATTR_LOCATION variables in the ivy loader launch files.
Previously, after following the directions (http://docs.opengamma.com/display/DOC/Setting+up+an+Eclipse+Workspace), IvyDE would still bark at me about finding unrecognized variables in ${workspace_loc:/OG Platform/common/ivysettings.xml} even after multiple restarts and forced Ivy settings reloads. So, I forked OpenGamma and made modifications to the preferences file and ivy loader launch files. By doing the following:
- Deleting ~/.eclipse (to remove any traces of the old installed preferences). Make sure Eclipse is already closed
- Installing IvyDE
- Importing the updated OpenGamma-Eclipse-Preferences.epf file
- Disabling “Build Automatically”
- Importing OG-Platform/projects (Ivy will still claim here that resolve fails)
- Importing OG-Platform
- Restarting Eclipse
I am now able to have Ivy and Eclipse resolve and build OpenGamma from scratch within Eclipse. My forked repository is available at https://github.com/evdubs/OG-Platform and the commit (which I can send as a Pull Request) is available at https://github.com/evdubs/OG-Platform/commit/81ec52c15cf5cc0cc2aade099db82fde8c0668ce . The commit also includes changes to the .checkstyle files that I had made previously after Checkstyle had complained.
If you’ve been tweaking ivysettings.xml or doing other tricks to get Ivy, Eclipse, and OpenGamma to play nicely together, please let me know if you’re able to try my modifications and get it working. If you’re having girl problems, I feel bad for you, son.
Evan