开发者

What is the Anjuta project template (automake) *.wiz format (syntax)?

Apparently it's XML-like. Example templates can be found in the gnome Anjuta shares on an Ubuntu install at /usr/share/anjuta/project/

I think I'll go back to Eclipse and gedit if it d开发者_Go百科oesn't look like Anjuta has documented a decent auto-completion, project build, and syntax-highlighting template format. Others with the same question went fishing on Ubuntu forums and had no luck.

The answer might also help people trying to build automake scripts for svn repos at [https://stackoverflow.com/questions/5926366/using-anjuta-with-svn-how-to-create-the-project]


A bit overdue, but I found the official documentation, and remembered having seen your post. From the docs:

The template files look like xml documents and have normally the extension .wiz. All templates and others related files are installed by default in $anjuta_install_dir/share/anjuta/templates. But the project wizard looks for templates in the sub directory anjuta/templates of all user data directories as defined by XDG Base Directory Specification too. It is possible to override a Anjuta project template by an user one put, by example, in ~/.local/share/anjuta/templates.

The template file is divided in four parts: an header block, one or more page blocks, a content block and an optional action block. The file is read several times, one time for each block but before reading it, the whole file go though a transformation pass and only the resulting file must be a valid xml file. The transformation pass uses autogen.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