Skip to content

Collect packages from source files of the project to which the agent is attached#899

Open
dmitrii-artuhov wants to merge 10 commits intodevelopfrom
filter-files-from-user-project
Open

Collect packages from source files of the project to which the agent is attached#899
dmitrii-artuhov wants to merge 10 commits intodevelopfrom
filter-files-from-user-project

Conversation

@dmitrii-artuhov
Copy link
Collaborator

@dmitrii-artuhov dmitrii-artuhov commented Dec 1, 2025

This PR adds 2 new agent parameters:

  • projectPath: path to the project from which packages should be collected
  • excludeDirPaths: ;-separated paths to folders, which should be excluded from the sources search

They should be provided when the agent is run with Junie for scoping the include patterns only to those that are part of the project. If projectPath is not provided, then this computation will not be run.


Not supported:

  • does not add class names to include patterns from source files which package name is empty

@dmitrii-artuhov dmitrii-artuhov changed the title [Junie] Collect packages from source files of the project to which the agent is attached Collect packages from source files of the project to which the agent is attached Dec 1, 2025
@bbrockbernd
Copy link
Collaborator

@dmitrii-artuhov Should we still merge this after @eupp told us today that the improvements are not significant?

@dmitrii-artuhov
Copy link
Collaborator Author

We can decline it for now, I will close the PR

@eupp eupp reopened this Dec 2, 2025
@eupp
Copy link
Collaborator

eupp commented Dec 2, 2025

Why declining though? Lets get back to it next week.

@dmitrii-artuhov dmitrii-artuhov force-pushed the filter-files-from-user-project branch from 8f08561 to c436f4c Compare February 5, 2026 12:18
@dmitrii-artuhov dmitrii-artuhov force-pushed the filter-files-from-user-project branch from c436f4c to 54c0a85 Compare February 5, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants