Faster server update?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
LSG
Posts: 11
Joined: Wed Jan 14, 2015 1:47 am

Faster server update?

Post by LSG »

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.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Faster server update?

Post by jurchiks »

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.
Post Reply