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

Run on .java file should not result in .java url being opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.3.0.Beta3
    • None
    • server
    • None

      From JBIDE-10218:

      Another example of Run not working.
      1) Import the jboss-as-helloworld quickstart (listed on JBoss Central as HelloWorld)
      2) Open the HelloService.java in the editor
      3) Hit the green run button
      4) It does deploy jboss-as-helloworld but loads the internal browser with
      http://localhost:8080/jboss-as-helloworld/WEB-INF/classes/org/jboss/as/quickstarts/helloworld/HelloService.java

      Both observed on Burr and Max's Beta1 installations.

      Need to find if this is us returning this since it makes no sense to run this .java as anything.
      only if it was a servlet should it return something runnable.

      I would expect it to fall back to run what was previously run in this case OR simply the project of the selection.

            rob.stryker Rob Stryker (Inactive)
            manderse@redhat.com Max Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: