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
  • Merge requests
  • !548

Honor cell root during classpath entry construction

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/davido/patch-4 into master Dec 05, 2015
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: davido

Rule can be provided from different cell and thus output file name must be rellocated according to cell root. Otherwise classpath would contain non existent entries from foreign project file system.

TEST PLAN:

  1. Clone JGit with this patch: [1].

  2. Clone Gerrit Code Review with this patch: [2].

  3. Replace JGit cell during Gerrit build, with:

    $ buck build --config repositories.jgit=../jgit gerrit

Observe, that without this diff, the classpath contains invalid entries: non rellocated jgit output file. This diff rellocates it to jgit cell.

[1] https://git.eclipse.org/r/61938 [2] https://gerrit-review.googlesource.com/73000

Fixes: https://github.com/facebook/buck/issues/545

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/davido/patch-4