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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Windchill development environment setup

mprasad
10-Marble

Windchill development environment setup

How to establish a basic windchill customization environment setup. Please guide. I want to modify the java code (say sample) compile it and deploy it to server . please guide the steps

2 REPLIES 2
csavela
1-Visitor
(To:mprasad)

Have you read through the Windchill Customization Guide, specifically the chapter "Getting Started with Windchill Customization?" It's definitely a good place to start. https://support.ptc.com/view?im_dbkey=161141 <- Customization guide for 10.2 M020 but you should consider getting the guide for your version of Windchill.

The general steps I use are as follows:

  1. Install Eclipse
  2. Install appropriate JDK
    1. You'll want to compile Java files with the same Java version that your production Windchill uses.
  3. Associate your project to Windchill class files and.Jar files.
    1. For this part I use an OOTB Windchill to get access to Jars and class files for development. (All our customizations are linked from an SVN repository in Eclipse)
      1. For projects I use the codebase as an external class folder
      2. For projects I associate to Jar files
        1. You can either create a user library with the Jar files or directly associate them to each project you work on.
        2. Currently the only Jars i have needed are: \codebase\*.jar \codebase\lib\*.jar, \codebase\WEB-INF\lib\*.jar, \srclib\servlet.jar, \srclib\ie\infoEngine.jar and \srclib\tool\*.jar.
  4. Write some code, compile, paste into codebase appropriately, restart Windchill/Tomcat service and you are good to go.

I know my explanation isn't extremely detailed but hopefully it's enough to get you going. This also doesn't mention all the does and dont's of your request to "modify the java code." At one of the TC meetings I believe we talked about producing a best practices guide for this exact thing. Maybe this will re-spark the interest.

Hi,

Make sure you also go through Windchill Customization guide to get more in-depth knowledge about various customization that can be done in Windchill. You may also need to go through customization of Workflows, writing your listeners, UI customizations, validators etc.

Announcements

Top Tags