jsp modules not being packaged in zip

I had a contributor add compiler support to intellij-elixir based on the code intellij-erlang.  The PR included a jps-builder and jps-shared module, which is shown in the Output Layout for the intellij-elixir.zip artifact

Screen Shot 2015-07-30 at 9.27.01 PM.png
but if Prepare Plugin Module 'intellij-elixir' for deployment and unzip the `intellij-elixir.zip`, then the jps/jsp-builder.jar and jps-shared.jar are not in the zip.
Screen Shot 2015-07-30 at 8.50.11 PM.png

The jsp code does work as I can use it when running the plugin from a run configuration.  This is just a build/packaging problem.  What setting am I missing to get the jsp jars into the final zip?

For comparison, intellij-erlang contains the jsp file in its zip
Screen Shot 2015-07-30 at 8.50.01 PM.png

Comment actions Permalink

I tried building the intellij-elixir.zip artifact directly using Build > Build Artifacts > intelij-elixir.zip.  That output it to bin/intellij-elixir.zip.  When I unzip bin/intellij-elixir.zip, it contains jps/jps-builder.jar and jps-shared.jar, but the "Prepare plugin module 'intellij-elixir' for deployment" intellij-elixir.zip does NOT contain the jps jars still.  How do I get "Prepare plugin module 'intellij-elixir' for deployment" to use the same settings as Build Artifact?

Comment actions Permalink

You don't. "Prepare plugin module for deployment" does not use any artifact configuration; it uses a fixed layout. If you already have an artifact configured, there is no benefit to using "Prepare plugin module for deployment"; it doesn't do anything new that your artifact doesn't do.


Please sign in to leave a comment.