Rob Stryker [http://community.jboss.org/people/rob.stryker] created the 
discussion

"Re: Can't follow AS7/JBoss Tools video example"

To view the discussion, visit: http://community.jboss.org/message/624407#624407

--------------------------------------------------------------
The "Mark as deployable" feature was intended to be used originally just to 
deploy an xml file or static file directly with no change. After a while, users 
said they wanted the freedom to mark a folder as deployable too. The folder or 
file (resource) is not intended to be modified or manipulated at all by the 
deployment process, with absolutely no brains to it at all. 

To do something slightly smarter, you'd probably want to open up the "Project 
Archives" view and make what amounts to a zip-configuration for the project, to 
declare how to properly zip it up. Project archives will then make sure after 
every change to a file that is represented by your zip-config's filesets, the 
output jar is updated. Then you can simply mark that output jar as "deployable" 
and have that deployed to the server.

Any improvements you can think of to the workflow are much appreciated, but the 
"mark as deployable" is meant to be as dumb as rocks for the specific use case 
of a project already in the proper layout to simply be copied over to the 
server.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/624407#624407]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to