mojohaus / appassembler

https://www.mojohaus.org/appassembler/
MIT License
93 stars 49 forks source link

Cannot use assembleDirectory as binFolder #15

Closed ghost closed 8 years ago

ghost commented 8 years ago

The assembleDirectory directory could be used as binFolder. But the script doesn't start if it is not in a directory below assembleDirectory.

dantran commented 8 years ago

assemblerDirectory should be used as the top directory only, use it as binFolder will create side effect. By default the script changes to its parent dir and run from there

ghost commented 8 years ago

I understand the risks, but what if I want to use a structure in which the script should be in the root directory along with other configuration files without the need to create symbolic links, as well as in Windows environments. I think it should be at least possible.

dantran commented 8 years ago

you can provide your own wrapper script template. see plugin doc for details. http://www.mojohaus.org/appassembler/appassembler-maven-plugin/assemble-mojo.html#unixScriptTemplate