What is the best way to change the GWT library in a bank?

I want to change the way gwt-log works. I have a jar file with all the source in it and I am using eclipse. How can I make changes to the source, recompile it and export it as a jar file, which I can simply change to my project?

0
java jar gwt
source share
2 answers

You can check the sources from the Google SVN repository in Eclipse, which will create the project for you.

Another way is to simply create an empty Java project in Eclipse and upload the source files from jar to the src folder.

To make a jar, you usually need an ant build file, since Eclipse does not make a jar for you. So, something like these lines in the project root folder:

<?xml version="1.0" encoding="UTF-8"?> <project name="GWTLog.makejar" default="makejar" basedir="."> <target name ="makejar" description="Create a jar for the GWTLog project"> <jar jarfile="gwt-log-custom-3.0.4.jar" includes="*.class" basedir="bin"/> </target> </project> 
+1
source share

You can do this by adding your own path (the desired class that you want to change) to the original path, the packages should be the same with the jar path, but you need to create it in your src.

+2
source share

All Articles