[
https://issues.jboss.org/browse/JBIDE-8399?page=com.atlassian.jira.plugin...
]
Snjezana Peco commented on JBIDE-8399:
--------------------------------------
Now the Project Examples engine can recognize a Teiid instance within JBoss AS server.
For instance, the following declaration for the Parts Model Project Set example can be
added:
...
</url>
<fixes>
<fix type="wtpruntime">
<property name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50,
org.jboss.ide.eclipse.as.runtime.51, org.jboss.ide.eclipse.as.runtime.60</property>
<property name="eclipse-projects">PartsProject</property>
<property name="required-components">teiid</property>
<property name="description">This project example requires a Teiid
instance running within the JBoss EAP 5.0 or JBoss AS >= 5.1.0</property>
</fix>
</fixes>
<welcome type="html" url="/PartsProject/readme/Example
Instructions.html"/>
...
<perspectiveId>modelerPerspective</perspectiveId>
The Project Examples will check if there is JBoss EAP 5.x, JBoss AS 5.1.x/6.0.x that
contains a Teiid Runtime.
If it doesn't exist, the Details dialog will be shown up.
After importing the project example, the Example Instructions.html file will be opened in
a browser.
As to the US States SOAP Service Project Set Example project example, it would be
necessary to add the following:
<fixes>
<fix type="wtpruntime">
<property
name="allowed-types">org.jboss.ide.eclipse.as.runtime.eap.50</property>
<property
name="eclipse-projects">StateService,StateServiceEAR</property>
<property name="required-components">teiid</property>
<property name="description">This project example requires a Teiid
instance running within the JBoss EAP 5.0</property>
</fix>
</fixes>
If this project example can be deployed to the JBoss AS server, it would be necessary to
add org.jboss.ide.eclipse.as.runtime.51 and org.jboss.ide.eclipse.as.runtime.60 to the
allow-types property.
After importing this project example, the appropriate WTP Runtime will be added to the
StateService and StateServiceEAR project.
If there is a welcome page, it can be added similarly to the way the welcome page for the
Parts Model Project Set example is added.
Attached are a patch for the project-examples-3.2.xml and the
StateServiceExampleProject.zip archive in which the JRE container and JDK compliance level
are fixed.
Committed to the jbosstools-3.2.x branch and trunk.
Improve US States SOAP Service Project Example
----------------------------------------------
Key: JBIDE-8399
URL:
https://issues.jboss.org/browse/JBIDE-8399
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: project-examples, teiid
Affects Versions: 3.2.0.CR1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Fix For: 3.2.1.M1
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
I propose adding the "wtpruntime" fix/requirement for SOA-P.
Since JBoss Tools has the same runtime type for EAP, SOA-P, EPP, we would probably need
to add a separate property for Teiid examples (suppose they require a Teiid runtime). We
already have a similar property for esb, portlet ... (see
http://download.jboss.org/jbosstools/examples/project-examples-jbds30.xml).
It would also be possible to add a cheatsheet that would describe and run the actions
described in US_States/readme.txt.
BTW The StateService project should use Java Execution environment instead of a specific
version of JRE (1.6.0_14).
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira