Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-4786

IDE always deploys to Gogo-Shell it finds at port 11311

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.1, 3.8.1
    • Fix Version/s: 3.9.2
    • Component/s: Deploy
    • Labels:
      None

      Description

      I development, I might run a server in the background (independent of IDE), and then start another one in Developer Studio. It seems that Developer Studio always deploys to the server it finds at port 11311, not to the server it started.

      I've tried various ways to configure the port, e.g. portal-ext.properties (also unchecking developer mode to avoid my changes to be overwritten again), but apparently DevStudio doesn't take the server's configuration into account.

      While parsing the configuration might be hard work, I'd like to ask for a Gogo-Shell port configuration in the server, so that multiple servers can run on a developer machine. It took me a while to figure out why my edits didn't have an effect on the DevStudio-started server.

      Looking at the liferay-ide source, it seems that GogoBundleDeployer is well prepared to be configurable, but (just with grep - I didn't go deep) I didn't find any use that actually parameterized the port - all uses were either relying on the default constructor or explicitly configured it with 11311.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.jiang Simon Jiang
              Reporter:
              olaf.kock Olaf Kock
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 11 weeks, 2 days ago

                  Packages

                  Version Package
                  3.9.2