- Joined
- Nov 14, 2008
- Messages
- 1,025
- Reaction score
- 641
Although this is not really maplestory related, i think this will make people's life easier, especially those updating to a higher version.
Hotswapping is where whenever you save / make a change in a class, the class is automagically recompiled and swapped with the one in the currently running JVM. First you need to know how to run the server inside of Netbean
How to run the server inside of Netbean
1. right-click your project > properties > Run
2. enter your bat's parameter in the argument box. (Wz)
for example with me: -Dnet.sf.odinms.wzpath=wz
3. move your main folders inside your project folder (wz and scripts)
4. you can now run inside of netbean using this button
You can also do memory profiling using netbean's profiler
How to use hotswapping
1. Tools > Options > Miscellaneous > Java Debugger > General
Check the box that says "Apply code changes ... blah blah"
2. Right project > Build > Compile
Check "Compile on save"
3. You must use this button if you want hotswapping to work
Whenever you make changes and save, they will be applied. If you want to test just press the button as shown above (debug) and then add a println in login or something
Hotswapping is where whenever you save / make a change in a class, the class is automagically recompiled and swapped with the one in the currently running JVM. First you need to know how to run the server inside of Netbean
How to run the server inside of Netbean
1. right-click your project > properties > Run
2. enter your bat's parameter in the argument box. (Wz)
for example with me: -Dnet.sf.odinms.wzpath=wz
3. move your main folders inside your project folder (wz and scripts)
4. you can now run inside of netbean using this button
You can also do memory profiling using netbean's profiler
How to use hotswapping
1. Tools > Options > Miscellaneous > Java Debugger > General
Check the box that says "Apply code changes ... blah blah"
2. Right project > Build > Compile
Check "Compile on save"
3. You must use this button if you want hotswapping to work
Whenever you make changes and save, they will be applied. If you want to test just press the button as shown above (debug) and then add a println in login or something