You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/11/19 02:35:51 UTC

DO NOT REPLY [Bug 46236] New: BigProjectLogger breaks basedir calculations

https://issues.apache.org/bugzilla/show_bug.cgi?id=46236

           Summary: BigProjectLogger breaks basedir calculations
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build Process
        AssignedTo: notifications@ant.apache.org
        ReportedBy: jglick@netbeans.org


tmp$ cat bigprojectlogger.xml 
<project default="run" basedir="sub">
    <import file="sub/bigprojectlogger.xml"/>
</project>
tmp$ cat sub/bigprojectlogger.xml 
<project basedir=".">
    <target name="run">
        <echo>Running in: ${basedir}</echo>
    </target>
</project>
tmp$ ant -f bigprojectlogger.xml
Buildfile: bigprojectlogger.xml

run:
Running in: /tmp/sub

BUILD SUCCESSFUL
Total time: 0 seconds
tmp$ ant -f bigprojectlogger.xml -logger
org.apache.tools.ant.listener.BigProjectLogger
Buildfile: bigprojectlogger.xml

======================================================================
Entering project 
In /tmp
======================================================================

run:
Running in: /tmp

======================================================================
Exiting project 
======================================================================

BUILD SUCCESSFUL - at 11/18/08 8:34 PM
Total time: 0 seconds
tmp$ ant -f bigprojectlogger.xml -listener
org.apache.tools.ant.listener.BigProjectLogger
Buildfile: bigprojectlogger.xml

BUILD FAILED
java.lang.NullPointerException
        at
org.apache.tools.ant.DefaultLogger.printMessage(DefaultLogger.java:339)
        at
org.apache.tools.ant.listener.BigProjectLogger.subBuildStarted(BigProjectLogger.java:124)
        at
org.apache.tools.ant.listener.BigProjectLogger.buildStarted(BigProjectLogger.java:80)
        at org.apache.tools.ant.Project.fireBuildStarted(Project.java:2020)
        at org.apache.tools.ant.Main.runBuild(Main.java:706)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 0 seconds
java.lang.NullPointerException
        at
org.apache.tools.ant.DefaultLogger.printMessage(DefaultLogger.java:339)
        at
org.apache.tools.ant.listener.BigProjectLogger.subBuildFinished(BigProjectLogger.java:152)
        at
org.apache.tools.ant.listener.BigProjectLogger.buildFinished(BigProjectLogger.java:89)
        at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2037)
        at org.apache.tools.ant.Main.runBuild(Main.java:778)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
tmp$


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 46236] BigProjectLogger breaks basedir calculations

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46236


Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE
   Target Milestone|---                         |1.8.0




--- Comment #1 from Stefan Bodewig <bo...@apache.org>  2008-11-18 20:45:10 PST ---


*** This bug has been marked as a duplicate of bug 45607 ***


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.