Re: [anjuta-devel] Project wizard template



I don't understand the issue. In project wizard, you know all the UI file, so you can add > all those lines in the XML file template. If the UI file depends on some choices made by > the user you could have to check the same inputs.
> Do you have an example?

2 UI files in ui_DATA:

uidir = $(pkgdatadir)/ui
ui_DATA = player.ui \
	window.ui

and in resources.xml, I've to add manually:

 <file compressed="true" preprocess="xml-stripblanks">player.ui</file>
 <file compressed="true" preprocess="xml-stripblanks">window.ui</file>
Is there is a way to do this automatically? like this line in vala-gtk Makefile.am.tpl ? [+NameCLower+]_VALAFLAGS = [+IF (not (= (get "PackageModule2") ""))+] --pkg [+(string-substitute (get "PackageModule2") " " " --pkg ")+] [+ENDIF+] \

I mean create one line for each file added.


2015-04-27 17:06 GMT+02:00 yannick inizan <inizan yannick gmail com>:
Hi all.
I try to generate an XML file from user interfaces added to a Makefile.am.
For a single file, no problem :

[+ autogen5 template +]
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
  <gresource prefix="/resources">
    <file compressed="true" preprocess="xml-stripblanks">[+NameHLower+].ui</file>
  </gresource>
</gresources>

But how to add this line for each UI file ? :
<file compressed="true" preprocess="xml-stripblanks">name_of_last_file.ui</file>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]