<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><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><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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><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>_______________________________________________<br>
zanata-users mailing list<br>
<a href="mailto:zanata-users@redhat.com">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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><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: +61 7 3514 8278 <br>Fax: +61 7 3514 8199 <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>