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.

Netbeans Windchill Configuration.

sachinnet
1-Newbie

Netbeans Windchill Configuration.

Hello,

I am looking for document to setup windchill development environment in Netbeans. Can anyone able to share document to configure windchill? Any help on this will be greatly appreciated.

Thanks in advance !

-Sachin

9 REPLIES 9

Hi Sachin,

it's a little bit old (for NetBeans 5.5) but Wincom Consulting has a document describing some steps that can help you:

http://www.wincom-consulting.co.uk/projects/how-tos/how-to-setup-the-netbeans-ide-for-windchill/

Regards


Iker Mendiola

Prambanan IT Services
http://www.prambanan-it.com



http://www.prambanan-it.comIker Mendiola - Prambanan IT Services
avillanueva
22-Sapphire I
(To:sachinnet)

There may be more too this. PTC docs recommend using a wtCustom and wtSiteMod folder to managed files added to the codebase. Ant scripts are used to push code into codebase folder. It helps keep OOTB code separate from your modifications.

I think eclipe IDE more userfull for the Windchill coding. I can run them from USB flash, just add local codebase to workspase. Anybody know which java IDE use in PTC company?

They use both, maybe a little more eclipse. They both work for developing in Windchill so for example attaching a debugger to the Method Server works for both. They are very similiarso the best one is probably the one you know best.

I use Eclipse forPDMLink 8.0 and 9.1 development.I've found that adding the entire codebase to your project's classpath results in sluggish rebuilds and refreshes. Instead, I add the codebase as an external folder to the Eclipse project and make that the default output folder. As my code needs access to api classes, I add the correctindividual jar to the build path. Finding thecorrect jar for a given API class is daunting unless you use a tool like JarBrowser(http://jarbrowser.sourceforge.net/) You give JarBrowser a folder in which your jars are located (such as %WT_HOME%\srclib) and the class you're looking for, and it will give you the correct jar.

Nathan,
There is also a windchill command line utility named *Which*
*
*
*windchill wt.util.jmx.Which wt/part/WTPart.class*
* *
* *It came handy to me many times.
*
*
*
*
*Regards,*
*Prathap
*
jessh
5-Regular Member
(To:sachinnet)

Note that Which searches the classpath for the specified resource. If
you launch it from a Windchill shell, then this means the Windchill
server classpath (unless you modify the CLASSPATH environment
variable). This means classes in codebase would be found there, which
is very useful information in many cases, but in this case it won't
point out which jar in srclib/* could be used instead.

You could easily create a script that set CLASSPATH to include all of
these jars and then invoked Which (with Java 6 you can use classpath
wildcard syntax to make this easy).

You could also use Ant to zip up all .class files from codebase into a
codebase.jar and use it in place of codebase but otherwise use the
server classpath jars.

--
Jess Holle

jessh
5-Regular Member
(To:sachinnet)

On 5/11/2010 12:17 PM, Jess Holle wrote:
> Note that Which searches the classpath for the specified resource. If
> you launch it from a Windchill shell, then this means the Windchill
> server classpath (unless you modify the CLASSPATH environment
> variable). This means classes in codebase would be found there, which
> is very useful information in many cases, but in this case it won't
> point out which jar in srclib/* could be used instead.
>
> You could easily create a script that set CLASSPATH to include all of
> these jars and then invoked Which (with Java 6 you can use classpath
> wildcard syntax to make this easy).
>
> You could also use Ant to zip up all .class files from codebase into a
> codebase.jar and use it in place of codebase but otherwise use the
> server classpath jars.
P.S. To be clear I am suggesting the use of a codebase.jar for
compilation, not for running the product.

this is a plugin we use to help us control the rescanning

http://wiki.netbeans.org/ScanOnDemand

stops the endless rescanning project

Top Tags