Changes between Version 34 and Version 35 of VirtualAppliance


Ignore:
Timestamp:
05/20/08 23:18:03 (2 years ago)
Author:
jharrop
Comment:

Simplified instructions, now that maven manages all dependencies in docx4j and docx4all

Legend:

Unmodified
Added
Removed
Modified
  • VirtualAppliance

    v34 v35  
    6262 
    6363But you probably want support for styles and everything else (font handling, view source) we added after building the appliance.  To get it:[[br]] 
    64 1. update docx4j (see next heading), then do svn update in the docx4all project (in Eclipse, right click on docx4all, then choose Team > Update) [[br]] 
    65 2. in Eclipse, in the docx4j project's build path, Order and Export tab, select all, so that docx4all can see them [[br]] 
    66 3. in Eclipse, add the jars in docx4all project's lib dir to docx4all's build path [[br]] 
    67 4. in Eclipse, remove now missing jars core-renderer.jar, and PDFRenderer.jar from docx4all's build path (Libraries tab). [[br]] 
    68 5. in Eclipse, re docx4all's build path, on the Order and Export tab, make sure "Maven Dependencies" is listed before doc4j (otherwise, when you run docx4all from within Eclipse, it won't find docx4all's Maven Dependencies (which will result in an error jaxen not found) [[br]] 
    69 6. now it should run happily  [[br]] 
    70 7. to verify, navigate to workspace/docx4all/sample-docs then open docx4all-fonts-bolditalic.docx. You might want to [wiki:VirtualApplianceFonts install some fonts].  
     641. do svn update in the docx4all project (in Eclipse, right click on docx4all, then choose Team > Update) [[br]] 
     652. Build Path > Configure Build Path > Java Build Path > Source tab; Remove the existing entries, and: [[br]] 
     66    Add src/main/java [[br]] 
     67    Add src/main/resources [[br]] 
     683. in Eclipse, in docx4all project's build path, remove all the jars on the Libraries tab, since Maven now handles these.  Also, remove the AppFramework and docx4j projects, since they are also packaged as Maven dependencies. [[br]] 
     694. now it should run happily  [[br]] 
     705. to verify, navigate to workspace/docx4all/sample-docs then open docx4all-fonts-bolditalic.docx. You might want to [wiki:VirtualApplianceFonts install some fonts].  
    7171 
    7272To update the JNLP, from a terminal in the docx4all project: [[br]] 
     
    7676restart tomcat if necessary. 
    7777 
     78== m2eclipse == 
     79 
     80Recommend you update m2eclipse to the 0.9.x series. Get the Maven2 plugin for Eclipse from the update site at http://m2eclipse.sonatype.org/update-dev/ 
     81 
    7882=== docx4j === 
    7983 
     
    8185 
    82861. in Eclipse, right click on the project, then choose Team > Update) [[br]] 
    83 2. add new jars to docx4j's build path (right click on docx4j > Build Path > Configure Build Path > Libraries tab > Add JARs button > docx4j > lib > select the 4 jars present)  [[br]] 
    84 3. remove the old jars itext-paulo-155.jar and core-renderer-minimal.jar 
     872. remove all jars from docx4j's build path (right click on docx4j > Build Path > Configure Build Path > Libraries tab), since Maven now handles these   [[br]] 
    8588 
    8689=== Alfresco ===