Happy Easter to whoever is celebrating it!
Here is a question for people who know how to write makefiles. I have
looked into the compile process and found out that rather than using the
generator.py to do xsl transformations, I can use the make process to
achieve the same result much easier. I have successfully managed to
process a single file:
FILE = $(QXTRANSFORMER_XML_DIR)/boxLayout
XSLTPROC = xsltproc
XSL = $(QXTRANSFORMER_PATH)/qxt-xslt/transformer.xsl
transform:
$(XSLTPROC) $(XSL) $(FILE).xml > $(FILE).js
check_xml:
xmllint --noout $(FILE).xml
and can now issue "make transform" to convert boxLayout.xml to
boxLayout.js with our qxtransformer templates. However, i don't know how
to process a folder full of xml files. I could try "for file in
$(QXTRANSFORMER_XML_DIR) do; ...." but I have read that the makefile
syntax can do this automatically. Any suggestions?
Thanks,
Christian
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel