[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-3304) After download the project examples should be able to do a custom action (i.e. show a downloaded readme.txt or cheatsheet)

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Tue Dec 2 20:04:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco resolved JBIDE-3304.
----------------------------------

    Resolution: Done


Now, you can add the welcome element to the ProjectExamples.xml file.
For instance:
<project>
  <category>Portlet</category>
  <name>testjavaportlet</name>
  <shortDescription>JBoss Java Portlet Example CHEATSHEETS</shortDescription>
  <description>This example demonstrates the use of JBoss Java Portlet. It runs on JBoss Portal 2.7.0.</description>
  <size>10000</size>
  <url>
	file:///e:/aliaksey/testjavaportlet.zip
  </url>
  <welcome type="cheatsheets" url="/testjavaportlet/javaportletcs.xml"/>
</project>

If the type argument is  "cheatsheets", the URL will be opened in the Cheat Sheets view
Otherwise, the URL will be opened in a browser

The url argument can point to a file in the workspace like
/<project_name>/<file_path>
or it can be any valid URL like
http://jboss.tools/file.xml

The testjavaportlet project can serve as an example.

> After download the project examples should be able to do a custom action (i.e. show a downloaded readme.txt or cheatsheet)
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-3304
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3304
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: project-examples
>    Affects Versions: 3.0.0.cr1
>            Reporter: Max Rydahl Andersen
>            Assignee: Snjezana Peco
>            Priority: Critical
>             Fix For: 3.0.0.cr1
>
>
> Since some of our examples will be tricky to get running out-of-the-box it would be good if the project examples could designate a file to open after being downloaded.
> i.e. welcome="cheatsheet.xml"
> I could imagine allowing to point to any file and just use the default editor to open it,
> but we should check that it will work well wit *.txt, *.html and cheatsheet.xml files.
> http://www.ibm.com/developerworks/library/os-ecl-cheatsheets/index.html indicates that cheatsheets does not have to live inside a plugin so that would be  a really good thing to do.
> Set as critical because this would really improve the usability.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list