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 25777] - [PATCH] [REGRESSION] Cannot pass composite path reference between scripts
Date Mon, 10 Jan 2005 13:44:58 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=25777>.
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=25777





------- Additional Comments From peterreilly@apache.org  2005-01-10 14:44 -------
I did try the tests without being patched and with the change
to Reference#getReferencedObject(Project) and all
of them failed.
for example with DirSetTest.
   [junit] Testsuite: org.apache.tools.ant.types.DirSetTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.016 sec

    [junit] Testcase: testFileSetIsNoDirSet took 0.011 sec
    [junit]     FAILED
    [junit] expected:<dummy doesn't denote a DirSet> but was:<No project set on
reference to dummy>
    [junit] junit.framework.ComparisonFailure: expected:<dummy doesn't denote a
DirSet> but was:<No project set on reference to dummy>
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:81)

It may not be too much of an issue, as one is meant to use
Project#addReference(String, Object) rather than create the
reference directly, but there may be third party code that does this.

-- 
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.
You are on the CC list for the bug, or are watching someone who is.

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


Mime
View raw message