Friday, March 28, 2014

Microsoft visio for UML

Microsoft visio supports UML diagrams.

  • Class diagram
  • Sequence diagram
  • Use Case diagram
  • Activity diagram
  • State diagram

Download trial version @ http://office.microsoft.com/en-in/visio/

You can download UML2.5 stencils @ http://www.softwarestencils.com/uml/index.html

Friday, March 14, 2014

Eclipse plugins debug tracing facility

Debugging eclipse dropins

If you are attempting to use dropins, but your bundles are not being found, first ensure org.eclipse.equinox.ds and org.eclipse.equinox.p2.reconciler.dropins are marked to auto-start.

You can check these in bundles.info file in eclipse "eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info"

Search for an entries of org.eclipse.equinox.ds and org.eclipse.equinox.p2.reconciler.dropins

Example:
org.eclipse.equinox.ds,1.4.1.v20120926-201320,plugins/org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar,2,true

org.eclipse.equinox.p2.reconciler.dropins,1.1.200.v20120301-2145,plugins/org.eclipse.equinox.p2.reconciler.dropins_1.1.200.v20120301-2145.jar,4,true

Mark both of them to true, if it's not set already.

Resolution errors with dropins are silently ignored. To enable useful logging messages, place the following tracing options in your .options file:

org.eclipse.equinox.p2.core/debug=true
org.eclipse.equinox.p2.core/reconciler=true

We can create this file in eclipse root directory with name .options and add above 2 lines in it.
eclipse/.options

And now run your eclipse in -debug -console mode.


Resources:
https://wiki.eclipse.org/Equinox/p2/Getting_Started

Eclipse bundles.info

What is bundles.info file in eclipse ?

The file bundles.info contains a list of all the plug-ins installed in the current system. On startup, all the plug-ins listed in this file are given to OSGi as the exact set of plug-ins to run with.

Where can i find this file in eclipse ?

You can find in eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info

eclipse/
   configuration/
     config.ini
     org.eclipse.equinox.simpleconfigurator/
       bundles.info
   dropins/
   features/
   p2/
   plugins/
   eclipse.exe
   eclipse.ini
   ...



Resources:
https://wiki.eclipse.org/Equinox/p2/Getting_Started