<html><body><div style="font-family: courier new,courier,monaco,monospace,sans-serif; font-size: 12pt; color: #000000"><div>Hi Scott,<br></div><div><br></div><div>You can put something like<br></div><div><includes>**/messages.properties,**/CommonConstants.properties,**/SpecificConstants.properties,**/ConsoleErrors.properites</includes></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><div><br></div></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><div><br></div></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><div><br></div></div>The current include list looks like this:<br><div><br></div></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><div><br></div></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<br><div><br></div></div><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></div></div></div></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>zanata-users mailing list<br>zanata-users@redhat.com<br>https://www.redhat.com/mailman/listinfo/zanata-users</blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Ding-Yi Chen<br>Software Engineer<br>Globalization Group<br>DID: +61 7 3514 8239<br>Email: dchen@redhat.com<br><div><br></div>Red Hat, Asia-Pacific Pty Ltd<br>Level 1, 193 North Quay<br>Brisbane 4000<br>Office: +61 7 3514 8100<br>Fax: +61 7 3514 8199<br>Website: www.redhat.com<br><div><br></div>Red Hat, Inc.<br>Facebook: Red Hat APAC | Red Hat Japan | Red Hat Korea | JBoss APAC<br>Twitter: Red Hat APAC | Red Hat ANZ<br>LinkedIn: Red Hat APAC | JBoss APAC<span name="x"></span><br></div></div></body></html>