Plugin with internal website

I am developing a plugin that implements a web based block editor into IntelliJ IDEA. Due to the nature of this, It would be preferable if the site could be stored within the resources for the plugin, but to launch the site it needs to be accessible and in a known location.

At this time I believe that I'm going to have to do is copy the website out into a temporary folder to be able to access it like I need to. Is there a better option without hosting this site on a external server?

0
2 comments

It would depend on how the site is hosted, will you use some embedded web server? It's probably possible to host the pages directly from the jar resources if needed, without unpacking them into a temp folder.

0
Avatar
Permanently deleted user

I was not planning on using an embedded web server, I was opening the HTML directly with the browser, however I could probably use an embedded web server instead if that would allow me to not need to unpack the site.

0

Please sign in to leave a comment.