0 Replies Latest reply: Jul 17, 2010 10:20 AM by 807567 RSS

    Maven plugin properties2java

    807567
      Hi. I'm lookin for a plugin to build java classes from properties files. Have u heard about any? How to write own custom plugin to make it? For example, there is a properties file named MyProps:
          exemplary.field.one=valueA
          exemplary.field.two=valueB
      Plugin have to make sth like that:
          public class MyProps() {
              private final static EXEMPLARY_FIELD_ONE = VALUEA;
              private final static EXEMPLARY_FIELD_TWO = VALUEB;
          }
      Any ideas? Waiting for ur help ;]