[
https://issues.jboss.org/browse/JBIDE-12819?page=com.atlassian.jira.plugi...
]
Fred Bricon updated JBIDE-12819:
--------------------------------
Steps to Reproduce:
* clone
https://github.com/jboss-jdf/jboss-as-quickstart
* zip cdi-injection
* create a quickstarts.xml containing (change <url> acordingly)
{noformat}
<projects>
<project>
<id>cdi-injection</id>
<name>cdi-injection</name>
<category>JBoss Developer Framework</category>
<shortDescription>JBoss AS Quickstarts: CDI Injection</shortDescription>
<description>JBoss AS Quickstarts: CDI Injection</description>
<url>file:D:/Dev/GitHub/jboss-as-quickstart/target/zips/cdi-injection.zip</url>
<size>13670</size>
<importType>maven</importType>
<icon path='icons/jboss.png'/>
<tags>central</tags>
<included-projects/>
<fixes>
<fix type='wtpruntime'>
<property name='allowed-types'>org.jboss.ide.eclipse.as.runtime.71,
org.jboss.ide.eclipse.as.runtime.eap.60</property>
<property name='description'>This project example requires JBoss
Enterprise Application Platform 6 or JBoss Application Server 7.1</property>
<property
name='downloadId'>org.jboss.tools.runtime.core.as.711</property>
</fix>
<fix type='plugin'>
<property name='id'>org.eclipse.m2e.core</property>
<property name='versions'>[1.0.0,2.0.0)</property>
<property name='description'>This project example requires m2e
&gt;= 1.1.</property>
<property
name='connectorIds'>org.eclipse.m2e.feature</property>
</fix>
<fix type='plugin'>
<property name='id'>org.eclipse.m2e.wtp</property>
<property name='versions'>[0.16.0,2.0.0)</property>
<property name='description'>This project example requires m2e-wtp
&gt;= 0.16.0.</property>
<property
name='connectorIds'>org.maven.ide.eclipse.wtp.feature</property>
</fix>
<fix type='plugin'>
<property name='id'>org.jboss.tools.maven.core</property>
<property name='versions'>[1.4.0,2.0.0)</property>
<property name='description'>This project example requires JBoss
Maven Tools.</property>
<property
name='connectorIds'>org.jboss.tools.maven.feature,org.jboss.tools.maven.cdi.feature,org.jboss.tools.maven.hibernate.feature,org.jboss.tools.maven.jaxrs.feature</property>
</fix>
</fixes>
</project>
</projects>
{noformat}
* open Window > Preferences > JBoss Tools > Project Examples
* click Add... and point to your local quickstarts.xml
* Finish
* open the project example wizard
* select the "JBoss AS Quickstarts: CDI Injection" example
* create the project
ASSERT cdi-injection is created
ASSERT cdi-injection/README.md should be opened once the project is created : FAIL ->
nothing opens
was:
* clone
https://github.com/jboss-jdf/jboss-as-quickstart
* zip cdi-injection
* create a quickstarts.xml containing (change <url> acordingly)
{noformat}
<projects>
<project>
<id>cdi-injection</id>
<name>cdi-injection</name>
<category>JBoss Developer Framework</category>
<shortDescription>JBoss AS Quickstarts: CDI Injection</shortDescription>
<description>JBoss AS Quickstarts: CDI Injection</description>
<url>file:D:/Dev/GitHub/jboss-as-quickstart/target/zips/cdi-injection.zip</url>
<size>13670</size>
<importType>maven</importType>
<icon path='icons/jboss.png'/>
<tags>central</tags>
<included-projects/>
<fixes>
<fix type='wtpruntime'>
<property name='allowed-types'>org.jboss.ide.eclipse.as.runtime.71,
org.jboss.ide.eclipse.as.runtime.eap.60</property>
<property name='description'>This project example requires JBoss
Enterprise Application Platform 6 or JBoss Application Server 7.1</property>
<property
name='downloadId'>org.jboss.tools.runtime.core.as.711</property>
</fix>
<fix type='plugin'>
<property name='id'>org.eclipse.m2e.core</property>
<property name='versions'>[1.0.0,2.0.0)</property>
<property name='description'>This project example requires m2e
&gt;= 1.1.</property>
<property
name='connectorIds'>org.eclipse.m2e.feature</property>
</fix>
<fix type='plugin'>
<property name='id'>org.eclipse.m2e.wtp</property>
<property name='versions'>[0.16.0,2.0.0)</property>
<property name='description'>This project example requires m2e-wtp
&gt;= 0.16.0.</property>
<property
name='connectorIds'>org.maven.ide.eclipse.wtp.feature</property>
</fix>
<fix type='plugin'>
<property name='id'>org.jboss.tools.maven.core</property>
<property name='versions'>[1.4.0,2.0.0)</property>
<property name='description'>This project example requires JBoss
Maven Tools.</property>
<property
name='connectorIds'>org.jboss.tools.maven.feature,org.jboss.tools.maven.cdi.feature,org.jboss.tools.maven.hibernate.feature,org.jboss.tools.maven.jaxrs.feature</property>
</fix>
</fixes>
</project>
</projects>
{noformat}
* open Window > Preferences > JBoss Tools > Project Examples
* click Add... and point to your local quickstarts.xml
* Finish
* open the project example wizard
* select the "JBoss AS Quickstarts: CDI Injection" example
* create the project
ASSERT cdi-example/README.md should be opened once the project is created
FAIL -> nothing opens
README.md doesn't open for imported maven projects which name
differs from artifactId
-------------------------------------------------------------------------------------
Key: JBIDE-12819
URL:
https://issues.jboss.org/browse/JBIDE-12819
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven, project-examples
Affects Versions: 4.0.0.Alpha1
Reporter: Fred Bricon
Assignee: Fred Bricon
Fix For: 4.0.0.Beta1
While trying to import some zipped quickstarts from
https://github.com/jboss-jdf/jboss-as-quickstart, the README.md never opens if the project
name differs from the project artifactId
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira