XDoclet 2 Plugins
  1. XDoclet 2 Plugins
  2. XDP-120

Add **/*.ftl to the includes freemarker template in top-level project.xml

    Details

    • Type: Wish Wish
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.0.4
    • Component/s: Build System
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I've posted an issue to the generama tracker related to the FreeMarkerTemplateEngine (http://jira.codehaus.org/browse/GRA-5). Personally I prefered FreeMarker than Velocity or Jelly.

      In order for plugins that use FM template, I have to include ftl(s) in the project resources:

      <resources>
      <resource>
      <directory>$

      {basedir}

      /src/main/java</directory>
      <includes>
      <include>*/.jelly</include>
      <include>*/.vm</include>
      <include>*/.xml</include>
      <include>*/.dtd</include>
      <include>*/.xsd</include>
      <include>*/.png</include>
      <include>*/.jpg</include>
      <include>*/.gif</include>
      <include>*/.ftl</include> <--------- add this
      </includes>
      </resource>
      </resources>

        Activity

        Hide
        Konstantin Pribluda added a comment -

        This is fixed with current maven2 build

        Show
        Konstantin Pribluda added a comment - This is fixed with current maven2 build

          People

          • Assignee:
            Unassigned
            Reporter:
            Jack Hung
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: