Help with eclipse plz...

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
kotkot90
Posts: 30
Joined: Sat Jun 19, 2010 2:01 pm

Help with eclipse plz...

Post 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...
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Re: Help with eclipse plz...

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

Re: Help with eclipse plz...

Post 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).
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.
User avatar
kotkot90
Posts: 30
Joined: Sat Jun 19, 2010 2:01 pm

Re: Help with eclipse plz...

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

Re: Help with eclipse plz...

Post 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.
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.
User avatar
kotkot90
Posts: 30
Joined: Sat Jun 19, 2010 2:01 pm

Re: Help with eclipse plz...

Post by kotkot90 »

thank you, I will try it :)
User avatar
kotkot90
Posts: 30
Joined: Sat Jun 19, 2010 2:01 pm

Re: Help with eclipse plz...

Post 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! :mrgreen:
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Help with eclipse plz...

Post 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
starshine
Posts: 3
Joined: Wed Dec 02, 2009 11:45 pm

Re: Help with eclipse plz...

Post 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
Last edited by starshine on Sat Aug 14, 2010 2:11 pm, edited 1 time in total.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Help with eclipse plz...

Post 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! :mrgreen:
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.
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.
starshine
Posts: 3
Joined: Wed Dec 02, 2009 11:45 pm

Re: Help with eclipse plz...

Post 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
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Help with eclipse plz...

Post by Probe »

starshine
Posts: 3
Joined: Wed Dec 02, 2009 11:45 pm

Re: Help with eclipse plz...

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

Re: Help with eclipse plz...

Post by jurchiks »

the source is what you compile...
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