This command makes it easy to develop on top of the punchplatform There are two situations. First you have access to the punch git repositories, in which case you typically want to test your devs on a standalone. To do that use the --patch argument so that your standalone refer to your compiled development jars.
Second you may be coding something completly on top of the punch. What you need then is probably to have some of your java or scala maven artefacts refer to the jars delivered as part of the standalone.
Use the --list and --install options to export to your local maven repository the punch jars so that you can cleanly depend on them.
- patch your standalone to refer to your development jars
- list the dependencies you must add to your poms once you have used the --install option.
- install the standalone platform jars as maven artefacts in your local repository
Required environment variables¶
The following environment variables affect the execution of punchplatform commands :
- The PUNCHPLATFORM_CONF_DIR variable must point to the directory holding the punchplatform.properties file.
- The bin directory of you punchplatform standalone setup must be included in your system path. First encountered version will prevail
- The PUNCHPLATFORM_DEV_DIR variable is required fot the --patch option. It must point to the directory holding your git punchplatform repositories.