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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Eclipse Configuration

Chanhasen
5-Regular Member

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

6 REPLIES 6
mdigman
6-Contributor
(To:Chanhasen)

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

jessh
5-Regular Member
(To:Chanhasen)

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.

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

Did you checked this document.

Regards
~Syed

Hi Syed,

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

Hello, there is a video of training for example from the documentation

https://www.youtube.com/watch?v=-14BSAwteVw&list=PLjm4gmbLQwoeqQSP7xUhCnInGknqTBAZV&index=2

Basic Customization Getting Started With Windchill Customization https://support.ptc.com/help/wnc/r11.2.0.0/en/index.html#page/Windchill_Help_Center%2FWCCG_Oview_GetStartCust_Intro.html%23
Top Tags