Fix xoclet configuration for taglib projects
--------------------------------------------

                 Key: MAGNOLIA-3070
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3070
             Project: Magnolia
          Issue Type: Task
            Reporter: Fabrizio Giustina
            Assignee: Fabrizio Giustina
             Fix For: 4.3


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:
{code}
<destdir>${project.build.directory}/generated-resources/taglibs</destdir>
{code}

and adding the same dir to the resources list manually into <build>:
{code}
   <resource>
        <filtering>false</filtering>
        
<directory>${project.build.directory}/generated-resources/taglibs</directory>
        <includes>
          <include>**/*</include>
        </includes>
      </resource>
{code}

is a good combination which solves both issues...


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to