Hi Scott, 

You can put something like 
<includes>**/messages.properties,**/CommonConstants.properties,**/SpecificConstants.properties,**/ConsoleErrors.properites</includes>
 

----- Original Message -----

> Hi,

> 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).

> 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.

> The current include list looks like this:

> <includes>
> moduleA/src/main/resources/another/path/messages.properties,
> moduleA/src/main/resources/another/path/CommonConstants.properties,
> moduleB/src/main/resources/path2/SpecificConstants.properties,
> moduleC/src/main/resources/path3/ConsoleErrors.properites
> </includes>

> 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.

> Any ideas? Can I do what I'm trying to do?

> Thank,
> Scott

> --
> Scott Dickerson
> Senior Software Engineer
> RHEV-M Engineering - UX Team
> Red Hat, Inc

> _______________________________________________
> zanata-users mailing list
> zanata-users@redhat.com
> https://www.redhat.com/mailman/listinfo/zanata-users
-- 
Ding-Yi Chen 
Software Engineer 
Globalization Group 
DID: +61 7 3514 8239 
Email: dc...@redhat.com 

Red Hat, Asia-Pacific Pty Ltd 
Level 1, 193 North Quay 
Brisbane 4000 
Office: +61 7 3514 8100 
Fax: +61 7 3514 8199 
Website: www.redhat.com 

Red Hat, Inc. 
Facebook: Red Hat APAC | Red Hat Japan | Red Hat Korea | JBoss APAC 
Twitter: Red Hat APAC | Red Hat ANZ 
LinkedIn: Red Hat APAC | JBoss APAC 
_______________________________________________
zanata-users mailing list
zanata-users@redhat.com
https://www.redhat.com/mailman/listinfo/zanata-users

Reply via email to