Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java source code can not be found in eclipse

In an xpages application a javav source code was added to the Local folder within the Lotus nsf file. Now can not be seen, and can not be found with search. The code still woking, but it is not possible to modify it. How to get the source code back?

like image 342
Jozsef Lehocz Avatar asked Apr 09 '26 13:04

Jozsef Lehocz


1 Answers

The name "Local" is short for "Never-put-your-own-stuff-here-because-we-remove-it-without-warning-and-it-is-actually-not-inside-the-nsf". But that name was too long even for IBM naming standards, so we call it local.

Matter of fact: the NSF does not contain a local folder. It is on that one machine where you added in in your workspace directory (if you are lucky). On build the code is compiled and the class file stored into the NSF (this is why it works).

You have to go back to the original machine and hope the java file is still there (or in the machines Trash bin). Create a separate source folder under web-inf and add it to the classpath (or in 8.5.3++ use the Java Design element).

If that is gone: use a decompiler

like image 171
stwissel Avatar answered Apr 12 '26 01:04

stwissel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!