Skip to content

Trying to find a way to create custom java projects #254

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
tux2603 opened this issue Apr 21, 2020 · 9 comments
Closed

Trying to find a way to create custom java projects #254

tux2603 opened this issue Apr 21, 2020 · 9 comments
Labels
question Further information is requested

Comments

@tux2603
Copy link

tux2603 commented Apr 21, 2020

Our university is currently transferring our introductory java classes over to vs code, but we need a way to create java projects from a custom template. We already have an extension that's capable of generating the file structure necessary for the project, but as of yet there is no managing of dependencies. I have poked through your source code a bit, but the documentation is a bit slim. Would you be able to supply us with a reference to what functions will have to be called in order to create a new project in the dependency manager? Thank you.

@jdneo
Copy link
Member

jdneo commented Apr 22, 2020

@tux2603 We are just recently working on the creating project experience.

Please let me know if you need more information.

Thanks

@jdneo jdneo added the question Further information is requested label Apr 22, 2020
@tux2603
Copy link
Author

tux2603 commented Apr 25, 2020

Do you know when the new features will be released? We were hoping to start using vs code for the upcoming fall semester.

@tux2603
Copy link
Author

tux2603 commented Apr 25, 2020

@jdneo The custom extension is working with the dependencies now, but the .class files are currently going to a hidden directory in the user's home directory. Is there any way to specify a directory in the workspace that the compiled java classes should go. Ideally, this would be a directory called bin/

@jdneo
Copy link
Member

jdneo commented Apr 26, 2020

Do you know when the new features will be released?

We will run the QA process recently, if everything works fine, then I'll release it. I guess the ETA could be the end of next week.

Is there any way to specify a directory in the workspace that the compiled java classes should go

Emm, so far it's not supported. Could you explain more to help us understand this request?

@tux2603
Copy link
Author

tux2603 commented Apr 26, 2020

Essentially, when eclipse or netbeans create a project, you have a src directory for java source code and a bin directory for the compiled binaries. It wouldn't strictly be necessary for the compiled binaries to go to a customizable directory, but it would be a nice feature to have.

Essentially, it would be equivalent to setting an output directory on the java compiler, just stored somewhere in the project configuration file.

@jdneo
Copy link
Member

jdneo commented Apr 27, 2020

I see. I suggest to create a feature request for customizing the binary output folder of the standalone project in the Java Language Server repo

@tux2603
Copy link
Author

tux2603 commented Apr 28, 2020

I will look into that. Thanks!

@jdneo
Copy link
Member

jdneo commented Apr 29, 2020

@tux2603 Just FYI the new version might be postponed to next week. If you need the the private build, you can try to build it by your own. Here is the steps:

  1. clone the repo
  2. cd to the project base path
  3. npm install
  4. npm run build-server
  5. npx vsce@latest package
  6. You'll get a .vsix file which can be installed manually.

@jdneo
Copy link
Member

jdneo commented Aug 21, 2020

Use #281 to track the feature request about specifying the output folder

@jdneo jdneo closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants