Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10902

Can't create sample JAX-RS service in OpenShift-created Dynamic Web Project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.3.0.Beta1
    • 3.3.0.M5
    • webservices
    • None

    Description

      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.

      Attachments

        1. org.jboss.tools.ws.creation.core.patch
          1 kB
          Brian Fitzpatrick
        2. sample4.tgz
          25 kB
          Brian Fitzpatrick

        Activity

          People

            xcoulon@redhat.com Xavier Coulon
            bfitzpat_rh Brian Fitzpatrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: