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

Max Rydahl Andersen (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 06:50:18 EDT 2011


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

Max Rydahl Andersen 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.

I'm on the latest version that is on nightly updatesite and getting NPE's during publishing.

But beyond that starting the server and the arquillian test shuoldn't just be done automatically!

Especially since I don't see any UI to choose which of my now 6 servers it is going to run against and it is not at all giving me any control/knowledge about what is actually going to happen.

>> 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.

Take helloworld example - if I have no servers it tells me to Download/install, if I have 1 or more servers it shows nothing. No options for downloading another server nor say which server it will choose.

>> 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>

Ok - for me it still just says "This project example requires JBoss AS" and only when have zero servers.

>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).

I don't see that in the build from today yet.

>> 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.

The download went in the background,  I pressed run and it seemed to import/create the projects still - shouldn't it wait for the download to complete and then show a dialog about what will happen ?

                
> 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