Faster server update?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 11
- Joined: Wed Jan 14, 2015 1:47 am
Faster server update?
Hello, I just wanted to ask if there was a easier way to apply a update to my server after I change some java code in eclipse and compile it besides opening the L2j_server.zip and L2j_database.zip and copying over every file. Thanks.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Faster server update?
If you only change the java part, then you can just compile and copy over l2jserver.jar from the build directory. For DP you don't need to compile anything as DP contains no compiled code - you can copy your changed files over directly. Or, if your server is located on the same machine as the source code (i.e. if you're just testing it) then you can just set the Config.DATAPACK_ROOT to your source dp folder and avoid compiling/copying anything.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.