Streamline Your Windchill Development: A Step-by-Step Eclipse Setup Guide

Open Eclipse and select the appropriate workspace.

Create a new Java project:

  1. Go to File -> New -> Project.

  2. Select “Java Project” and click on Next.

  3. Enter the project name.

  4. Select the appropriate JDK version depending on the Windchill version you are working on.

  5. Click on Finish. The project is created with a src folder.

Right-click on the project and click on Properties. Note: Navigating to project Properties is needed many times. The shortcut is to select the project and use “Alt + Enter”. This will navigate you directly to project properties.

Navigate to Java Compiler -> Building -> Output folder:

  1. Uncheck the “Scrub output folders when cleaning projects” and click on OK.

  2. Click on Yes. This will rebuild the project to apply the building settings.

Add OOTB Windchill JARs and codebase folder in the project workspace:

  1. Navigate to project properties. Use the shortcut (Alt + Enter) to navigate to project properties.

  2. Navigate to Java Build Path -> Libraries.

  3. Click on “Add External Jars”. This will open a new selection window.

  4. Navigate to Windchill_Home/lib and select all available libraries in this folder and click OK.

  5. Click on “Add External Jars”. This will open a new selection window.

  6. Navigate to Windchill_Home/codevase/lib and select all available libraries in this folder and click OK.

  7. Click on “Add External Jars”. This will open a new selection window.

  8. Navigate to Windchill_Home/codebase/WEB-INF/lib and select all available libraries in this folder and click OK.

  9. Click on “Add Class Folder”.

  10. Click on “Create New Folder”.

  11. Click on “Advanced”.

  12. Select the checkbox – “Link to folder in the file system”.

  13. Click on “Browse”.

  14. Navigate to Windchill_Home and select “codebase”.

  15. Click OK. This will take some time to add the codebase into the project workspace.

  16. Verify that the codebase folder is checked and click OK.

Setting build and class load orders:

  1. Select “Order and Export”.

  2. Select the codebase folder and click on “Top”.

  3. Use the Up/Down key to set the build order. All the source folders should have a higher build order than the codebase folder.

  4. Verify and click OK.

Final project setup:

  1. Navigate to the Project menu and verify that “Build Automatically” is checked. If not, then check it.

The Windchill Eclipse project setup is done. Now you are set to browse the files available in the workspace. For example:

  • Browse (Ctrl + Shift + R) jsp files.

  • Browse (Ctrl + Shift + R) properties files.