Camork / file-expander-plugin

A IntelliJ plugin that can explore archive-based file in project view
GNU General Public License v3.0
44 stars 7 forks source link

[Feature] support .ear (enterprise java archive) #30

Closed ghynx closed 1 year ago

ghynx commented 1 year ago

Is your feature request related to a problem? Please describe. .ear files (at least some file using zip or jar compression) are not expandables

Describe the solution you'd like Provide the same behaviour as .jar or .zip files

Additional context Add any other context or screenshots about the feature request here.

Camork commented 1 year ago

Can you check if this plugin work for the jar files? The ear files should be work currently.

ghynx commented 1 year ago

Hello , sorry for the late response ... yes it work with .jar files . I had a little look at the code ... i suspect it could be related to CoreUtils.groovy where ARCHIVES_EXTENSIONS doesn't include 'ear' as a valid compressed file . Can't provide a patch / PR now , but it should be easy to check . Thx.

Camork commented 1 year ago

But the ear was included in the code, It would be weird if it not working. or you can check this issue to configure any extensions which should be recognized.

ghynx commented 1 year ago

My Bad .... Found that the .ear i worked on was generated using zip not using jar . Using standard compression method ( it's a gradle project so i'll use ear instead of zip task ), the plugin works as expected

Sorry for disturbing