While doing some testing of the WS Tester, Xavier came upon a weird error in the Web Services -> Create a Sample RESTful Web Service wizard. He was attempting to create a sample JAX-RS service in a project created using the OpenShift tooling and was blocked by an error in the wizard claiming it couldn't find any Java source folder.
It turns out that the WS creation wizards do a search to find the default source folder in the Dynamic Web/Java Project by seeing which one is missing an explicit output location in the classpath.
Now we run through the project twice. If we can't find one without the output location, we just go with the first one we come across.