Page 1 of 1
Help with eclipse plz...
Posted: Fri Aug 13, 2010 12:08 am
by kotkot90
I want to make my own custom changes in the code and want to put something like marks or annotations, so I am able to easily find the files and the places I made my changes, and when I made them. Please help me find this...
Re: Help with eclipse plz...
Posted: Fri Aug 13, 2010 12:50 am
by Aikimaniac
kotkot90 wrote:I want to make my own custom changes in the code and want to put something like marks or annotations, so I am able to easily find the files and the places I made my changes, and when I made them. Please help me find this...
DP:
http://www.l2jdp.com/trac/wiki
Core:
http://www.l2jserver.com/trac/wiki
gl..
Re: Help with eclipse plz...
Posted: Fri Aug 13, 2010 2:11 pm
by jurchiks
when you make your changes to code and synchronize with the svn it will show the files/lines you've modified.
Additionally, subversion plugins for eclipse mark the modified files with a small icon (smth like * with a black background), it can be changed to smth else though (depends on plugin).
Re: Help with eclipse plz...
Posted: Fri Aug 13, 2010 5:30 pm
by kotkot90
jurchiks wrote:when you make your changes to code and synchronize with the svn it will show the files/lines you've modified.
Additionally, subversion plugins for eclipse mark the modified files with a small icon (smth like * with a black background), it can be changed to smth else though (depends on plugin).
subversion is a kind of a server keeping the source files ?, or that can aply to a local repository? What I want to do is not to develop the retail l2, but make custom mods and find my own code in there , like svn annotate, so I can easily find my own changes and apply them to new revisions.
I know, maybe I'm asking silly shit, but I'm totally noob in eclipse ...
Re: Help with eclipse plz...
Posted: Fri Aug 13, 2010 6:54 pm
by jurchiks
You can do all that with l2j's svn... just make your changes, and when an update comes out, do a synchronize and update what you need... read my signature for god sakes.
but if you want to make your own svn, register in assembla and commit to your own svn (they have a guide there), then you will have only outgoing changes.
in short, disconnect your current source from l2jserver's svn (both core and dp), and then do right click>team>share project and enter your assembla svn. then it will commit it (should take a lot of time, some 10 minutes at least)
then, naturally, you can do what you want - commit/revert/synchronize/compare.
Re: Help with eclipse plz...
Posted: Fri Aug 13, 2010 9:59 pm
by kotkot90
thank you, I will try it

Re: Help with eclipse plz...
Posted: Sat Aug 14, 2010 12:54 pm
by kotkot90
I did it with VisualSVN Server, I think everything works great

. I deleted the svn data that was there and now commit my own changes to own repository. Thx for help!

Re: Help with eclipse plz...
Posted: Sat Aug 14, 2010 1:16 pm
by Probe
just a question: are you the only one working on your servers source code?
if you are, then why keep up a svn server in the first place?
all you need to do is keep a checked out project in eclipse\netbeans , and use team synchronize
Re: Help with eclipse plz...
Posted: Sat Aug 14, 2010 1:49 pm
by starshine
need some help ... i wanna implement a code into my server already existent trogh eclipse (never used before) can you help me with some info's? thanks a lot
Re: Help with eclipse plz...
Posted: Sat Aug 14, 2010 1:54 pm
by jurchiks
kotkot90 wrote:I did it with VisualSVN Server, I think everything works great

. I deleted the svn data that was there and now commit my own changes to own repository. Thx for help!

no problem
starshine wrote:need some help ... i wanna implement a code into my server already existent trogh eclipse (never used before) can you help me with some info's? please contact me on yahoo messenger : tdi_ro ... thanks a lot
nobody contact's others here via IM...
if the code is already in the source, you don't need to implement it.
But if you need to apply a patch, then right-click on your project>team>apply patch...
if there are errors, apply by hand (the patch can be opened with any text editor).
If it's not a patch but just the changes written in a .txt file, then there's only the second option (apply by hand).
If you don't know how to do any of that, DON'T touch l2jserver.
Re: Help with eclipse plz...
Posted: Sat Aug 14, 2010 2:13 pm
by starshine
ok ... how can i open the source via eclipse? ... my server was made without it ... and i don't know how to do that ... the rest i think i can manage
Re: Help with eclipse plz...
Posted: Sat Aug 14, 2010 2:18 pm
by Probe
Re: Help with eclipse plz...
Posted: Sat Aug 14, 2010 2:36 pm
by starshine
i did ... i've compiled my new server ... but how can i open the source? to implement a patch? can i find somewhere a guide?
Re: Help with eclipse plz...
Posted: Sat Aug 14, 2010 9:27 pm
by jurchiks
the source is what you compile...