Invalid file when build file declares subant task
-------------------------------------------------

                 Key: MANTRUN-125
                 URL: http://jira.codehaus.org/browse/MANTRUN-125
             Project: Maven 2.x Antrun Plugin
          Issue Type: Bug
    Affects Versions: 1.3
         Environment:  mvn -v
Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
Java version: 1.6.0_11
Java home: /opt/jdk1.6.0_11/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.27-14-server" arch: "amd64" Family: "unix"

            Reporter: warren crossing
         Attachments: maven-ant.tar

The basedir environment variable seems to break.  Looks like a really similar 
problem to http://jira.codehaus.org/browse/SUREFIRE-184

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - 
pl.touk:test-maven-ant:jar:1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0-SNAPSHOT
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /opt/maven-ant/src/main/resources
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [antrun:run {execution: compile}]
[INFO] Executing tasks

build:
     [echo] /opt/maven-ant

build:
     [echo] /opt/maven-ant
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while 
executing this line:
/opt/maven-ant/build.xml:13: The following error occurred while executing this 
line:
/opt/maven-ant/sub1/build.xml:13: Invalid file: /opt/maven-ant/suba/build.xml


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

        

Reply via email to