Skip to content
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
This repository was archived by the owner on Nov 9, 2026. It is now read-only.

Better surface class-parse Java resolve errors to users #739

Closed

Description

@jingliancui

@jpobst @jonpryor
Something packages should be added for compiling or some classes or namespace will lost, but this packages message will give to users only use jar2xml setting.
And jar2xml will be removed in the feature.
So you should move J2X9001 to class-parse from jar2xml.

1
2

Activity

  1. jingliancui commented on Oct 16, 2020

    @jingliancui
    Author

    I don't know what change internal in #682 (comment) .
    But maybe useful here.

  2. added
    enhancement
    generator
    on Oct 16, 2020
  3. jpobst commented on Oct 16, 2020

    @jpobst
    Contributor

    After a quick look, I think the root problem here is that "errors" in the class-parse Java type resolution phase do not get surfaced to the user as MSBuild errors/warnings. They only show up in the build log, and only if the verbosity is set to Detailed or Diagnostic. With the correct verbosity, the build log should show a message like:

    Error while processing '[Class] com.scwang.smart.refresh.layout.SmartRefreshLayout': Type 'android.support.v4.view.NestedScrollingParent' was not found.
    

    We should convert these to proper MSBuild warnings or some other mechanism that ensures they get displayed to the user.

  4. changed the title [-]Move J2X9001 to class-parse from jar2xml[/-] [+]Better surface class-parse Java resolve errors to users[/+] on Oct 16, 2020
  5. locked and limited conversation to collaborators on Apr 13, 2024
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

    enhancementgenerator

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions