[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4736) Add m2eclipse project-configurator for Seam projects

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Sun Aug 23 17:12:23 EDT 2009


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

Snjezana Peco commented on JBIDE-4736:
--------------------------------------

I have created mavenized booking application that can serve to test this feature.
The application is a pure maven application.
In order to test, you need to do the following:
- install/update m2eclipse >= 0.9.9.20090820 
- define Seam Runtime 2.1.1.GA and DefaultDS connection profile (they can be set after checking out Maven projects)
- open the https://svn.jboss.org/repos/jbosstools/workspace/snjeza/booking-mavenized/ directory in the SVN Repositories view
- select the booking, booking-ear, booking-ejb and booking-parent directories and call "Check out as Maven Project ..."
You will get a fully functional JBoss Tools Seam EAR application.
To deploy this application, you have to deploy the booking-ear/resources/booking-ds.xml datasource and the booking-ear application.

There is a problem related to the JBoss Tools deployer.
After performing these steps, the WEB-INF/lib directory won't be created on the server and the application won't work. If you try to create an EAR file using Export>Java EE>EAR file, this directory and required libraries will be created correctly.
I think this is a bug in the JBoss Tools deployer. A workaround is to call Maven>Update Project Configuration on the booking project. This action will create the "<wb-resource deploy-path="/" source-path="/src/main/webapp"/>" line in the booking/.settings/org.eclipse.wst.common.component file and the JBoss Tools deployer will create WEB-ING/lib and the required libraries. You can notice that "booking/.settings/org.eclipse.wst.common.component" will contain the above mentioned line twice which is a bug in m2eclipse.



> Add m2eclipse project-configurator for Seam projects
> ----------------------------------------------------
>
>                 Key: JBIDE-4736
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4736
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: maven
>    Affects Versions: 3.1.0.M2
>            Reporter: Max Rydahl Andersen
>            Assignee: Snjezana Peco
>             Fix For: 3.1.0.M3
>
>
> To get proper Maven integration we should explore the project-configurator of m2eclipse allowing you to import existing maven projects AND allow picking up settings setup in pom.xml after project have been created.
> Created this issue since I couldn't find something similar, let us discuss here what needs to be done/any problems ?

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