Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10313

Make Nuxeo Shell prompt for username/password in batch mode

    XMLWordPrintable

    Details

      Description

      When running a batch from Nuxeo Shell, it will fails if no username or password is provided to connect to Nuxeo with the following error

      Exception in thread "main" java.lang.UnsupportedOperationException: Not impl
              at org.nuxeo.shell.impl.DefaultConsole.readLine(DefaultConsole.java:40)
              at org.nuxeo.shell.automation.cmds.Connect.run(Connect.java:69)
              at org.nuxeo.shell.Shell.run(Shell.java:503)
              at org.nuxeo.shell.Shell.run(Shell.java:498)
              at org.nuxeo.shell.Shell.runBatch(Shell.java:487)
              at org.nuxeo.shell.Shell.main(Shell.java:273)
              at org.nuxeo.shell.Main.main(Main.java:26)
      

      I will be helpful if the credentials were asked in a prompt.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: