Skip to content
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

Developer Use Case: Experiencing something “fast” when developing server-side workspace agent components #1650

Closed
benoitf opened this issue Jul 5, 2016 · 5 comments
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.

Comments

@benoitf
Copy link
Contributor

benoitf commented Jul 5, 2016

Let say I’ve a server-side component running inside the workspace agent.
I want to do an update of this component.

For now:
I update java code, I generate maven module, I generate a new workspace agent assembly, I recompile workspace master to include the workspace agent or I manually update the workspace agent in my binary, then I restart a workspace from scratch and then my new server side service is updated.

Expectation for a developer is to have something “fast”:
Update java code, save, see the new code refreshed in the agent

So several options here:

  1. Option Update DTD for GWT-module descriptors #1 use of “localhost” machine for the agent
    • So for example, use Eclipse IDE WTP or other to start a tomcat with a war file
    • Update the code, class is regenerated by Eclipse IDE, then wtp update the class of the exploded war, war is restarted in Tomcat, then service is ready again.
  2. Option2 : Allow “exploded archive” of the agent.
    • Instead of mounting a workspace agent zip, mount a folder, add hot deploy option to Tomcat running as the workspace agent.
    • Update class in the exploded war then it updated the folder, which is also mounted in the workspace agent then it notifies the workspace agent to restart Tomcat webapp and here we have the change
@benoitf benoitf added kind/enhancement A feature request - must adhere to the feature request template. Improvement labels Jul 5, 2016
@benoitf
Copy link
Contributor Author

benoitf commented Jul 7, 2016

for wtp, link to #1676

@TylerJewell TylerJewell added kind/task Internal things, technical debt, and to-do tasks to be performed. and removed kind/enhancement A feature request - must adhere to the feature request template. Improvement labels Jul 16, 2016
@TylerJewell
Copy link

@benoitf - closing because we have other issues that are tracking related items.

@benoitf
Copy link
Contributor Author

benoitf commented Apr 18, 2017

@TylerJewell I don't see such issues about related items. For me the current open issues don't allow fast "hot-deployment"/redeploy of only the impacted library

@gorkem
Copy link
Contributor

gorkem commented Aug 24, 2017

I do not think option 1 is acceptable. Che development should be done with Che. Reopening, I think we should reconsider this one from a self-hosting of Che development perspective.

@gorkem gorkem reopened this Aug 24, 2017
@skabashnyuk
Copy link
Contributor

Not relevant anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

No branches or pull requests

4 participants