Friday, April 27, 2012

Usefull eclipse application startup parameters


Mainly because I do not remember extacly all small things I put them here...


Program arguments :
  • -consoleLog
  • -clean

VM arguments :
  • -Dosgi.requiredJavaVersion=1.5
  • -Dosgi.clean=true
  • -Dosgi.console


The most usefull parameter is for me the last one. It allows use of osgi console. 
This command line console active in console log. This console allow :


  • Controlling the OSGi framework
  • Controlling Bundles
  • Displaying Status
  • Extras
  • Controlling Start Level
  • Controlling the Profiling
  • Eclipse Runtime commands
  • Service Component Runtime
  • ...


To get more information, use 
osgi> help
gives :

Exemples  
osgi> ss (Short Status)
gives :

  
osgi> bundle number
provides view on : 


  • Id, 
  • Status,
  • Location,
  • Registered services,
  • Services in use,
  • Exported packages,
  • Imported packages,
  • Host bundles,
  • Class spaces,
  • Required bundles.


No comments:

Post a Comment