IBM FileNet P8, Version 5.2.1            


< Previous | Next >

Configuring an Eclipse Project

After you create a new project, you add the required JAR files and set the compiler compliance level.

Starting Eclipse

  1. On your system, start the Eclipse IDE application.
  2. In the Eclipse Workspace Launcher window, enter a workspace name. For example, C:\workspace or /opt/workplace.
  3. Click OK.
  4. If the Welcome pane opens, close the pane.

Creating a Project

  1. In the Eclipse menu bar, click File > New > Java Project.
  2. In the New Java Project dialog box, enter the project name in the Project name field. For example, P8ApiSample.
  3. Click Finish.

Adding IBM® FileNet JARs

  1. In Eclipse, if the Project Explorer pane is not already open, click the Show View icon in the lower left corner of Eclipse, then click Project Explorer.
  2. In the Project Explorer pane, right-click your project name, then click Properties.
  3. In the Properties dialog box, click the Java Build Path node in the left pane tree view.
  4. In the Java Build Path section of the Properties dialog box, click the Libraries tab.
  5. Click Add External JARs.
  6. In the JAR Selection dialog box, browse to the folder location for the JAR files Jace.jar, log4j.jar, and p8cel10n.jar.
  7. Using the Ctrl key, select the required JAR files from the file list.
  8. Click Open.
  9. Keep the Properties dialog box open and proceed to the next procedure.

Adding the Application Server JAR

A FileNet® P8 client application must include the JAR file from the WebLogic or JBoss application server to connect to that server.
  1. In the Properties dialog box, Libraries tab, Java Build Path section, click Add External JARs.
  2. In the JAR Selection dialog box, browse to the folder location for weblogic.jar or jbossall-client.jar.
  3. Select the JAR file from the file list.
  4. Click Open.
  5. Keep the Properties dialog box open and proceed to the next procedure.

Setting Compiler Compliance Level

The Java compiler that you use for your project must be compliant with the version used for the Content Engine Java API.
  1. In the Properties dialog box, click the Java Compiler node in the left pane tree view.
  2. In the Java Compiler section of the Properties window, select the Enable project specific settings check box.
  3. Select the Use default compliance settings check box.
  4. Select 1.6 from the Compiler compliance level list.
  5. Click OK.
  6. If the Compiler Settings Changed dialog box opens, click Yes.
< Previous | Next >



Last updated: October 2015

ss_ecl_wl-jb003.htm



© Copyright IBM Corporation 2015.