maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-4061) [regression] expressions not interpolated the same in antrun configuration
Date Tue, 03 Mar 2009 10:59:13 GMT

     [ http://jira.codehaus.org/browse/MNG-4061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter updated MNG-4061:
------------------------------

    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):

{code:xml}
<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>
{code}

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

The error:

{code}
[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
{code}

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

  was:
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):

{code:xml}
                  <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>
{code}

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

The error:

{code}
[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
{code}

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


> [regression] expressions not interpolated the same in antrun configuration
> --------------------------------------------------------------------------
>
>                 Key: MNG-4061
>                 URL: http://jira.codehaus.org/browse/MNG-4061
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.1.0-M1
>            Reporter: Brett Porter
>             Fix For: 2.1.0
>
>
> 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):
> {code:xml}
> <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>
> {code}
> (source: https://svn.apache.org/repos/asf/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml)
> The error:
> {code}
> [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
> {code}
> As you can see, the basedir is appended twice for some reason.

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

        

Mime
View raw message