Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

CloudStack is a big project and it requires more memory for Eclipse.  Here's how to give it more memory.

  • Wiki Markupcd \ [eclipse home\]
  • vi eclipse.ini
  • Change or add the following properties
    • -Xms1024m
    • -Xmx2048m
    • -XX:PermSize=512m
    • -XX:MaxPermSize=1024M

...

  • Right click on the project and select Properties.
  • Go to Resource->Resource Filters.
  • Click on Add...
  • Select Exclude all
  • Select Folders
  • Click Regular Expressionunmigrated-wiki-markup
  • In the entry box, type \type [a-zA-Z0-9\].\*
  • Click OK
  • Click OK

What this does is to tell Eclipse that the sub-directories under parent projects should not be included in the resource list, thus avoiding the the duplicate resources in the Open Resource dialogue box.  If the parent project does have a directory that you want, then you can add that to a include filter.  Note that you can not use * as the folders because that would exclude the .settings folder which eclipse uses to keep its metadata and will cause the m2e plugin to have problems.

...

  • Exit Eclipse (assuming you've already installed the m2e plugin)
  • Wiki Markupcd \cd [cloudstack home\]
  • bash -x tools/eclipse/set-eclipse-profile.sh
  • Restart Eclipse

...