This message was deleted.
# community-support
s
This message was deleted.
v
Not 100% sure what you are after, but maybe you just search the
installDist
task?
t
I need simple way to run my application from the commandline without specify the classpath as Parameters (this part is solved with Class-Path in the Manifest file). The installDist seem to work, didn’t know that it includes the build task.
v
As your
main
distribution is configured, I guess you use the
application
plugin. If you do, you should not set the
Class-Path
attribute. If you want to run the application from source for testing purpose, either use the
run
task, or
installDist
and then there the start scripts. For productive run, build the distributable archive with
distZip
or
distTar
which you unpack at production site and then again ist the start scripts.
1