Here is a better version which detects project name and version correctly most of the time and also imports pixmap and doc files. Try it out - it works pretty well with custom/existing projects. You'll find it pretty useful if you intend to use anjuta mainly as a source editor + GUI wrapper around the development activities. As before, just extract the archive, chdir to your project directory and run the shell script (the name has been changed to anjuta_import.sh). I'll be posting future updates on the project importer here: http://www.angelfire.com/linux/biswapesh/ Anything missing/not working - please let me know. BTW, there is a sp. mistake in the project manager where 'include' is written as 'incude'. I've corrected this in my local copy - maybe this should be corrected in the main tree as well ? The template has the correct spelling, so header files may be missing for people. If you find this to be the case, replace 'module.include.*' with 'module.incude.*' (Note the missing 'l') in the template file anjuta_project.template. Thanks and regards, Biswa. On Tue, 2002-01-08 at 12:40, Biswapesh Chattopadhyay wrote: > OK, since there is so much interest for using anjuta for custom/existing > projects, here is a script that will do the job (albeit very roughly); > i.e., given a directory, it will create a project file for using with > anjuta. It should work with any type of project (autotools/custom) > > Instructions: > ------------- > 1) Extract the archive (tar zxvf). This should create two files > 'an_project_maker.sh' and 'project.template'. > 2) Make sure that the '.sh' file is executable. > 3) Now cd to the top directory of the project and type > '/path/to/pm/an_project_maker.sh' > > This should create a file template.prj. Try loading the file in anjuta > from the 'Open Project' menu item. > > The shell script is pretty simple - feel free to modify it according to > your needs. If there is sufficient demand, I might enhance it a bit to > autodetect stuff like project version, correct project name, targets, > etc. For the time being, this should be good enough for people who want > to use Anjuta mainly for editing source code (You can always add the > missing bits from the project configuration dialog) > > <self-promotion>Try out a build from here: > http://www.angelfire.com/linux/biswapesh/Downloads/ > You can get source tarballs, SRPMs and RPMs (RH 7.2). You can then test > the new symbol and file browsers and make 0.1.9 the most feature-rich > and stable release of Anjuta ! Builds are updated regularly. > </self-promotion> > > Thanks and regards, > Biswa. >
Attachment:
an_import.tar.gz
Description: GNU Zip compressed data