Installing Apache MyFaces Runtime Jar Files

You can edit, deploy and test JSF pages in the Eclipse WTP or Sybase WorkSpace IDE. If the IDE does not include JSF runtime Jar files, you will need to download a copy and install them.

  1. Download the appropriate release of the Apache MyFaces JSF implementation from the : Apache MyFaces Project website
  2. Extract the myfaces-all.jar to an appropriate folder.
  3. Download the dependency jar files from the same site and copy the jar files of the folder myfaces-blank-example\WEB-INF\lib to the Apache MyFaces lib folder. You should have the following jar files:
    • commons-beanutils-1.6.1.jar

    • commons-codec-1.2.jar

    • commons-collections-3.0.jar

    • commons-digester-1.5.jar

    • commons-el.jar

    • commons-logging.jar

    • commons-validator.jar

    • log4j-1.2.8.jar

  4. In PowerDesigner, select Tools > General Options > Variables, and define a JSF_LIB variable to indicate the Apache MyFaces implementation lib folder path.