The org.jboss.tools.project.examples.cheatsheet.getProjectForCheatsheet command has been introduced in JBT 4.1/JBDS 7.0.
This command can't be used in JBDS 6.0.1.GA.
See https://issues.jboss.org/browse/JBIDE-14333.

Snjeza

On 7/22/2013 9:20 PM, Rodney Russ wrote:
[adding jboss tools list - external-exadel]


I am new to cheat sheets. I ran into issues testing quickstart pull 363, so I decided to take a step back and look at Max's basic cheatsheet-helloworld example. The source is here: https://github.com/maxandersen/cheatsheet-helloworld

I imported his quickstart into JDBS 6.0.1 GA,  went to Help --> Cheat Sheets. and opened the cheatsheet-helloworld/cheatsheet.xml file.

The cheatsheet.xml source file contains this XML:
    <item
         skip="false"
         title="Welcome to this project">
      <description>
         It is important to force this to be run to make the variable resolved - a simple way to make that happen is to add an required command as seen below.
      </description>
      <command
            required="true"
            returns="currentProject"
            serialization="org.jboss.tools.project.examples.cheatsheet.getProjectForCheatsheet"/>
   </item>

In the cheat sheet in the right pane, I clicked on the "Click to perform" under the description above:



I get this error:



I also don't see any link under the "Open a file" section either. I believe there should be one based on this command:

      <command
            required="false"
            serialization="org.jboss.tools.project.examples.cheatsheet.openFileInEditor(path=/${currentProject}/cheatsheet.xml,fromLine=27,toLine=29)"/>

Does anyone have any idea what I'm doing wrong?

Thanks,
Sande

_______________________________________________
jdf-dev mailing list
jdf-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jdf-dev