Chapter 4. Project Management
Anjuta has a powerful Project Manager plugin which can open most automake/autoconf based projects. It might fail on some oddly configured projects, but as long as the project is done by using automake/autoconf in a typical way, it should work.
The neat thing is that it does not store any project information beyond what is already available in project struture. That is, there is no separate project data maintained by Anjuta and all project processing are done directly within the project structure. This allows the project to be maintained or developed outside Anjuta without having to so-called 'porting' or 'switching' to a new platform. Since technically Anjuta projects are just automake projects, mixed development of it (Anjuta and non-Anjuta users) or switching back and forth between Anjuta and other tools is quite possible without any hindrance.
4.1. Creating a New Project
4.1.1. New project from template
The project wizard plugin uses a powerful template processing engine called autogen. All new projects are created from templates that are written in autogen syntax. Project wizard lets you create new projects from a selection of project templates. The selection includes simple generic, flat (no subdirectory), gtk+, gnome, java, python projects and more. New templates can be easily downloaded and installed since they are just a collection of text files.
Choose the menu item ->-> to start the application wizard. Read the first page carefully. Click on to proceed.
Select the type of application you want to create in the second page. Click on to proceed.
On the next pages, enter all necessary details for your project. You can change these settings later also, but it is advicable to put them right in first run to maintain the project's integrity. White spaces or any non-alphanumeric characters, except underscore (_) and dash (-), are not allowed in many of the entry boxes that would follow (except perhaps the Author text box).
You can also specify whether your project will have internationalization support using gettext (read the gettext info page for more details). This gives your project multilingual support for different regional languages such as English, French, Dutch etc.. The rest of the options are for setting whether the GNU copyright statement should appear in the comments at the top of each file, and enabling GNOME desktop menu information if necessary. Shared library support allows adding shared library modules later in the project. If you plan to have libraries in your project, it would be good to enable. Depending on the project type that is being created, there would be other information requested.
The final step is to verify the information you have just supplied. Click on to start generating the project.
Once project generation is over, you can try it out by building the project and executing it.
4.1.2. Importing Projects
The import project feature is used to import an already existing project and convert it into anjuta projcect. Activate the import project wizard from +-> and follow instructions dictated by the wizard. Once the project is imported, it could be opened in anjuta subsequently just like any other anjuta project.
![]() | The import project features only works if your existing project is using autoconf/automake and, to a very limited extend, plain makefiles. |
