I'm done refactoring my friend's code (60+ hours later), and there are a few libraries that have dependencies on other libraries, IE Lib1 needs to see functions from Lib2. The editor let me do this by modifying a library and choosing what other libraries can see it's internals.
When I export the lib, and then my friend imports it, all of the function calls to another library are changed to "unknown function". Is there a workaround for this, other than placing -everything- into one large do it all library for exporting?
I would just send the map, but that is a little tricky since he's made changes to the data.
I would do that, but after I'm done refactoring, my friend will be using the GUI to point and click any future changes. So I have to present code workable through the GUI.
It shouldn't take too long to do what I need, it will maybe add 2-3 hours onto the time to refactor out of 40-50ish. *shrug*, I just hate repetitive tasks.
As I'm refactoring for a friend, I don't think I can stray away from the default mapscript file. I'm a programmer by trade, and while the trigger editor has some rather useful functionality, I would rather use notepad++ and custom scripts for my development. But alas, my friend is not a programmer, so "meh".
I tried importing, but the mapscript file is considered a reserved file.
I'm helping a friend reorganize his code, and there are some places that a *good* find and replace would be a tremendous time saver (by supporting regex, for example). I can open the mapscript file, but I can't seem to get any changes I make into the map. Thoughts?
0
I might be doing it wrong, I'll take another peek at it.
We settled for just throwing everything into one library, and then once we imported that we repacked it into its component libraries.
0
I'm done refactoring my friend's code (60+ hours later), and there are a few libraries that have dependencies on other libraries, IE Lib1 needs to see functions from Lib2. The editor let me do this by modifying a library and choosing what other libraries can see it's internals.
When I export the lib, and then my friend imports it, all of the function calls to another library are changed to "unknown function". Is there a workaround for this, other than placing -everything- into one large do it all library for exporting?
I would just send the map, but that is a little tricky since he's made changes to the data.
0
I've looked into that already Arcane. Thanks, though!
0
I would do that, but after I'm done refactoring, my friend will be using the GUI to point and click any future changes. So I have to present code workable through the GUI.
It shouldn't take too long to do what I need, it will maybe add 2-3 hours onto the time to refactor out of 40-50ish. *shrug*, I just hate repetitive tasks.
0
Hrrm.
As I'm refactoring for a friend, I don't think I can stray away from the default mapscript file. I'm a programmer by trade, and while the trigger editor has some rather useful functionality, I would rather use notepad++ and custom scripts for my development. But alas, my friend is not a programmer, so "meh".
I tried importing, but the mapscript file is considered a reserved file.
Thanks for your help!
0
How can this be done?
I'm helping a friend reorganize his code, and there are some places that a *good* find and replace would be a tremendous time saver (by supporting regex, for example). I can open the mapscript file, but I can't seem to get any changes I make into the map. Thoughts?