ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40566] New: - Antunit doesnt exec sub java process; gets execution time very wrong
Date Thu, 21 Sep 2006 09:11:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40566>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40566

           Summary: Antunit doesnt exec sub java process; gets execution
                    time very wrong
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AntUnit
        AssignedTo: dev@ant.apache.org
        ReportedBy: stevel@apache.org


Extending/ch18_extras/embed which is is own ant runner.

One of my book examples runs ant via a new entry point, which works as a manual
invoked task (testExec) but not from Antunit:

http://antbook.cvs.sourceforge.net/antbook/examples/sections/extending/ch18_extras/embed/build.xml?view=markup

antunit:
[au:antunit] Build File:
/home/slo/Projects/sfantbook/examples/sections/extending/ch18_extras/embed/build.xml
[au:antunit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.273 sec
[au:antunit]  caused an ERROR
[au:antunit]    at line 69, column 19
[au:antunit]    Message: Java returned: 1
[au:antunit]    took 1,158,676,430.541 sec

And look how long it took...

if you go "ant testExec" on the command line the test works.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message