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

Eclipse Configuration

Level 7

Eclipse Configuration

Hi All,

I have configured eclipse with windchill using "ant -f bin/tools.xml eclipse_project" cmd and imported the cust_windchill_src in eclipse..

I m able to created,compile ,reload,debug java files successfully.but for jsps,xmls its not working..I have atatched the error screen shot.

is there any configuration for jsp's,actions(netmarkets,config folder) in eclipse..

Thanks,

Chanhasen

Tags (1)
5 REPLIES 5

Re: Eclipse Configuration

Hi Chan,

I was looking for the same thing. In the PTC Knowledge base the only reference I had was this:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS45954

For someone who is just getting into Windchill customization and jsp, however, that article leaves a lot to be desired. Basically, it tells you it is possible, but leaves lacks details and an example.

I am wondering if you ever found a better answer?

Micah

Re: Eclipse Configuration

I don't use Eclipse, but there's not all that much special here with Windchill.

The standard "classpath" for a JSP is dictated by the J2EE JSP and servlet specifications and boils down to <webAppDocumentBase>/WEB-INF/classes and <webAppDocumentBase>/WEB-INF/lib/*[.jar]. For taglibs, etc, there is also special handling based on what is found in WEB-INF/web.xml. Various file references are relative to the web application's document base.

In the case of Windchill, <webAppDocumentBase> is WT_HOME/codebase. This itself is at the front of the classloader lookup, rather than <webAppDocumentBase>/WEB-INF/classes. Also in 10.0 and higher, the classpath is augmented with WT_HOME/lib/*[.jar] -- and whatever else is added to the Windchill server classpath. Apart from those classpath oddities, however, Windchill just follows normal JSP/servlet development.

Re: Eclipse Configuration

Hi Chanhasen

"ant -f bin/tools.xml eclipse_project" cmd and imported the cust_windchill_src in eclipse..

how did u get this. I tried that command but i am unable to get that cust_windchill_src in eclipse. Can you please help me.


Regards,

Ram

Re: Eclipse Configuration

Did you checked this document.

Regards
~Syed

Re: Eclipse Configuration

Hi Syed,

I used your document. Still I am not getting the File Synchronization in eclipse. I am sharing that screens, please help me.