Feature Request: configurable `defaultOutputDir` instead of hardcoded `bin`
See original GitHub issueFeature Request
Please provide a configuration to change defaultOutputDir bin
Detail
I’m not an eclipse user, as I know, bin
is widely used as a dir that stores shell scripts, but vscode java plugin uses it as the default output dir, and can not be changed by configuration, the only way I know is using gradle eclipse plugin to generate .classpath
with modified config by groovy script in build.gradle
, see #634
buildDir = "build/gradle"
apply plugin: 'java'
apply plugin: 'eclipse'
eclipse {
classpath {
defaultOutputDir = file('build/eclipse')
file.whenMerged {
entries.each { entry ->
if (entry.kind == 'src' && entry.hasProperty('output')) {
entry.output = entry.output.replace('bin/', "build/eclipse/")
}
}
}
}
}
@jdneo https://github.com/redhat-developer/vscode-java/issues/2801#issuecomment-1318256946
You can vote for https://github.com/redhat-developer/vscode-java/issues/1615 to help us prioritize.
If anyone encounter this issue, please comment / give 👍 / link related issue to this one, to help the team escalate the priority of this issue.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:22
- Comments:12
Top Results From Across the Web
project.buildDir and eclipse.classpath.defaultOutputDir are ...
I'm new to Gradle, when I was first using Buildship, I imported my project into Eclipse with Buildship, it used the default output...
Read more >dracut-053 - Git repositories on kernel
A --no-uefi option as been added to the CLI options to disable a default uefi=yes set by a configuration file. kernel-modules: add modules...
Read more >Gradle User Manual: Version 6.0.1 - xy2401.github.io
Configure your PATH environment variable to include the bin directory of the ... Instead of adding a specific version of Gradle to your...
Read more >SWIG-3.0 Documentation
1.1 Introduction. SWIG (Simplified Wrapper and Interface Generator) is a software development tool for building scripting language interfaces to C and C++ ...
Read more >PACS Data Reduction Guide: Spectroscopy
In the 'AOT and instrument configuration' section of the output you will ... script instead of the default. "outputDir" is where you started ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@n-peugnet The newest
Language support for Java
extension adds a new setting to set the output path for project without any build tools.@pan3793 Sorry currently there is no plan to make that setting be able to impact Maven/Gradle project. But we will keep an eye on this request.
I onboard people at work. This issue confuses people and ultimately causes people to uninstall the extension.