GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — "-type_mapping" not recognized in 3.1.6 · Issue #143 · utPLSQL/utPLSQL-cli

"-type_mapping" not recognized in 3.1.6 #143

New issue
Copy link
New issue
Copy link
Closed
#154
Closed
"-type_mapping" not recognized in 3.1.6#143
#154
Copy link

Description

@felipebz
felipebz
opened on Apr 5, 2019
Issue body actions

Hi everyone.

I updated the utPLSQL-cli from 3.1.2 to 3.1.6 and the option "-type_mapping" isn't recognized anymore, for example:

utplsql-cli run (database) -p=(schema) -f=ut_sonar_test_reporter -o=tests.xml -source_path=src -test_path=test -type_mapping="sql=PACKAGE BODY"

If I use utplsql-cli 3.1.2 then the file "tests.xml" is generated correctly, but if I try to use the version 3.1.6 I get this error:

Unknown option: -type_mapping
run tests
Usage: (...)

Is this expected?

Activity

  1. pesse commented on Apr 5, 2019

    @pesse
    pesse
    on Apr 5, 2019
    Member
    More actions

    No, thanks for finding!
    Time to create an integration test for this behaviour, too.

  2. pesse commented on Jun 4, 2019

    @pesse
    pesse
    on Jun 4, 2019
    Member
    More actions

    The issue is actually caused by a bug in JCommander, which uses startsWith at several places to match VariableArity parameters. This is a problem because our new -t, --timeout matches anything which starts with -t...

    After investigation, I fear fixing the bug in JCommander might have unwanted side-effects, therefore I think about switching to a different CLI library like https://github.com/remkop/picocli/

  3. pesse
    added a commit that references this issue on Jun 11, 2019

    Failing test to catch and reproduce #143

    6717057
  4. pesse
    closed this as completedin #154on Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.