Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:eclipse [2019/06/26 04:04]
tedfelix [Include Files and Symbols]
dev:eclipse [2020/02/05 16:49]
tedfelix [Unlimited Build Console Buffer]
Line 96: Line 96:
  
 ===== Set Up Rosegarden Source Under Eclipse ===== ===== Set Up Rosegarden Source Under Eclipse =====
-//Note: These instructions were developed using Eclipse ​2018-09 (4.9.0).//+//Note: These instructions were developed using Eclipse ​2019-09 (4.13.0).//
  
 Since we set up the directory structure in a way that Eclipse likes, getting Eclipse to find the source and work with it is easy.  Launch Eclipse. ​ It will first ask for the location of your workspace. ​ Give it the rosegarden-workspace directory that we created earlier. ​ Since this is a new workspace, you'll get the Eclipse welcome screen. ​ In the upper right is a button for the "​Workbench"​. ​ Click it. Since we set up the directory structure in a way that Eclipse likes, getting Eclipse to find the source and work with it is easy.  Launch Eclipse. ​ It will first ask for the location of your workspace. ​ Give it the rosegarden-workspace directory that we created earlier. ​ Since this is a new workspace, you'll get the Eclipse welcome screen. ​ In the upper right is a button for the "​Workbench"​. ​ Click it.
Line 163: Line 163:
  
 ===== Auto-Save Before Build ===== ===== Auto-Save Before Build =====
-By default, Eclipse doesn'​t automatically save your files when you build. ​ If you would prefer that behavior, go to Window > Preferences > General > Workspace > Build. ​ Set the "Save automatically before build" checkbox. ​ This avoids build errors if you forget to save a file that you've changed.+By default, Eclipse doesn'​t automatically save your files when you build. ​ If you would prefer that behavior, go to Window > Preferences > General > Workspace > Build. ​ Set the "Save automatically before ​manual ​build" checkbox. ​ This avoids build errors if you forget to save a file that you've changed.
  
-===== Unlimited Console Buffer =====+===== Unlimited ​Run Console Buffer =====
 By default, Eclipse limits debug console output to 80,000 bytes. ​ Rosegarden generates a lot of debug output. ​ It's a good idea to turn this limit off.  Go to Window > Preferences > Run/Debug > Console. ​ Uncheck "Limit console output"​. By default, Eclipse limits debug console output to 80,000 bytes. ​ Rosegarden generates a lot of debug output. ​ It's a good idea to turn this limit off.  Go to Window > Preferences > Run/Debug > Console. ​ Uncheck "Limit console output"​.
 +
 +===== Massive Build Console Buffer =====
 +By default, Eclipse limits build console output to 500 lines. ​ This is not sufficient when things go wrong in template-land. ​ Go to Window > Preferences > C/C++ > Build > Console. ​ In the "Limit console output (number of lines)"​ field, enter 50000.
  
 ===== Search Editor Reuse ===== ===== Search Editor Reuse =====
Line 172: Line 175:
  
 ===== Upgrade Notes ===== ===== Upgrade Notes =====
-When upgrading to a new version of eclipse, it's a good idea to delete all the Eclipse config files in your workspace and project so the new version can start fresh. ​ You'll have to go through all the configuration again, but things should be a bit more stable.  ​Key things to delete ​for the Indigo to Juno upgrade:+When upgrading to a new version of eclipse, it's a good idea to delete all the Eclipse config files in your workspace and project so the new version can start fresh. ​ You'll have to go through all the configuration again, but things should be a bit more stable.  ​Here's a list of key things to delete.  
 + Some of these might not exist depending on which version of Eclipse you are using.
  
   rosegarden-workspace/​.metadata   rosegarden-workspace/​.metadata
Line 178: Line 182:
   rosegarden-workspace/​rosegarden-svn/​.cproject   rosegarden-workspace/​rosegarden-svn/​.cproject
   rosegarden-workspace/​rosegarden-svn/​.project   rosegarden-workspace/​rosegarden-svn/​.project
- 
-Juno to Kepler had the same files and directories to delete along with a new one: 
- 
   rosegarden-workspace/​rosegarden-svn/​.settings   rosegarden-workspace/​rosegarden-svn/​.settings
  
 
 
dev/eclipse.txt · Last modified: 2020/02/05 16:49 by tedfelix
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki