[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5700) Simplify project examples update process

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Sun Feb 7 19:03:19 EST 2010


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

Snjezana Peco commented on JBIDE-5700:
--------------------------------------

"Seam 2.2 Booking Example - EAR (including a tutorial)" in https://anonsvn.jboss.org/repos/jbosstools/workspace/examples/project-examples-3.1.xml can serve as an example of this feature.

The following fixes are defined:

<projects>
...
<project>
...
<fixes>
	<fix type="wtpruntime">
		<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
		<property name="short-description">Missing WTP Runtime</property>
		<property name="eclipse-projects">booking22,booking22-ejb,booking22-ear</property>
		<property name="description">This project example requires the JBoss EAP 5.0</property>
	</fix>
	<fix type="seam">
		<property name="allowed-versions">2.2.0</property>
		<property name="short-description">Missing Seam Runtime</property>
		<property name="eclipse-projects">booking22</property>
		<property name="description">This project example requires Seam version 2.2.0</property>
	</fix>
	<fix type="plugin">
		<property name="id">org.testng.eclipse</property>
		<property name="versions">5.8.0, 5.9.0</property>
		<property name="short-description">Missing TestNG plugin</property>
		<property name="description">The TestNG plugin is required if you want to run Seam tests. You can install it using the following update site: http://beust.com/eclipse</property>
	</fix>
</fixes>
...
</project>
...
</projects>

When the Project Examples wizard is called in the workspace that doesn't have the JBoss EAP 5.0, Sean Runtime 2.2.0 and TestNG plugin, the user will get a dialog as shown in the pexamples1.png screenshot. When clicking the Details button, the user will get a dialog as shown in the pexamples2.png screenshot.
The user can finish the wizard.
After adding the JBoss EAP 5.0, Sean Runtime 2.2.0 and TestNG plugin, the user will get a dialog as shown in the pexamples3.png screenshot.
It does not matter how the JBoss EAP 5.0 Runtime and Seam 2.2 Runtime are named, the Project Examples wizard will fix the project settings and set the corresponding runtime.

I have created fixes for a missing WTP Runtime, Seam Runtime and plugin. 
We can also add fixes for Drools, ESB, jBPM, connection profiles... However, each fix adds new dependencies to the Project Examples plugin. To avoid those dependencies, we could define the fixes as extension points which would mean that we would have to add at least one new feature and plugin.

Max,
what is your opinion about this?


> Simplify project examples update process 
> -----------------------------------------
>
>                 Key: JBIDE-5700
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5700
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: project-examples
>    Affects Versions: 3.1.0.CR2
>            Reporter: Brian Fitzpatrick
>            Assignee: Snjezana Peco
>            Priority: Critical
>             Fix For: 3.1.0.CR2, 3.2.next
>
>         Attachments: pexamples1.png, pexamples2.png, pexamples3.png
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> Currently for the project examples, the user must either create a runtime instance in the tooling that maps to the expected runtime name from the project example or go in and update the references in the Quick Fix dialog by hand in the project properties.
> Is there any way to make this process simpler? For example, could we match on the type of server instead of the name? 
> How feasible is this type of change?

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