Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support 'buildTarget/outputPaths' request #39

Merged
merged 3 commits into from
Jul 17, 2023
Merged

feat: Support 'buildTarget/outputPaths' request #39

merged 3 commits into from
Jul 17, 2023

Conversation

jdneo
Copy link
Member

@jdneo jdneo commented Jul 17, 2023

@jdneo jdneo added this to the 0.1.0 milestone Jul 17, 2023
Signed-off-by: Sheng Chen <[email protected]>
Signed-off-by: Sheng Chen <[email protected]>
@jdneo jdneo merged commit 81f3f22 into develop Jul 17, 2023
@jdneo jdneo deleted the cs/output branch July 17, 2023 05:56
Copy link
Member

@akaroml akaroml left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented regarding URI manipulation.

File sourceOutputDir = sourceSet.getSourceOutputDir();
if (sourceOutputDir != null) {
outputPaths.add(new OutputPathItem(
sourceOutputDir.toURI().toString() + "?kind=source",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest using URIBuilder to add query paramaters.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracked by #52

File resourceOutputDir = sourceSet.getResourceOutputDir();
if (resourceOutputDir != null) {
outputPaths.add(new OutputPathItem(
resourceOutputDir.toURI().toString() + "?kind=resource",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

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