Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3070

Fix xdoclet configuration for taglib projects

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 4.3
    • None
    • None
    • None

    Description

      With the current configuration we have 2 issues:

      • tlds gets included twice in sources
      • configuration generated by the eclipse plugin is invalid since the generated resource dir is nested in target/classes/

      The xdoclet plugin seems really buggy about target directory handling... with a bit of voodo I found out that setting explicitely the taglib output dir to:

      <destdir>${project.build.directory}/generated-resources/taglibs</destdir>
      

      and adding the same dir to the resources list manually into <build>:

         <resource>
              <filtering>false</filtering>
              <directory>${project.build.directory}/generated-resources/taglibs</directory>
              <includes>
                <include>**/*</include>
              </includes>
            </resource>
      

      is a good combination which solves both issues...

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR