cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Eclipse Configuration Guide for Windchill Developer

Cat
10-Marble
10-Marble

Eclipse Configuration Guide for Windchill Developer

The guide is a useful instruction on setting up Eclipse development enviornment.

1 REPLY 1

Open eclipse and select appropriate workspace Create new Java project Go to File -> New -> Project Select “Java Project” and click on Next Enter project name. Select appropriate JDK version depends on the Windchill version you are working on. Click on Finish. The project is created with src folder Right click on project and click on Properties. Note: Navigating to project Properties needed many times. The shortcut is select project and use “Alt + Enter”. This will navigate you to directly project properties. Navigate to Java Compiler -> Building -> Output folder Uncheck the “Scrub output folders when cleaning projects” and click on OK Click on Yes. This will rebuild the project to take the building setting in effect. Add OOTB Windchill JARs and codebase folder in project workspace Navigate to project properties. Hope you used shortcut (Alt + Enter) to navigate to project properties Navigate to Java Build Path -> Libraries Click on “Add External Jars”. This will open a new selection window. Navigate to Windchill_Home/lib and select all available libraries in this folder and click OK. Click on “Add External Jars”. This will open a new selection window. Navigate to Windchill_Home/codevase/lib and select all available libraries in this folder and click OK. Click on “Add External Jars”. This will open a new selection window. Navigate to Windchill_Home/codebase/WEB-INF/lib and select all available libraries in this folder and click OK. Click on “Add Class Folder” Click on “Create New Folder” Click on “Advanced” Select the checkbox – “Link to folder in the file system”. Click on “Browse”. Navigate to Windchill_Home and select “codebase” Click OK. This will take some time to add the codebase into project workspace. Verify that codebase folder is checked and click OK. Setting build and class load orders Select “Order and Export” Select codebase folder and click on “Top” Use Up/Down key to set the build order. All the source folders should have higher build order than codebase folder. Verify and click OK Final project will look as below Navigate to Project menu and verify that the “Build Automatically” is checked. If not then check. The Windchill eclipse project setup is done. Now you are set to browse the files available in workspace. E.g. Browse (Ctrl + Shift + R) jsp files Browse(Ctrl + Shift + R) properties files
Announcements


Top Tags