Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 1.09 KB

README.md

File metadata and controls

12 lines (11 loc) · 1.09 KB
  1. Download Sling 8 from http://www-us.apache.org/dist//sling/org.apache.sling.launchpad-8.jar
  2. Start Sling: java -jar org.apache.sling.launchpad-8.jar
  3. Open the Felix Web console: http://localhost:8080/system/console/bundles (admin/admin)
  4. Download the following bundles and install them from the Felix Web console (button "Install/Update", then check "Start bundle" and "Refresh Packages":
  1. Set OUTPUT_DIR value in GetPowerpointDocumentServlet
  2. Build and deploy the project, it will create a pptx from the Junit test mvn clean install -PautoInstallBundle
  3. Once the bundle is deployed and active, load this URL to create the document from Sling: http://localhost:8080/apps/test/poi.html

While the document from the JUnit contains a table, and can be opened with LibreOffice, the second one from Sling cannot be opened and ppt/slide1.xml is almost empty