cancel
Showing results for 
Search instead for 
Did you mean: 

Decompiling Class Files, re-building project and redeploying

Former Member
0 Kudos

Hi

I need to make changes to an existing customized iview.

I have downloaded the par file, but src.core is empty.

I have then downloaded the jar file which I proceeded to decompile with DJ Java Decompiler.

Pls can somebody explain to me how I now include these files into a project and rebuild the par file so that I can make changes and test.

thanks in advance

Anton Kruse

Accepted Solutions (1)

Accepted Solutions (1)

praveenkumar_gudapati
Active Contributor
0 Kudos

Hi,

You should compile the modified decompiled class and replace it with the one inside the jar files. Then include this jar in par and deploy.

To replace class files in jar use winrar, steps:

1. Delete the class file from jar

2. insert new class into jar

Now deploy...

Greetings,

Praveen Gudapati

[Points are welcome for helpful answers]

Former Member
0 Kudos

thanks Praveen

Do I just copy the jar file into src.core before creating par file? (sorry I'm more of a web dynpro developer)

thanks

Former Member
0 Kudos

Hi,

You copy ur jar files in to the PORTAL-INF-->lib before creating PAR file, not src.core

Regards,

Senthil K.

praveenkumar_gudapati
Active Contributor
0 Kudos

hi,

Check the par file structure here:

http://help.sap.com/saphelp_nw70/helpdata/en/bb/1bb8428e05c86ae10000000a155106/frameset.htm

You have jar file in folders:

lib -- Contains all application library files (JAR) that can be referenced by other portal applications

private/lib -- Contains all application library files (JAR) that are used exclusively by the application.

So all <b>src.api</b> classes are put in <b>lib</b> folder, and src.core into private/lib.

If you are decompiling a jar, you should check from where you got it. (<b>lib</b> or <b>private/lib</b>). So place it back from where you took it.

Greetings,

Praveen Gudapati

Former Member
0 Kudos

Thanks All.

I am leaving the office soon, but will try suggestions early in the morning and reply again when I get a chance. I will close this post afterwards.

thanks again

Former Member
0 Kudos

Hi All

We managed to fix the problem through customizing.

So in the end no decompiling was necessary.

thanks again for your quick and helpful responses

Anton Kruse

Answers (0)