[jboss-user] [JBoss Tools (users)] - Re: ear project is invisible for JBoss 5.1. Runtime Server

SergeySmirnov do-not-reply at jboss.com
Mon Jul 27 17:57:19 EDT 2009


Just have done with scratch.

Fresh copy of Eclipse 3.5 JavaEE unpacked to the disk

Inside the Eclipse: 
Installing JBoss Tool from http://download.jboss.org/jbosstools/updates/nightly/trunk/

[x] Jboss Tools 
[ ] Jboss Tools Integration

restarting eclipse

Installing m2eclispse from http://m2eclipse.sonatype.org/releases/0.9.9.200906081351/

[x] maven Integration
[ ] maven optional Components
[ ] maven Project Configuration

restarting eclipse

outside Eclipse

Checking out the fresh copy of Photoalbom from  https://svn.jboss.org/repos/richfaces/tags/3.3.1.GA/examples/photoalbum/source

inside Eclipse

Server View: 
Add Server -> JBoss AS 5.1 points to C:\work\jboss-5.1.0.GA

Import -> Maven/Existing Maven Projects

Root Directory points to code taken from svn above. ejb/web/ear project are recognized

Clicking Finish

Project view contains four projects just imported

on the server view: Add and Remove.... from the context menu of JBoss 5.1 Runtime Server

Result:

"There are no resources that can be added or removed from the server"

end of story.

What did I miss during this scenario?




P.S. the name of the ear/ejb/web project contains ${projectName} instead of 'photoalbum', but it is another problem of project itself:

(7/27/09 2:51:07 PM PDT: Build errors for ${projectName}-ejb; org.apache.maven.lifecycle.LifecycleExecutionException: Invalid or missing parameters: [Mojo parameter [name: 'outputDirectory'; alias: 'null'], Mojo parameter [name: 'resources'; alias: 'null']] for mojo: org.apache.maven.plugins:maven-resources-plugin:2.3:copy-resources

)



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246302#4246302

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246302



More information about the jboss-user mailing list