Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Synchronous Jlink application development

smartanand

New member
Hi,


Have any one tried synchronous jlink application development in WSAD or NetBeans?


I want to create some synchronous web applications which will add some meu and new functionalities and I am having problems with debugging the code.


I used to write everything with notepad and test with ProE.


If any one has used WSAD or NetBeans or Eclipse, please explain me creating a sample jlink application in these IDE.


If you could tell me how to run the install test application using these IDE i would be grateful to you.


Thanks in advance.


Regards,


Anand.C
 
I do not use one of these, but I can advise J-creator. I use this for my asynchrous projects.


Interface is very simular to visual.net and you just need to the right library to the project settings. for you that will be eg. C:\Program Files\proeWildfire2\text\java\pfc.jar for synchronous programs.


View attachment 3742


Installation of J-Creatot is also very easy, see there website for more information
 
hi,


I have Jcreator also in my machine. The only concern i have is about the synchronous jlink application development.


Because in asynchronous jlink application you can start ProE through your application and then connect to the session.


But I am trying to develop a synchronous application, through which I am trying to add new menu to ProE UI and then add some functionality on clicking that menu.


Do you have any idea regarding this?


Thanks in advance.


Regards,


Anand.C
 
Anand.C,

I use Netbeans 5.5 for synchronous J-Link only for coding and compiling. Running is through Pro/E. Add your Pro/E jar files to the project and you get code completion etc.

Carl
 
hi Carl,


In that case, if you get any runtime errors, how will you debug?


Because I am getting "Application start up failed" error while trying to run the newly created application. I dont have any compilation error and my code gets compiled successfully.


I dont know the ways to get around this error.


Please help me out.


Regards,


Anand.C
 
During debug I write messages to std.out and std.err files.

If you are getting "Application start up failed", the problem could be somewhere besides your code, like protk.dat or your message files are not found or something like that.


Carl
 
Hi carl,


Thanks for your reply.


If I have System.out.println in my code will get printed out in std.out file?


Similarly this Jlink seem to look unstable. Because while developing the code initially everything was working fine and my application showed me some messages which i thought of displaying. But i changed a bit in my code and i did a re compilation and now it is not working.


I reverted back to my old code. I have reused the same protk.bat file just changing the necessary things and I have not changed it after my initial successfull run.


Can you see where the problem is?


Regards,


Anand.C
 

Sponsor

Back
Top