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

Unable to zip plugin without options #137

Open
OndrejSpanel opened this issue Jan 21, 2025 · 3 comments
Open

Unable to zip plugin without options #137

OndrejSpanel opened this issue Jan 21, 2025 · 3 comments

Comments

@OndrejSpanel
Copy link

OndrejSpanel commented Jan 21, 2025

When I run buildIntellijOptionsIndex or packageArtifactZip on a plugin without any options, I get following error:

[info] Building searchable plugin options index...
[error] No options search index built for plugin root: C:\Dev\idea-plugin-with-lwjgl\target\plugin\MyAwesomeFramework
[error] (buildIntellijOptionsIndex) No options search index built for plugin root: C:\Dev\idea-plugin-with-lwjgl\target\plugin\MyAwesomeFramework

To reproduce, create a plugin from the template and remove all actions and applicationListeners from its plugin.xml.

@unkarjedy
Copy link
Member

@OndrejSpanel Can you use some workaround for this? E.g. having some action/listener?

@OndrejSpanel
Copy link
Author

I can certainly install some harmless listener doing nothing, if that is enough to get some options to be indexed. I would not like to introduce some visible action when I need none.

@OndrejSpanel
Copy link
Author

The issue is not very critical to me, I use assembly to pack my plugin at the moment anyway, but I wanted to check if perhaps using this plugin was feasible for me now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants