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

We are happy to announce the new Windchill Customization board! Learn more.

Setting up Eclipse or Netbeans Windchill Dev. Environment

sdrzewiczewski
7-Bedrock

Setting up Eclipse or Netbeans Windchill Dev. Environment

What needs to be done in either Eclipse or Netbeans so that I can do
some basic development?

I found a document on the web for Netbeans 5.5. I could do the steps
but the end result didn't appear to work.

Should this be a complicated process to setup?

Thanks,
Steve D.
4 REPLIES 4
jessh
5-Regular Member
(To:sdrzewiczewski)

Either way you should be able to put the necessary pieces of Windchill
into your project's classpath and go without too much magic.

Stephen Drzewiczewski wrote:
> What needs to be done in either Eclipse or Netbeans so that I can do
> some basic development?
>
> I found a document on the web for Netbeans 5.5. I could do the steps
> but the end result didn't appear to work.
>
> Should this be a complicated process to setup?
>
> Thanks,
> Steve D.
>

I have setup a general project type (right or wrong) and just included
the codebase and relevant jar files under libraries. I did not alter the
default build locations which is another option. I am open to hearing
other suggestions.
jessh
5-Regular Member
(To:sdrzewiczewski)

A couple of items:

1. You might want to jar up codebase and use the resulting jar rather
than codebase in your project classpath.
2. You should be able to use a web project, point at codebase, etc,
and get full JSP taglib coverage.

I say "might" and "should" as PTC R&D is in a bit different boat. We
use an internal Ant-based build framework and thus those of us who use
NetBeans use NetBeans' free-form projects to directly latch into this
build framework. In a lot of ways things should be simpler for
customization/field projects by comparison.

--
Jess Holle

Villanueva, Antonio wrote:
> I have setup a general project type (right or wrong) and just included
> the codebase and relevant jar files under libraries. I did not alter the
> default build locations which is another option. I am open to hearing
> other suggestions.
>



I only jar the wt and com packages (folders) under codebase as separate jar files. You can zip them and change file extension to jar - works the same. The only jar file you will need if you create custom webject in Info*Engine is the ie.jar under WEB-INF/lib



Jar idea is good otherwise if you revise a class it may try to resolve your old version of the class on the classpath. Be careful whatever you do because the auto builds will try and compile and/or copy the entire codebase to a build directory which wastes a lot of time and can eat up CPU.



I don't know how many ANT guru's are on here, but you can still achieve code completion and have a custo. build and deployment script with ANT and just disable all the auto builds, etc. I cannot share mine, but can provide insight into windchill and ant if anyone is interested.



I manage all customizations in a project like setup and typically will use a source code repository like Subversion, CVS, SourceSafeto manage the details.



David





Top Tags