Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Issues
  • #2235
Closed
Open
Issue created Apr 11, 2019 by Administrator@rootContributor

buck.generatedSourcePath is not reported for java_test rule

Created by: elucash

Given the JSON output of commands such as

buck targets "//..." --json --show-output

Apparently, for java_test rules which have plugins/annotation processors enabled and successfully generating and compiling additional Java classes, the rule JSON doesn't return buck.generatedSourcePath field as it does for say java_library. Under closer inspection, the internal location of the generated files folder itself is slightly different than for libraries, it looks like buck-out/annotation/{path}/__{name}#testsjar_gen__ and this suggests that different storage/mechanism is used for java_test. However, It would still be great if JSON output of test rule still returns buck.generatedSourcePath field pointing to an internal path in the same manner as it does for java_library.

Thank you!

Assignee
Assign to
Time tracking