cancel
Showing results for 
Search instead for 
Did you mean: 

How to Access Class files

Former Member
0 Kudos

I have uploaded a par file from the portal and need to modify a class file. However the files that are supposed to be in the src.core file are not there!

I have located the cooresponding class files under Portal-INF->Classes. However when I try to open them I get the message "Cannot open default editor on myBean.class. The classfile is not on the classpath...

How do I resolve this to get to the code behind the class?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you need to use decompiler to decompile those class files into java files.look for some decompilers in google and make the changes and compile them carefully and then create a jar file again

Thanks

Bala Duvvuri

Answers (1)

Answers (1)

nitin_mahajan2
Contributor
0 Kudos

the standard par files from SAP contains JSPs, The code should be there.

Check the location:

....\dist\PORTAL-INF\pagelet

Regards,

Nitin

Former Member
0 Kudos

Yes - I was able to retrieve the jsp files but I was looking for the java files which make up the classes - sometimes these need to be modified as well.

nitin_mahajan2
Contributor
0 Kudos

Your logic is there in jsps.

Avoid changing the class files by using decompiler.

Regards,

Nitin

Edited by: Nitin Mahajan on Jun 22, 2009 8:22 PM

Edited by: Nitin Mahajan on Jun 22, 2009 8:23 PM