[jboss-user] [JBoss Tools] - .js files not correctly deployed via JBDS / JBoss Tools

Daniel Leighton do-not-reply at jboss.com
Mon Jan 10 01:40:19 EST 2011


Daniel Leighton [http://community.jboss.org/people/dleighton] created the discussion

".js files not correctly deployed via JBDS / JBoss Tools"

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

--------------------------------------------------------------
We have a Seam application (deploying to JBoss EAP 5.x) structued as an exploded EAR, built through JBoss Developer Studio 3.0. 

Our issue relates to deployment to the embedded EAP server (i.e. via server, add/remove -> JBDS or JBoss Tools). When deploying, everything makes it into the EAR correctly *except* a series of complementary javascript files (resources of sorts, I guess) which are stored under a subfolder under Webcontent in top level web project (specifically “project/WebContent/javascript”). An example of a file name therein is "au.gov.abs.ssg.ece.ui.dataExtract.js"

Basically, these files never get deployed into the application EAR (or actually the WAR inside the EAR). Instead we end up with an empty “javascript” folder in the deployed EAR - i.e. the individual files aren't automatically copied into the folder as you would expect. 

We can manually copy them in to the deployment, but it's a pain (and easy to forget). I can't for the life of me find any settings or differences with any other sub folder in the project which might explain why these specific files aren't getting deployed. 

FWIW, the structure of the project is as follows: 
* project * build 
* lib 
* src 
* Webcontent   * common   
* crud   
* img   
* javascript   - +the only folder with this issue+
* layout   
* manualProcessing 


* project-ejb * ... 

* project-test* ... 


Any ideas at all as to why .js files wouldn't be properly copied/deployed into the exploded EAR? 

Note I've also posted this same query - with no luck as yet re responses - at 
 http://stackoverflow.com/questions/4456906/javascript-files-not-deploying-into-ear http://stackoverflow.com/questions/4456906/javascript-files-not-deploying-into-ear
 http://www.seamframework.org/Community/JBDS30JsFilesNotCopiedIntoEAR http://www.seamframework.org/Community/JBDS30JsFilesNotCopiedIntoEAR
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110110/8a281a8a/attachment.html 


More information about the jboss-user mailing list