Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4061

[regression] expressions not interpolated the same in antrun configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.0-M1
    • None
    • None
    • None

    Description

      I haven't had the chance to ping down the cause here or if the POM is actually in error, however I noticed the following works in 2.0.10 but not 2.1.0-M1 (or the latest snapshot from the branch):

      <tasks>
        <taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task"/>
      
        <mkdir dir="${reporting.outputDirectory}/xsddoc"/>
      
        <xsddoc file="${basedir}/src/main/resources/fml-1.0.xsd"
          out="${basedir}/${reporting.outputDirectory}/xsddoc"
          doctitle="Reference of Schema FML 1.0"
          verbose="true"/>
      </tasks>
      

      (source: https://svn.apache.org/repos/asf/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml)

      The error:

      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] An Ant BuildException has occured: net.sf.xframe.xsddoc.ProcessorException: output folder doesn't exist:
      /Users/brett/scm/maven/doxia/doxia/doxia-modules/doxia-module-fml/Users/brett/scm/maven/doxia/doxia/doxia-modules/doxia-module-fml/target/site/xsddoc
      

      As you can see, the basedir is appended twice for some reason.

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              brett Brett Porter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: