<div dir="ltr"><div>Thanks for the info. Works like a charm.<br><br></div>What does it take to add that info to the online documents so everyone knows about the include tag in zanata.xml?  <div><br></div><div>Scott</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 9, 2016 at 7:44 PM, Patrick Huang <span dir="ltr"><<a href="mailto:pahuang@redhat.com" target="_blank">pahuang@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Forgot to mention, you will need newer zanata client to support that. I can't remember which version did we introduce support for <includes> in zanata.xml. If it doesn't work for you just upgrade to the latest version.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 10, 2016 at 9:41 AM, Patrick Huang <span dir="ltr"><<a href="mailto:pahuang@redhat.com" target="_blank">pahuang@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Scott,<div><br></div><div>Yes you can. Just put your example xml into zanata.xml it should work. <br></div><span><div><div><includes></div><div>          moduleA/src/main/resources/another/path/messages.properties,</div><div>          moduleA/src/main/resources/another/path/CommonConstants.properties,</div><div>          moduleB/src/main/resources/path2/SpecificConstants.properties,</div><div>          moduleC/src/main/resources/path3/ConsoleErrors.properites</div><div>    </includes></div></div><div><br></div></span><div>For rules pattern, it's designed to handle translation files. e.g. how to find or where to put a translation file for a given source document. For properties project, you probably don't need to do anything special (translation files most likely will just sit besides its source document.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sat, May 7, 2016 at 5:40 AM, Scott Dickerson <span dir="ltr"><<a href="mailto:sdickers@redhat.com" target="_blank">sdickers@redhat.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>In my multi-module maven project I have a bunch of properties files that need to be translated and a bunch that do not.  So far, the files to include have been explicitly specified via the includes command line argument (or the same argument in my root pom.xml).<br><br></div>My question is, can I replace the includes list with a set of rules in zanata.xml?  It would be great to encapsulate all of the zanata configurations in zanata.xml and not have to rely on a shell script or config in pom.xml.<br><br></div>The current include list looks like this:<br><br></div>    <includes><br></div>          moduleA/src/main/resources/another/path/messages.properties,<br></div>          moduleA/src/main/resources/another/path/CommonConstants.properties,<br></div>          moduleB/src/main/resources/path2/SpecificConstants.properties,<br></div>          moduleC/src/main/resources/path3/ConsoleErrors.properites<br>    </includes><br></div><div><div><div><div><div><div><div><div><br></div>I've tried a few combinations of putting those paths in rule patterns or rule bodies along with the substitution strings.  Nothing has really worked so far.<br><br></div><div>Any ideas?  Can I do what I'm trying to do?<br clear="all"></div><div><div><div><div><div><div><div><div><br></div><div>Thank,<br></div><div>Scott<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div>-- <br><div><div dir="ltr"><div><div>Scott Dickerson<br></div>Senior Software Engineer<br></div>RHEV-M Engineering - UX Team<br>Red Hat, Inc<br></div></div>
</div></font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br></div></div>_______________________________________________<br>
zanata-users mailing list<br>
<a href="mailto:zanata-users@redhat.com" target="_blank">zanata-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/zanata-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/zanata-users</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Patrick Huang <br>Senior Software Engineer <br>Engineering - Internationalisation<br>Red Hat, Asia-Pacific Pty Ltd <br>Level 1, 193 North Quay <br>Brisbane 4000 <br>Office: <a href="tel:%2B61%207%203514%208278" value="+61735148278" target="_blank">+61 7 3514 8278</a> <br>Fax: <a href="tel:%2B61%207%203514%208199" value="+61735148199" target="_blank">+61 7 3514 8199</a> <br>IRC: pahuang<br>github: <a href="http://github.com/huangp" target="_blank">github.com/huangp</a><br>Website: <a href="http://www.redhat.com" target="_blank">www.redhat.com</a> <br></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Patrick Huang <br>Senior Software Engineer <br>Engineering - Internationalisation<br>Red Hat, Asia-Pacific Pty Ltd <br>Level 1, 193 North Quay <br>Brisbane 4000 <br>Office: <a href="tel:%2B61%207%203514%208278" value="+61735148278" target="_blank">+61 7 3514 8278</a> <br>Fax: <a href="tel:%2B61%207%203514%208199" value="+61735148199" target="_blank">+61 7 3514 8199</a> <br>IRC: pahuang<br>github: <a href="http://github.com/huangp" target="_blank">github.com/huangp</a><br>Website: <a href="http://www.redhat.com" target="_blank">www.redhat.com</a> <br></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Scott Dickerson<br></div>Senior Software Engineer<br></div>RHEV-M Engineering - UX Team<br>Red Hat, Inc<br></div></div>
</div></div></div>