Help with eclipse plz...
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- kotkot90
- Posts: 30
- Joined: Sat Jun 19, 2010 2:01 pm
Help with eclipse plz...
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...
- Aikimaniac
- L2j Inner Circle
- Posts: 3048
- Joined: Sun Aug 07, 2005 11:42 pm
- Location: Slovakia
Re: Help with eclipse plz...
DP: http://www.l2jdp.com/trac/wikikotkot90 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...
Core: http://www.l2jserver.com/trac/wiki
gl..
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Help with eclipse plz...
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).
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- kotkot90
- Posts: 30
- Joined: Sat Jun 19, 2010 2:01 pm
Re: Help with eclipse plz...
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.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).
I know, maybe I'm asking silly shit, but I'm totally noob in eclipse ...
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Help with eclipse plz...
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.
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- kotkot90
- Posts: 30
- Joined: Sat Jun 19, 2010 2:01 pm
Re: Help with eclipse plz...
thank you, I will try it 

- kotkot90
- Posts: 30
- Joined: Sat Jun 19, 2010 2:01 pm
Re: Help with eclipse plz...
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! 


-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Help with eclipse plz...
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
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
-
- Posts: 3
- Joined: Wed Dec 02, 2009 11:45 pm
Re: Help with eclipse plz...
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.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Help with eclipse plz...
no problemkotkot90 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!

nobody contact's others here via IM...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
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 3
- Joined: Wed Dec 02, 2009 11:45 pm
Re: Help with eclipse plz...
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
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
-
- Posts: 3
- Joined: Wed Dec 02, 2009 11:45 pm
Re: Help with eclipse plz...
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?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Help with eclipse plz...
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.