Compiling(Building) Changes(fixes) .class while I don't need that. [message #747047] |
Sun, 23 October 2011 22:12 |
Kami Messages: 1 Registered: October 2011 |
Junior Member |
|
|
So basically I'm new to java,(Well i came from C# so its almost the same),
I started working on some emulated server files,
In this case :
I decompile whole .jar , file full of .class files,
In eclipse started new project (around the folder where i extracted source)
And new project was made perfectly (Ofcorse lot of errors where in there, but just because i decompile and use just one .jar file out of package and that shouldn't be the problem) The main problem for me, is when i try to build project it compiles .java files to .class files perfectly, Just the thing java compiler dose is
Fixes errors...
for example I had :
config.java(Not compiled yet)
import gnu.trove.TIntIntHashMap;
import gnu.trove.TIntObjectHashMap;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
import java.util.StringTokenizer;
import java.util.logging.Logger;
import javolution.util.FastList;
import net.sf.l2j.gameserver.util.FloodProtectorConfig;
import net.sf.l2j.util.StringUtil;
And after fixing and cleaning It results me with .class files like it :
package net.sf.l2j;
import FastList;
import TIntIntHashMap;
import TIntObjectHashMap;
import java.io.File;
import java.util.List;
import java.util.Properties;
import java.util.logging.Logger;
import net.sf.l2j.gameserver.util.FloodProtectorConfig;
Since i wanna same old file just with my custom edits without any fixes with all errors kept,
How can i achieve that? Maybe i should download any other builder/compiler for eclipse as plugin or something?
Thank you for help.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02642 seconds