<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The attachments were too large for jdf-dev list. The screen shots
    are now located here:<br>
    <br>
    <div class="moz-forward-container">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a
href="http://file.rdu.redhat.com/%7Esgilda/screenshots/quickstart-kitchensink.png">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
      </a><a
href="http://file.rdu.redhat.com/%7Esgilda/screenshots/workspace-kitchensink.png">http://file.rdu.redhat.com/~sgilda/screenshots/workspace-kitchensink.png</a><br>
      <a
href="http://file.rdu.redhat.com/%7Esgilda/screenshots/quickstart-kitchensink.png">http://file.rdu.redhat.com/~sgilda/screenshots/quickstart-kitchensink.png</a><br>
      <br>
      <br>
      -------- Original Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
            </th>
            <td>Re: [jdf-dev] Need help with cheat sheet issues</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
            <td>Fri, 26 Jul 2013 12:54:46 -0400</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
            <td>Sande Gilda <a class="moz-txt-link-rfc2396E" href="mailto:sgilda@redhat.com">&lt;sgilda@redhat.com&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
            <td>Nick Boldt <a class="moz-txt-link-rfc2396E" href="mailto:nboldt@redhat.com">&lt;nboldt@redhat.com&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">CC: </th>
            <td>Snjezana Peco <a class="moz-txt-link-rfc2396E" href="mailto:snjezana.peco@redhat.com">&lt;snjezana.peco@redhat.com&gt;</a>, Rodney
              Russ <a class="moz-txt-link-rfc2396E" href="mailto:rruss@redhat.com">&lt;rruss@redhat.com&gt;</a>, jdf-dev
              <a class="moz-txt-link-rfc2396E" href="mailto:jdf-dev@lists.jboss.org">&lt;jdf-dev@lists.jboss.org&gt;</a>, external-exadel-list list
              <a class="moz-txt-link-rfc2396E" href="mailto:external-exadel-list@redhat.com">&lt;external-exadel-list@redhat.com&gt;</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Snjezana made some comments in the pull, so I investigated further
      and discovered some interesting behavior.<br>
      <ul>
        <li>I checked out Snjezana's pull to my local file system. </li>
        <li>I copied his 'quickstarts/kitchensink' quickstart project to
          my 'workspace/' directory.</li>
        <li>I imported the existing Maven 'workspace/kitchensink'
          project into JDBS</li>
        <ul>
          <li>Note that the project name is 'kitchensink'. (see the
            attached workspace-kitchensink screen shot)</li>
          <li>I clicked on the default.xhtml icon in the cheat sheet and
            an error appeared in the status bar 'Cannot open the
            /jboss-as-kitchensink/../default.xhtml' file.' <br>
          </li>
          <li>The file failed to open.</li>
        </ul>
        <li>I imported the existing Maven 'quickstarts/kitchensink'
          quickstart project into JDBS <br>
        </li>
        <ul>
          <li>Note that the project name is 'jboss-as-kitchensink'. (see
            the attached quickstart-kitchensink screen shot)<br>
          </li>
          <li>I clicked on the default.xhtml icon in the cheat sheet and
            an error still appeared in the status bar 'Cannot open the
            /jboss-as-kitchensink/../default.xhtml' file.'. <br>
          </li>
          <li>I'm not clear why it's displaying that error because the
            file opened and the lines of code were selected, which is
            the expected behavior.</li>
        </ul>
      </ul>
      <p>So it appears the cheat sheet was created for a quickstart that
        is a subproject for all quickstarts and will not work when the
        project is moved to a different location.<br>
      </p>
      <p>My questions are:</p>
      <ol>
        <li>Is this the expected behavior or am I doing something wrong
          here? As I said, I'm new to cheat sheets. :-)<br>
        </li>
        <li>Does JDBS do something differently in the case where there
          is a parent pom in the higher level directory, in this case,
          the root quickstart pom file?</li>
        <li>Does this mean cheat sheets will not work if a developer
          copies a quickstart project to a different location?</li>
        <li>In the near future, we plan to let developer download
          specific quickstarts independently. Will the cheat sheets work
          in this situation?</li>
      </ol>
      <p>Thanks, <br>
        Sande<br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 07/25/2013 12:12 PM, Sande Gilda
        wrote:<br>
      </div>
      <blockquote cite="mid:51F14E75.6070801@redhat.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        Problem solved. The path in the cheat sheet doesn't match the
        quckstart path name. I will make a comment in the pull.<br>
        <br>
        Thanks!<br>
        <br>
        <div class="moz-cite-prefix">On 07/25/2013 10:02 AM, Sande Gilda
          wrote:<br>
        </div>
        <blockquote cite="mid:51F12FE1.6040101@redhat.com" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          Hi Nick,<br>
          <br>
          I didn't even notice the error message in the status bar. I
          was looking for errors in the "Problems" window.<br>
          <br>
          I have not renamed anything. I got that link from this open
          quickstart pull request I need to review:
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <a moz-do-not-send="true"
            href="https://github.com/jboss-jdf/jboss-as-quickstart/pull/363">https://github.com/jboss-jdf/jboss-as-quickstart/pull/363</a><br>
          <br>
          It sounds like the cheat sheet may be referring to the
          artifactId rather than the folder name. I will investigate.<br>
          <br>
          Thanks for the response.<br>
          Sande<br>
          <br>
          <div class="moz-cite-prefix">On 07/25/2013 09:01 AM, Nick
            Boldt wrote:<br>
          </div>
          <blockquote cite="mid:51F12190.2030104@redhat.com" type="cite">The


            error message shown, "Cannot open the
            /jboss-as-kitchensink/..." suggests that either you created
            the project w/ a non-standard name, renamed it, or the
            cheatsheet assumes the wrong project name. <br>
            <br>
            At any rate, there's a mismatch, but I'm not sure if it's
            user error (you renamed something) or cheatsheet error
            (invalid assumption on project path). Perhaps Snjezana can
            comment as to what happened. <br>
            <br>
            Just out of curiosity, where are you finding links to
            Snjeza's github fork? Surely the *published* content for
            JBDS doesn't link to these intermediate / developer-owned
            resources, but to content in <a moz-do-not-send="true"
              class="moz-txt-link-freetext"
              href="https://github.com/jbosstools/">https://github.com/jbosstools/</a>
            ? <br>
            <br>
            N <br>
            <br>
            On 07/25/2013 08:22 AM, Sande Gilda wrote: <br>
            <blockquote type="cite">I downloaded the final JDBS 7.0 GA
              yesterday and am making more <br>
              progress, but it's still not working as I would expect. I
              am testing the <br>
              kitchensink ".cheatsheet.xml" file located here: <br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
                href="https://github.com/snjeza/quickstart/tree/jbide-12915/kitchensink">https://github.com/snjeza/quickstart/tree/jbide-12915/kitchensink</a>
              <br>
              <br>
              'Click to perform' now works with no error. <br>
              When I first expand a file in the cheatsheet, there are no
              icons to <br>
              indicate you can do anything, only blank spaces (see
              'index.xhtml'). <br>
              <br>
              I clicked in another panel and when I clicked back in the
              cheatsheet, I <br>
              see icons for Click to perform and Click to skip' for the
              <br>
              'default.xhtml' file. When I 'Click to perform', nothing
              happens. I <br>
              would expect it to open the file and go to the line
              number. Am I using <br>
              this incorrectly or expecting the wrong results?
              Screenshot is below. <br>
              <br>
              Thanks, <br>
              Sande <br>
              <br>
              <br>
              <br>
              <br>
              On 07/22/2013 05:54 PM, Sande Gilda wrote: <br>
              <blockquote type="cite">Thanks Snjezana and Nick! I'm
                relieved to know that a JDBS upgrade <br>
                will help. Now I know who to contact for help. :-) <br>
                <br>
                On 07/22/2013 04:52 PM, Snjezana Peco wrote: <br>
                <blockquote type="cite">The <br>
                  org.jboss.tools.project.examples.cheatsheet.getProjectForCheatsheet



                  <br>
                  command has been introduced in JBT 4.1/JBDS 7.0. <br>
                  This command can't be used in JBDS 6.0.1.GA. <br>
                  See <a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="https://issues.jboss.org/browse/JBIDE-14333">https://issues.jboss.org/browse/JBIDE-14333</a>.
                  <br>
                  <br>
                  Snjeza <br>
                  <br>
                  On 7/22/2013 9:20 PM, Rodney Russ wrote: <br>
                  <blockquote type="cite">[adding jboss tools list -
                    external-exadel] <br>
                    <br>
                    ------------------------------------------------------------------------



                    <br>
                    <br>
                    &nbsp;&nbsp;&nbsp; I am new to cheat sheets. I ran into issues
                    testing quickstart <br>
                    &nbsp;&nbsp;&nbsp; pull 363, so I decided to take a step back and
                    look at Max's <br>
                    &nbsp;&nbsp;&nbsp; basic cheatsheet-helloworld example. The source
                    is here: <br>
                    &nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                      class="moz-txt-link-freetext"
                      href="https://github.com/maxandersen/cheatsheet-helloworld">https://github.com/maxandersen/cheatsheet-helloworld</a>
                    <br>
                    <br>
                    &nbsp;&nbsp;&nbsp; I imported his quickstart into JDBS 6.0.1 GA,&nbsp;
                    went to Help --&gt; <br>
                    &nbsp;&nbsp;&nbsp; Cheat Sheets. and opened the <br>
                    &nbsp;&nbsp;&nbsp; cheatsheet-helloworld/cheatsheet.xml file. <br>
                    <br>
                    &nbsp;&nbsp;&nbsp; The cheatsheet.xml source file contains this
                    XML: <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;item <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; skip="false" <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title="Welcome to this project"&gt; <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;description&gt; <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; It is important to force this to be run
                    to make the <br>
                    &nbsp;&nbsp;&nbsp; variable resolved - a simple way to make that
                    happen is to add <br>
                    &nbsp;&nbsp;&nbsp; an required command as seen below. <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/description&gt; <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;command <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; required="true" <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; returns="currentProject" <br>
                    &nbsp;&nbsp;&nbsp;
