Details

    • Branch Version/s:
      5.2.x
    • Similar Issues:
      Show 5 results 

      Description

      The ServiceBuilder modifies a file service.properties. its location is hardcoded to the same path as the implementation classes. I wrote a maven plugin for the service builder (http://code.google.com/p/maven-lifeay-servicebuilder-plugin) . Maven expects non-java resource files such as service.property in src/main/resources. It would be nice if the ServiceBuilder could be configured to read/write the servcie.properties file from/to a configurable path.

        Activity

        Hide
        Tamás Sallai added a comment -

        The problem with the service.properties file not inculded in the war is that the sql scripts won't run. Although maven can be told to include the file:
        <build>
        ...
        <resources>
        <resource>
        <directory>src/main/java</directory>
        <includes>
        <include>service.properties</include>
        </includes>
        </resource>
        <resource>
        <directory>src/main/resources</directory>
        </resource>
        </resources>
        ...
        </build>

        You need to specify the resources directory too, because if you don't, then it won't be included in the war.

        Until the default place where the service.properties is generated is set, then the portlet archetype should inculde this fragment in the pom.xml, because it is not usable at the moment.

        Show
        Tamás Sallai added a comment - The problem with the service.properties file not inculded in the war is that the sql scripts won't run. Although maven can be told to include the file: <build> ... <resources> <resource> <directory>src/main/java</directory> <includes> <include>service.properties</include> </includes> </resource> <resource> <directory>src/main/resources</directory> </resource> </resources> ... </build> You need to specify the resources directory too, because if you don't, then it won't be included in the war. Until the default place where the service.properties is generated is set, then the portlet archetype should inculde this fragment in the pom.xml, because it is not usable at the moment.
        Hide
        Randy Zhu added a comment -

        In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.

        Show
        Randy Zhu added a comment - In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.

          People

          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Days since last comment:
              2 years, 20 weeks, 2 days ago

              Development

                Structure Helper Panel