wiki:MigrateMapGuide22IDEToEclipse

Version 4 (modified by hluo, 14 years ago) ( diff )

--

Migrate IDE from Visual Studio to Eclipse

in progress

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

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.

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

1.

cd /home/hluo/svn/mgdev/Oem/ACE/ACE_wrapper
mkdir build
cd build
../configure

Notice in build folder, there is a file Makefile

  1. 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
  1. Follow the same step to convert other Oem projects, Server projects, Web Tire projects into Eclipse projects
  1. 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.
Note: See TracWiki for help on using the wiki.