imixs / manik-hot-deploy

Maven Incremental hot deploy - a plugin for the Eclipse IDE
https://manik.imixs.org/
GNU General Public License v3.0
20 stars 7 forks source link

Feature request - Option to choose the ignored directories #7

Closed xfr-dev closed 2 years ago

xfr-dev commented 9 years ago

While looking at the source of the HotdeployBuilder, i saw the multiple directories are ignored for the hot deploy :

private static String[] IGNORE_DIRECTORIES = { "/src/main/resources/",
"/src/main/java/", "/src/test/resources/", "/src/test/java/",
"/target/m2e-wtp/", "/target/maven-archiver/", "/META-INF/",
"/target/application.xml","/target/test-classes/","/target/classes/","/WEB-INF/classes/" };

While I think this is nice to have defaults, it could be nicer to be able to configure/override the ignored directories list. For example, I would use it to hot deploy "src/main/resources" because, in my case, the resource bundle of the web application reside in this directory.

rsoika commented 9 years ago

yes your are right. maybe best solution is to add a new input field in the configuration dialog where you can define 'custom hot deploy directories'. And then these directories overwrite the IGNORE_DIRCTOTRIES

xfr-dev commented 9 years ago

Yes, imho, that would be a good resolution. I have one more question : if the src/main/resources or target/classes directory was not ignored, will the content of these directory be indeed copied to WEB-INF/classes directory of the webapp deployed in the server?

rsoika commented 2 years ago

watch out for the new Maven-based solution 2.0 .....