Page 1 of 1

How to install .patch files?

Posted: Thu Jun 25, 2009 11:48 am
by pokiokio
Hello , I'd like to know how to install .patch files please.

Thank you

Re: How to install .patch files?

Posted: Thu Jun 25, 2009 11:49 am
by Evilus
care to search for yourself on the forum next time?

http://www.l2jserver.com/wiki/How_to_Apply_a_Patch

Re: How to install .patch files?

Posted: Thu Jun 25, 2009 2:30 pm
by pokiokio
I did search ^.^ But no proper results. Anyway..DUH

Re: How to install .patch files?

Posted: Mon Jul 06, 2009 8:53 pm
by lishawj
Either search this forum or Google the Internet on applying .diff patch, java patch, etc.

In a nutshell:

1) You apply a patch manually by cut and paste.
2) You apply a patch by using Team -> Apply Patch (Eclipse)
3) You apply a patching using Tortoise SVN

Seriously, you can learn a lot these day by simply using Google and a few good keywords.

Re: How to install .patch files?

Posted: Wed Jul 15, 2009 6:55 pm
by storm3r
Evilus wrote:care to search for yourself on the forum next time?

http://www.l2jserver.com/wiki/How_to_Apply_a_Patch
thats got to be the most usless help i have ever read.
no person who is new to eclipse will ever be able to folow that 100%.

patching seems to be a big problem with alot of people.
anyone care to create a more detailed help file?

Re: How to install .patch files?

Posted: Wed Jul 15, 2009 6:58 pm
by Evilus
storm3r wrote:
Evilus wrote:care to search for yourself on the forum next time?

http://www.l2jserver.com/wiki/How_to_Apply_a_Patch
thats got to be the most usless help i have ever read.
no person who is new to eclipse will ever be able to folow that 100%.

patching seems to be a big problem with alot of people.
anyone care to create a more detailed help file?
I find that very informative says exactly what you need to do

Right click on L2_Gameserver. Select Team. Select Apply Patch.

Re: How to install .patch files?

Posted: Wed Jul 15, 2009 8:07 pm
by Vapulabe
1) install Linux or FreeBSD or NetBSD or OpenBSD
2) use the SVN command to checkout the SVN repository
3) use the patch command to insert the patch
4) build the project

"svn co uri" to checkout a repository
"patch -p0 < file.diff" (or -p1, depend on the patch)
"ant" to build the project

that's not very difficult... (I'd advise Linux as you'll find a J2SE SDK from Sun, unlike *BSD who have to rely on other Java implementations)