0 Replies Latest reply on Mar 20, 2015 3:18 PM by Siva Masilamani

    Add module with resource having space in its name

    Siva Masilamani Newbie



      We are using JBoss EAP 6.0 and are trying to create a module for our application that reads PDF file to generate various forms and reports.


      The problem we are facing is that some of our PDF file names are having spaces in them and we were not able to add them to a module using JBOSS CLI.


      We can however create a folder and module,xml file manually but we would like to create it through  CLI as we will be automating this process sooner or later.


      Can you please tell me if it is possible to do it via CLI?




      in cli


      module add --name=test --resources="c:\JbossApp\pdf\Test Report.pdf" --module-xml="C:\jbossApp\pdf\module.xml"


      Output :


      Failed to locate c:\jbosseap6.0\bin\"c:\JbossApp\pdf\Test Report.pdf"