Jump to content
  • 0

How I can add java codes to that?


Question

Posted

Hello to all mxc!

First of all say that this is my first experience with eclipse. I have downloaded This pack and it has inside a source folder. Well, if I want to add java codes on it, what I have to do exactly? since I know, is not the same as compile a pack. If some could take me some clues... I would be really pleasured!

 

Thanks in advice

12 answers to this question

Recommended Posts

  • 0
Posted

Hello to all mxc!

First of all say that this is my first experience with eclipse. I have downloaded This pack and it has inside a source folder. Well, if I want to add java codes on it, what I have to do exactly? since I know, is not the same as compile a pack. If some could take me some clues... I would be really pleasured!

 

Thanks in advice

 

Question as answer looks stupid, anyway.

 

To add java codes, you edit sources with any notepad type, or preferably an IDE such as Eclipse. Once you edited sources, you compile them and replace files (generally only the l2jserver.jar is enough)

  • 0
Posted

Question as answer looks stupid, anyway.

 

To add java codes, you edit sources with any notepad type, or preferably an IDE such as Eclipse. Once you edited sources, you compile them and replace files (generally only the l2jserver.jar is enough)

 

Oh, I usually forgot that you have born learned :)

  • 0
Posted

Oh, I usually forgot that you have born learned :)

You can be a newbie as I was 2,5y ago but still have some logics. You download sources, how do you think you can add codes in sources, except editing it ? Just double click on any file and edit it.

 

Anyway I answered, and Gunar sent you link to compile through Eclipse.

 

PS : My first question on MxC was "what is a NPE" (that was my 8th post). And that was 4 months after I begun to use L2J. You can find it here.

  • 0
Posted

You can be a newbie as I was 2,5y ago but still have some logics. You download sources, how do you think you can add codes in sources, except editing it ? Just double click on any file and edit it.

 

Anyway I answered, and Gunar sent you link to compile through Eclipse.

 

PS : My first question on MxC was "what is a NPE" (that was my 8th post). And that was 4 months after I begun to use L2J. You can find it here.

 

Well nice, in that case maybe you have borned learned or you had so much knowledge before joining this forum, really, gz. But I havent, and since thats my first try on eclipse and I dont know so much, I will probably make stupid questions until I compile succesfully a pack for first time.

 

Returining to the topic ,when I try to put the SVN repository I put file:///C:/Users/Usuario/Desktop/Source/L2J_DataPack/ and file:///C:/Users/Usuario/Desktop/Source/L2J_Server/ but I get this error:

 

sinttulowlx.png

 

Any ideas about that?

 

Thanks

 

  • 0
Posted

It awaits the directory for a SVN server, not a directory of your local machine.

 

SVNs for L2J are following, there are one or 2 differents for every existing project (L2J decided to split core and datapack in 2 SVNs, dunno why) :

 

And perhaps you should read their tutorials instead of MxC's.

  • 0
Posted

But in case I want to use a local SVN as this case, there arent any way?

A SVN link refers to a SVN server ; you can install a SVN server but it's kinda fat if you got only one computer to work on. Services such as Assembla or xp-dev allow you to host projects for free.

 

You can add a project without SVN, just use Import/Export or even a drag and drop if structure is correct.

 

SVN is only to keep a system of releases. That's far preferable to use one, because it keeps all things you edited. That's not needed.

 

Basically, you import your project (drag and drop/import) on eclipse, then link your project to a SVN. If project was from a externalsource, you add svn of that project, checkout (= download) and then can begin to play with the local copy.

  • 0
Posted

I dont know exactly what you mean with that:

 

Basically, you import your project (drag and drop/import) on eclipse, then link your project to a SVN. If project was from a externalsource, you add svn of that project, checkout (= download) and then can begin to play with the local copy.

 

You mean that I can upload the source to my web hosting and then put the link in SVN?

 

 

  • 0
Posted

Just import your sources on eclipse.

 

If you want a versioning of your project, then use SVN. Eventually search a tutorial or anything on that forum or on Google, same for svn description.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...