This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hello there, When deploying a JEE project (EJB + Web [JSF]) inGlassfish, only the folders filled are deployed. For example: Project-War _ | --web Pages ___ | --web-INF (folder) ___ | --resources (folder) _____ | --img _______ | --picture1.jpg (file) _______ | --picture2.jpg (file) _______ | --background (Folder) _____ | --css (folder) _______ | --stylesheet1.css (file) ___ | --......... _ | --source Packages (folder) The "background" folder is not deployed, but if I add a file to that folder, it will be deployed. Conclusion: Netbeans deploys only non-empty folders ?! Thank you in advance for your advice.
no feedback ?
Not a P1 I guess. Will try to look at it. Just curious - what error will happen if the empty directory is not deployed? Thanks.
Hello, (Thank you for your response Tomas Mysik) no error message in console, but if the application needs to access this folder undeployed , there will be an IO exception. Here's how to reproduce this bug : Config: - Windows 7 64bits - Netbeans 8.0.2 - JVM 8 - Glassfish 4.1 Procedure: 1) Open Netbeans :p 2) File > New Project 3) Choose project >> Category : Java EE | Project : Entreprise Application 4) Now you have 2 modules , EJB and Web 5) Go to Web Project(xxxxx-war), select folder 'Web Pages' 6) Add these files : _ | --web Pages ___ | WEB-INF ___ | Folder1 ___ | Folder2 _______ | --Folder21 _______ | --Folder22 ___________ | --Folder221 7) Clean & build, Deploy project (EJB and War) = EAR 8) Go to "NetbeansProjects" Folder > xxxxx > dist > gfdeploy > xxxxx > xxxxx_war you will find only Folder2 and Folder22 like this : ___ | Folder2 _______ | --Folder22 ___________ | --Folder221 :/ note: if you look at the EAR archive you will find all folders !! the problem is just in gfdeploy. Thanks
Reassigning, please evaluate. Thanks.
Sorry, not sure about proper BZ component. Thanks.
Reproducible only for EAR.
Fixed in web-main efda7ddda961.
Integrated into 'main-silver', will be available in build *201508270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/efda7ddda961 User: Petr Hejl <phejl@netbeans.org> Log: #246613 - Netbeans deploys only non-empty folders (EAR project + Glassfish) ?