This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Dropins drop out

Attempting to use a "drop in" that will format assembly language code is a no-go.  The tool does not seem to install as Eclipse suggests it will when the jar file for a drop in is placed in the dropins folder.

Does CCS support drop ins or is there another means to install these?

  • Hi Mark,

    Assuming that you are using CCSv5.1 or greater, installing plugin via the dropins folder (.\ccsv5\eclipse\dropins) is supported.

    The tool may have other dependencies that is causing the issue. What plugin is this?

    Thanks

    ki

  • Hello ki,

    The tool in question is here:  code.google.com/p/assembly-formatter/

    Eclipse does not issue an error but neither does this install.

    Maybe there's something peculiar about this plug in or the way I am trying to install?

    Thanks for looking at this.

  • Do you not see this button after you drop the jar file into the dropins folder?

    All I did was copy the jar file into .\ccsv5\eclipse\dropins. I did this with CCSv5.3.0.

    I did get some error popups when I used the utility to format the code. But the conversion did work. The popups may be bugs with the plugin.

    Thanks

    ki

  • Ki-Soo Lee said:
    I did get some error popups when I used the utility to format the code. But the conversion did work. The popups may be bugs with the plugin.

    This is a known bug with the plug-in:

    http://code.google.com/p/assembly-formatter/issues/detail?id=5

    Thanks

    ki

  • I'm rather amazed that it worked so well for you. 

    There's no button visible.  And if I look at "Customize Perspective" to see if anything has appeared like this I can't find it.  Do you find it listed in the CCSEdit perspective?  Is it also found within "Customize Perspective"?

    Maybe I'm dropping in the wrong place? 

    CCS is installed to C:\ti\ccsv5 and dropins are in C:\ti\ccsv5\eclipse\dropins

    Seems same as yours.  I am still stumped.

  • Mark Richards said:
    Do you find it listed in the CCSEdit perspective?

    I see it in every perspective

    Mark Richards said:
    Is it also found within "Customize Perspective"?

    The plugin doesn't create a new perspective so I would not expect it to appear there.

    You do not see it in the Edit menu either?

    Mark Richards said:
    C:\ti\ccsv5\eclipse\dropins

    That's right

    What version of CCS are you using?

  • Also note that you need to restart CCS after dropping in the JAR. Not sure if you did that already.

  • CCS perspective presentation:

    Edit menu:

    I did restart and also made sure the jar file was not marked read only.

    Windows 7.  CCS has been set to run as administrator.

  • And you are using CCSv5.3.0?

  • 5.3.0.2012...

    See prior reply which has some screen shots.

  • Right click anywhere on the tool bar, then select 'Customize Perspective' in the context menu.

    In t he dialog box that appear, check to see if you have the follow item listed (circled in red below):

  • For some reason, the plugin is not getting picked up by CCS.

    One last thing to try is to restart CCS with a new clean workspace.

  • Tried opening another workspace (that existed prior) and no go.

    How would I create a clean workspace?  (Sorry, clueless on this one).

  • Mark Richards said:
    How would I create a clean workspace?  (Sorry, clueless on this one).

    A clean workspace is basically an empty folder that was never used before. Point CCS to a blank folder when it asks for a workspace location.

  • ki,

    Even a blank workspace yields no button and no reference to this dropin.

    I suppose the next thing is to reinstall ccs.

    I am rather wary to do this, unless I can recover all the settings established for my projects, and also as long as the reinstall will leave the old install alone so I may go back to it.  Are these possible?  Or would you have one final idea for me, besides my jumping from the nearest bridge :)

  • Could you attach an Eclipse error log? Open the view via:

    View->Other->General-> Error Log

    From the Error Log view, you can export the contents to a log file (use the first button in the toolbar of the view). I may have some info on why the plugin failed.

    Thanks

    ki

  • That's quite nifty.

    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.dsf.ui', id='AUTOGEN:::org.eclipse.cdt.dsf.debug.ui.disassemblyRulerActions/org.eclipse.debug.ui.actions.RulerAddBreakpointAction'

    Not sure what this means, yet.

    See attached for full log.

    !SESSION 2013-03-22 15:59:05.950 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product -product com.ti.ccstudio.branding.product -data Z:\var\SolarWave-info\WhiteBoxSolar\SpireMT\BTU Meter Upgrade\CCS5 -product com.ti.ccstudio.branding.product
    
    !ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2013-03-22 15:59:07.530
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.p2.reconciler.dropins_1.1.200.v20120301-2145 [635]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.p2.touchpoint.eclipse; bundle-version="1.0.0"
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
    	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
    	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
    	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    
    !ENTRY org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE Warnings while parsing the viewer contributions from the 'org.eclipse.ui.popupMenus' extension point
    !SUBENTRY 1 org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.debug.ui', id='AUTOGEN:::org.eclipse.cdt.debug.ui.CEditorRulerActions/org.eclipse.cdt.debug.internal.ui.actions.CBreakpointPropertiesRulerActionDelegate'
    !SUBENTRY 1 org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.debug.ui', id='AUTOGEN:::org.eclipse.cdt.debug.ui.CEditorRulerActions/org.eclipse.cdt.debug.internal.ui.actions.EnableDisableBreakpointRulerActionDelegate'
    !SUBENTRY 1 org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.debug.ui', id='AUTOGEN:::org.eclipse.cdt.debug.ui.CEditorRulerActions/org.eclipse.cdt.debug.ui.actions.RulerCreateBreakpointInteractiveAction'
    !SUBENTRY 1 org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.debug.ui', id='AUTOGEN:::org.eclipse.cdt.debug.ui.AsmEditorRulerActions/org.eclipse.cdt.debug.internal.ui.actions.asm.CBreakpointPropertiesRulerActionDelegate'
    !SUBENTRY 1 org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.debug.ui', id='AUTOGEN:::org.eclipse.cdt.debug.ui.AsmEditorRulerActions/org.eclipse.cdt.debug.internal.ui.actions.asm.EnableDisableBreakpointRulerActionDelegate'
    !SUBENTRY 1 org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.debug.ui', id='AUTOGEN:::org.eclipse.cdt.debug.ui.AsmEditorRulerActions/org.eclipse.cdt.debug.ui.actions.asm.RulerCreateBreakpointInteractiveAction'
    !SUBENTRY 1 org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.dsf.ui', id='AUTOGEN:::org.eclipse.cdt.dsf.debug.ui.disassemblyRulerActions/org.eclipse.debug.ui.actions.RulerAddBreakpointAction'
    !SUBENTRY 1 org.eclipse.ui 2 0 2013-03-22 15:59:09.411
    !MESSAGE invalid keybinding: Cannot bind to an incomplete key sequence: plug-in='org.eclipse.cdt.dsf.ui', id='org.eclipse.cdt.dsf.debug.ui.disassembly.commands.rulerToggleBreakpoint'
    

  • Unfortunately it is not related to the plugin.

    One last ditch effort to try. Shut down CCS. Delete the jar file from the dropins folder. The unzip the JAR file so that it creates a subfolder of the same name as the JAR (ex: org.eclipse.assemblyformatter_1.0.0.IARonly). Inside that folder, there should be 2 subfolder and a plugin.xml file. Copy that whole folder (org.eclipse.assemblyformatter_1.0.0.IARonly) into <CCS INSTALL DIR>\ccsv5\eclipse\features.

    So you should have a path like: <CCS INSTALL DIR>\ccsv5\eclipse\features\org.eclipse.assemblyformatter_1.0.0.IARonly

    Inside that folder should be 'META-INF' and 'org' subfolders and a 'plugin.xml' file

    Start up CCS and cross your fingers.

    ki