serialization="org.jboss.tools.project.examples.cheatsheet.getProjectForCheatsheet"/&gt;<br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/item&gt; <br>
                    <br>
                    &nbsp;&nbsp;&nbsp; In the cheat sheet in the right pane, I clicked
                    on the "Click to <br>
                    &nbsp;&nbsp;&nbsp; perform" under the description above: <br>
                    <br>
                    <br>
                    <br>
                    &nbsp;&nbsp;&nbsp; I get this error: <br>
                    <br>
                    <br>
                    <br>
                    &nbsp;&nbsp;&nbsp; I also don't see any link under the "Open a
                    file" section <br>
                    &nbsp;&nbsp;&nbsp; either. I believe there should be one based on
                    this command: <br>
                    <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;command <br>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; required="false" <br>
                    &nbsp;&nbsp;&nbsp;
serialization="org.jboss.tools.project.examples.cheatsheet.openFileInEditor(path=/${currentProject}/cheatsheet.xml,fromLine=27,toLine=29)"/&gt;<br>
                    <br>
                    &nbsp;&nbsp;&nbsp; Does anyone have any idea what I'm doing wrong?
                    <br>
                    <br>
                    &nbsp;&nbsp;&nbsp; Thanks, <br>
                    &nbsp;&nbsp;&nbsp; Sande <br>
                    <br>
                    &nbsp;&nbsp;&nbsp; _______________________________________________
                    <br>
                    &nbsp;&nbsp;&nbsp; jdf-dev mailing list <br>
                    &nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                      class="moz-txt-link-abbreviated"
                      href="mailto:jdf-dev@lists.jboss.org">jdf-dev@lists.jboss.org</a>
                    <br>
                    &nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                      class="moz-txt-link-freetext"
                      href="https://lists.jboss.org/mailman/listinfo/jdf-dev">https://lists.jboss.org/mailman/listinfo/jdf-dev</a>
                    <br>
                    <br>
                    <br>
                  </blockquote>
                  <br>
                </blockquote>
                <br>
                <br>
                <br>
                _______________________________________________ <br>
                jdf-dev mailing list <br>
                <a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:jdf-dev@lists.jboss.org">jdf-dev@lists.jboss.org</a>
                <br>
                <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://lists.jboss.org/mailman/listinfo/jdf-dev">https://lists.jboss.org/mailman/listinfo/jdf-dev</a>
                <br>
              </blockquote>
              <br>
            </blockquote>
            <br>
          </blockquote>
          <br>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
jdf-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:jdf-dev@lists.jboss.org">jdf-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jdf-dev">https://lists.jboss.org/mailman/listinfo/jdf-dev</a></pre>
      </blockquote>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>