Skip to Content
0
Former Member
Nov 30, 2006 at 07:34 PM

Problem to compile jar file

44 Views

Hi,

I must to modify jar file umelogonbase.jar (in the package com.sapportal.runtime.logon)

To do this I have created a java project with SAP NWDS.

Then into this project, I have done an import of a zip file (umelogonbase.jar) to create a the same tree of directory than in the jar, to keep the .properties ...

With DJ Java Decompiler I got the .java files. I put theses files at the same level then the .class (in the same folders). Then I removed the .class files.

Finally I have added to the project the libraries needed (Properties/Java Build Path).

When I do an export of the project to create a jar file, my jar file is created, but there are only the java sources files and not the class files. It seems that the project is not compilated.

When I use the command Project/Rebuild Project, nothing happen.

My goal is to create a JAR file with an identical architecture that the original. Just some classes will be modified. In this way I will can to replace the original jar file to the modified jar file.

Can you tell me how to process.

Regards

Jean-Philippe Demoget