cargotracker icon indicating copy to clipboard operation
cargotracker copied to clipboard

Support Eclipse IDE

Open m-reza-rahman opened this issue 3 years ago • 25 comments

As an alternative to VS Code.

m-reza-rahman avatar Apr 13 '21 02:04 m-reza-rahman

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).

hantsy avatar Apr 18 '21 13:04 hantsy

Can I work on this issue?

santapan345 avatar Mar 04 '23 05:03 santapan345

Sure, assigned to you.

m-reza-rahman avatar Mar 04 '23 14:03 m-reza-rahman

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.

m-reza-rahman avatar Mar 09 '23 17:03 m-reza-rahman

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.

yashTEF avatar Mar 10 '23 12:03 yashTEF

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.

m-reza-rahman avatar Mar 10 '23 13:03 m-reza-rahman

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?

yashTEF avatar Mar 10 '23 15:03 yashTEF

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

m-reza-rahman avatar Mar 10 '23 15:03 m-reza-rahman

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

santapan345 avatar Mar 11 '23 05:03 santapan345

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.

m-reza-rahman avatar Mar 11 '23 14:03 m-reza-rahman

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.

ojuschugh1 avatar Mar 25 '23 06:03 ojuschugh1

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.

m-reza-rahman avatar Mar 25 '23 14:03 m-reza-rahman

ohh I see.

ojuschugh1 avatar Mar 25 '23 16:03 ojuschugh1

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

sachinnandan avatar Mar 27 '23 22:03 sachinnandan

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 avatar Mar 27 '23 22:03 m-reza-rahman

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.

m-reza-rahman avatar Jul 02 '23 20:07 m-reza-rahman

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

ibrahimdoss avatar Nov 11 '23 21:11 ibrahimdoss

	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.                                                           

m-reza-rahman avatar Nov 11 '23 21:11 m-reza-rahman

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

ibrahimdoss avatar Nov 12 '23 12:11 ibrahimdoss

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.

m-reza-rahman avatar Nov 13 '23 03:11 m-reza-rahman

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?

ibrahimdoss avatar Nov 19 '23 21:11 ibrahimdoss

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.

m-reza-rahman avatar Nov 20 '23 05:11 m-reza-rahman

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

vishalvivekm avatar Apr 16 '24 14:04 vishalvivekm

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.

m-reza-rahman avatar Apr 16 '24 15:04 m-reza-rahman

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.

vishalvivekm avatar Apr 16 '24 15:04 vishalvivekm