Skip to content

Locate binary directory in project folder. #281

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

Closed
deffence1776 opened this issue Jul 23, 2020 · 2 comments
Closed

Locate binary directory in project folder. #281

deffence1776 opened this issue Jul 23, 2020 · 2 comments
Labels
enhancement New feature or request upstream

Comments

@deffence1776
Copy link

I am trying to use visual studio code for java to train beginners.

In java project, a binary directory is usually located in project folder.
It is useful for beginners to see binary folder to realize what is "compile".

So, can you change the "no build tool" template, or make it configurable?

I tried to change ".classpath" file and it worked.

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="src" path="_/src"/>
	<classpathentry kind="output" path="_/bin"/>
</classpath>
@jdneo
Copy link
Member

jdneo commented Nov 24, 2020

A PR is raised at upstream side: eclipse-jdtls/eclipse.jdt.ls#1594

Please feel free to comment there if you have any questions.

Thanks

@jdneo
Copy link
Member

jdneo commented Feb 5, 2021

I'll close this issue since the upstream PR has been merged. It should be available in the next version of redhat.java

What you need to do is add bellow setting in your WORKSPACE scope settings.json:

"java.project.outputPath": "bin"

Please not that: The setting will only take effect when it's configured in the WORKSPACE scope!!

@jdneo jdneo closed this as completed Feb 5, 2021
@jdneo jdneo added the upstream label Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream
Projects
None yet
Development

No branches or pull requests

2 participants