Changes between Version 4 and Version 5 of MigrateMapGuide22IDEToEclipse
- Timestamp:
- 09/12/10 17:11:52 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MigrateMapGuide22IDEToEclipse
v4 v5 5 5 Visual Studio is used as a IDE under windows for !MapGuide development. Under Linux, we could use Eclipse as an IDE. Eclipse is an open source project, which works under various Operating Systems as well as programming languages. To learn more about Eclipse, please refer to [http://eclipse.org http://eclipse.org] 6 6 7 Since Eclipse does not provide mechanism to convert a C++ project directly from GNU Automake, so we will have to generate a Makefile project first. 7 == Install Eclipse and Autotools plugin == 8 8 9 Suppose !mapguide 2.2 source code is checked out under /home/hluo/svn/mgdev, we will have to do this one project by one project 9 Eclipse downloaded from Eclipse's main download page does not include the Autotools plugin, which is needed to maintain or create GNU Autotool C/C++ projects. Please refer to [http://www.eclipse.org/linuxtools/projectPages/autotools/ this page] for where and how to get this plugin. 10 10 11 1. 12 {{{ 13 cd /home/hluo/svn/mgdev/Oem/ACE/ACE_wrapper 14 mkdir build 15 cd build 16 ../configure 17 }}} 11 == Create New Eclipse project from existing GNU Automake project == 18 12 19 Notice in build folder, there is a file '''''Makefile''''' 20 21 2. Launch Eclipse, File->New->Other...->Makefile Project with existing code->Next, for field Existing code location, browse to /home/hluo/svn/mgdev/Oem/ACE_wrapper/build, select Linux GCC in toolchain table, enter a project name, say, ACE, then click Finish, in Project Explorer of Eclipse, you should see a project ACE 22 23 3. Follow the same step to convert other Oem projects, Server projects, Web Tire projects into Eclipse projects 24 25 4. '''Note:''' the reason we create a new folder ''build'' in step 1 is to be organized as a good practice, in case something is messed up, you can simply delete this folder without effecting the original code. 13 Suppose mapguide 2.2 source code is checked out under /home/hluo/svn/mgdev, 26 14 27 15 28 16 17