eclipse-ee4j / cargotracker

The project demonstrates how you can develop applications with Jakarta EE using widely adopted architectural best practices like Domain-Driven Design (DDD).
https://eclipse-ee4j.github.io/cargotracker/
MIT License
343 stars 142 forks source link

Support Eclipse IDE #201

Open m-reza-rahman opened 3 years ago

m-reza-rahman commented 3 years ago

As an alternative to VS Code.

hantsy commented 3 years ago

Intellij IDEA is more popular.

For VSCode, if there is someone who used VS Code in daily work, add a .vscode folder is ok, including the launch scripts(run, test), code style, recommended extensions. etc.

NetBeans supports Maven out of box, the chanllenge is the united codes style(format).

santapan345 commented 1 year ago

Can I work on this issue?

m-reza-rahman commented 1 year ago

Sure, assigned to you.

m-reza-rahman commented 1 year ago

Unassigning this for now to make it available for others. It appears @santapan345 is still orienting himself to the project and running into some challenges with setting up simply Payara 5 in his environment.

On a separate note, the Eclipse IDE instructions and screenshots could use a refresh.

yashTEF commented 1 year ago

On a separate note, the Eclipse IDE instructions and screenshots could use a refresh.

@m-reza-rahman , I am able to run it fairly easily on Eclipse IDE using the instructions in README just had to add "package cargo:run" inside goals when creating a maven build configuration and view it on port 8080 at localhost. I can supply a pull request for the same if its okay with you.

m-reza-rahman commented 1 year ago

The current instructions use the Payara Tools plug-in. Any reason to use Maven goals instead? It’s far slower and feature poor by comparison.

yashTEF commented 1 year ago

The current instructions use the Payara Tools plug-in. Any reason to use Maven goals instead? It’s far slower and feature poor by comparison.

I actually ran it locally using terminal along with maven build first and used the same way to run on Eclipse.

If I following correctly I downloaded Payara 5 and added it as a server using Payara tools in Eclipse. After starting the server and uploading the war file (only once) on admin console I am able to access cargotracker on port 8080.

Is there a better approach?

m-reza-rahman commented 1 year ago

Please follow the current instructions in detail. There should be no need to use the admin console.

santapan345 commented 1 year ago

Can you please reassign me the issue? Is it ok to create .vscode folder for the launch scripts and recommended extensions with pictures??

m-reza-rahman commented 1 year ago

Assigned. It should not be necessary to add IDE specific code to the project (when I use VS Code I don’t add anything to the project to check in).

This is basically a documentation task. In the instructions, please document the setup required just as we have it for Eclipse (we don’t include the Eclipse specific setup artifacts to the project either).

Once a documentation PR is created, I will review it’s quality and accuracy.

ojuschugh1 commented 1 year ago

hi, @m-reza-rahman is the documentation required to set up in VS code? I am thinking to work on step-by-step documentation to enable support on VS code.

m-reza-rahman commented 1 year ago

Not at this time. I will move the existing PR forward when time permits. The current priority is to establish well understood and easy to follow formatting conventions for the project so the outstanding PRs can be properly merged.

ojuschugh1 commented 1 year ago

ohh I see.

sachinnandan commented 1 year ago

Hi I would like to working on this.... Can i get this ??

m-reza-rahman commented 1 year ago

If you want to take a crack at it, sure. If you want to take IntelliJ, there is nothing on it. Take a close look at this and create the IntelliJ analog: https://github.com/eclipse-ee4j/cargotracker/wiki/Eclipse-IDE. If you want to take up VS Code, there is some work here that I don't think went very far sadly: https://github.com/eclipse-ee4j/cargotracker/pull/240.

I ask that you kindly do me a favor and very carefully consider if you have the time, interest and skills to take up this work. This is a low priority item and I don't have a lot of bandwidth to devote to it. It is not trivial, easy, or low skill work. I think you'll get the idea when you look at the VS Code PR history. I really want to not repeat the experience on that PR.

m-reza-rahman commented 1 year ago

Eclipse IDE no longer works with Jakarta EE 10 at this time. In preparation for moving to Jakarta EE 10, we are transitioning the project to VS Code. Anyone is welcome to fix Eclipse IDE support. The archived material is here: https://github.com/eclipse-ee4j/cargotracker/tree/docs.

ibrahimdoss commented 11 months ago

@m-reza-rahman Can I work on this issue?

m-reza-rahman commented 11 months ago
    What do you actually propose to do? Has anything been done in Eclipse to support Jakarta EE yet? As far as I know, it still won’t work.                                                           
ibrahimdoss commented 11 months ago

I would like to do some research on this. If nothing has been done, I will continue to look for other assignments

m-reza-rahman commented 11 months ago

Assigned - please go ahead? It may be good to file issues against both the Eclipse IDE and vendor tools such as for Payara/GlasssFish/Liberty.

ibrahimdoss commented 10 months ago

https://newsroom.eclipse.org/eclipse-newsletter/2023/august/updating-your-applications-jakarta-ee-10, https://github.com/OmniFish-EE/upgrading-jakarta-ee-applications/#readme When I followed this article and studies, I understood that eclipse foundation supports it. Am I wrong?

m-reza-rahman commented 10 months ago

I am really not sure what you are saying. These articles have nothing to do with the Eclipse IDE. What you need to check is whether the application works with the Eclipse IDE, including using the Payara plugin. Here are the basic instructions for the Jakarta EE 8 version of the application: https://github.com/eclipse-ee4j/cargotracker/tree/jakartaee8#getting-started.

vishalvivekm commented 5 months ago

I'm currently trying to run the project in eclipse IDE on Payara server following the instructions , once successful, I would take a stab at this issue @m-reza-rahman

m-reza-rahman commented 5 months ago

OK. This is not so straightforward. The key problems are getting the Eclipse IDE to recognize the EE 10 project without errors and getting the Payara plugin to work.

vishalvivekm commented 5 months ago

OK. This is not so straightforward. The key problems are getting the Eclipse IDE to recognize the EE 10 project without errors and getting the Payara plugin to work.

Noted. Thanks for the heads up.