<div class="gmail_quote">On Tue, Nov 23, 2010 at 10:52 AM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Brett,<div class="im"><br>
<br>
Brett Henderson wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

    I'm thinking of adding a "cascadingRelations=yes" flag to<br>
    the --bp/--bb tasks that would<br>
<br>
    * process relations not containing other relations as usual,<br>
    * throw all other relations onto a stack and process them in a<br>
    suitable order afterwards<br>
</blockquote></blockquote>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I'd try to use the existing completeXXX options as a starting point.  <br>
</blockquote>
<br></div>
I have done that now and committed the enhancements in r24342. I ran some tests of my own and I think everything works as desired.<br>
<br>
I'd love to amend the tests as well but it seems I am lacking either the proper system or the proper brains to run the existing tests at all. The BoundingBoxFilterTest and PolygonFilterTest work in 0.38 and they now fail in trunk; the AreaFilterTest fails in 0.38 as well as in trunk:<br>

<br>
test:<br>
    [mkdir] Created dir: /home/fred/<a href="http://svn.openstreetmap.org/applications/utils/osmosis/tags/0.38/areafilter/report/test" target="_blank">svn.openstreetmap.org/applications/utils/osmosis/tags/0.38/areafilter/report/test</a><br>

    [junit] Running org.openstreetmap.osmosis.areafilter.v0_6.AreaFilterTest<br>
    [junit] Tests run: 5, Failures: 5, Errors: 0, Time elapsed: 0.348 sec<br>
<br>
How do I find out why exactly these tests fail? Running ant with -v only gives lines like<br>
<br>
    [junit] junit.framework.TestListener: startTest(testProcessBoundContainer1)<br>
    [junit] junit.framework.TestListener: addError(testProcessBoundContainer1, org.openstreetmap.osmosis.areafilter.v0_6.PolygonFilter.<init>(Lorg/openstreetmap/osmosis/core/filter/common/IdTrackerType;Ljava/io/File;ZZZ)V)<br>

    [junit] junit.framework.TestListener: addError(testProcessBoundContainer1, null)<br>
    [junit] junit.framework.TestListener: endTest(testProcessBoundContainer1)</blockquote><div><br>Check out the <a href="http://svn.openstreetmap.org/applications/utils/osmosis/tags/0.38/areafilter/report/test" target="_blank">areafilter/report/test</a> directory.  It should contain both junit text and xml output formats.<br>
</div></div><br>