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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to