Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-1099

Provide an Api to massage a war file/directory which can be accessed by tools.


    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
    • Component/s: None
    • Labels:


      NetBeans 6.5 now supports deploy on save feature. It works as follows

      • Incase any change in JSP, just refresh your browser to get the updated jsp.
      • Incase any change in web.xml/classfile, the application gets deployed automatically.

      To achieve this, netbeans uses glassfish's exploded directory deployment feature where it deploys the build directory of a web application. So any changes in build directory is picked up automatically.(Ofcourse changes in class file/web.xml is resolved through automatic redeployment.)

      So to achieve the same behavior for portlet application in Portal Pack, we need to expose some api in liferay which will do the following tasks

      • Given a war file, it should return a massaged war which is ready for deployment on appserver.
      • Given a directory (with war structure), it should be able to massage it . And that directory can be deployed to glassfish appserver using exploded directory deployment feature.

      It will be very useful for the developers as they don't need to deploy their application again and again while changing any jsps during java portlets and scripting file (ruby/groovy/php) during non java portlets.




            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created:
                Days since last comment:
                6 years, 25 weeks, 3 days ago