Ply ships with the following scripts (for detailed information about each, check the corresponding wiki page):
ply-clean-1.0.jar - deletes directory project.build.dir
and all its subdirectories
ply-dependency-manager-1.0.jar - resolves dependency-atoms from the dependencies
context property file.
ply-dependency-copy-1.0.jar - copies resolved dependencies (obtained via files within resolved-deps
) into depcopy.dir
ply-file-changed-1.0.jar - determines which files within project.src.dir
have changed since last invocation (using timestamp and SHA1 hash).
ply-compiler-1.0.jar - compiles files within project.src.dir
which have changed (determines change by using the ply-file-changed-1.0.jar
output) and places the compiled output in compiler.build.path
ply-resources-1.0.jar - copies files from project.res.dir
to project.res.build.dir
ply-filter-file-1.0.jar - filters files from project.filter.dir
with all available properties
ply-package-1.0.jar - packages compiled code (within compiler.build.path
) and resources (within project.res.build.dir
) into an archive (jar/zip/war/etc).
ply-repo-install-1.0.jar - copies the packaged code/resources into the depmng.localRepo
ply-repo-manager-1.0.jar - resolves repository-atoms from the repositories
context property file.
ply-repo-deploy-1.0.sh - copies the local packaged code/resources file (e.g. jar
) from the depmng.localRepo
to a ply repository (i.e. a git
repo, pushing it to the origin
remote)
ply-test-junit-1.0.jar - runs all junit tests found within the package project.artifact.name
in directory project.build.dir
ply-exec-1.0.jar - executes the current project using the specified main class (via exec.class
and if that property is not specified looks at the package.manifest.mainClass
)
ply-print-classpath-1.0.jar - prints the project's classpath (especially useful in conjunction with -Pply.decorated=false
)
ply-intellij-1.0.jar - creates Intellij IDEA project (.ipr) and module (.iml) files for the project (the files will point to the resolved dependencies and correctly setup the JDK and source and output directories based on ply properties).