[jbosstools-issues] [JBoss JIRA] (JBIDE-9837) Requirements weirdness for project examples

Snjezana Peco (Commented) (JIRA) jira-events at lists.jboss.org
Mon Oct 10 16:36:16 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633652#comment-12633652 ] 

Snjezana Peco commented on JBIDE-9837:
--------------------------------------

I agree we could enhance this stuff.
Have you upgraded to the latest JBoss Central and examples component? Now, the Run button starts project examples. For instance, the kitchensink example enables downloading and installing JBoss AS 7 (JBoss AS 7.0.1 for now), importing the project, analyzing CDI, JSF, EJB, JTA, Bean Validation, Arquillian, starting the JBoss AS server and the Arquillian test.

> 1) The requirement section is empty if the requirements exist - so users can't actually see what it will use

What project example do you mean? Empty requirements within a tooltip? Those project examples that have requirements contain a warning icon.

> 2) it says "This example needs JBoss AS" but doesn't say anything about version or where it will get the server from when asking for installation dir.
> Should at least say which version is needed, what it is downloading.

The required runtimes/plugins are described in the project example file. The project example wizard will show that description and download the requirements described with project examples fixes.
For example:

<fix type="wtpruntime">
	<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.70</property>
	<property name="description">This project example requires JBoss AS 7.0</property>
	<property name="downloadId">org.jboss.tools.runtime.core.as.701</property>
</fix>

will write: "This project example requires JBoss AS 7.0". If a user downloads and installs that runtime, JBoss AS 7.0.1 will be installed (org.jboss.tools.runtime.core.as.701). 
The org.jboss.tools.runtime.core.as.701 extension point is defined in the o.j.t.runtime.core plugin.
He can also call the Runtime Detection Preferences page and install whatever runtime he wants (JBoss AS 7.0.0, 7.0.1 or 7.0.2).

> 3) Pressing download & Install, answering all the questions a dialog box comes up showing download, which I then can put in backgroun (nice) - but now the Run button is there, I click on it and nothing happens.

> 4) If I got all requirements and press "Run" it still doesn't do anything.

3) and 4) have been fixed in the latest release. If you want to see the News section, you will have to wait for a new build.
                
> Requirements weirdness for project examples
> -------------------------------------------
>
>                 Key: JBIDE-9837
>                 URL: https://issues.jboss.org/browse/JBIDE-9837
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, project-examples
>            Reporter: Max Rydahl Andersen
>            Assignee: Snjezana Peco
>            Priority: Critical
>             Fix For: 3.3.0.M4
>
>
> The new ui for project examples with respect to "install"/download and install and requirements is behaving weird:
> 1) The requirement section is empty if the requirements exist - so users can't actually see what it will use
> 2) it says "This example needs JBoss AS" but doesn't say anything about version or where it will get the server from when asking for installation dir.
>     Should at least say which version is needed, what it is downloading.
> 3) Pressing download & Install, answering all the questions a  dialog box comes up showing download, which I then can put in backgroun (nice) - but now the Run button is there, I click on it and nothing happens.
> 4) If I got all requirements and press "Run" it still doesn't do anything.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list