The building pipeline is initially defined by build.xml and is executed by Apache Ant.
- See Development environment.
- See Testing.
- See how to release a new version before building.
- See Change log.
- Execute the following commands from the project root folder (
areca-backup/). antbuilds a release bundle for the current platform if it is supported.- Run the
releases.shscript to build all bundles. - The release bundle output folder is
areca-backup/releases/.
ant windows-x86-64ant windows-x86-32
ant linux-x86-64ant linux-x86-32
Debug mode requires compiling Areca specifically to enable this development feature.
Add the -Ddebug=on argument to the above compilation commands.
debug can be set to either on or off (default value) but you do not need to add -Ddebug=off to the off setting;
Note:
You can only use breakpoints if you have already compiled Areca with -Ddebug=on;
otherwise, you may only be able to catch exceptions.
ant windows-x86-64 -Ddebug=onant windows-x86-32 -Ddebug=on
ant linux-x86-64 -Ddebug=onant linux-x86-32 -Ddebug=on
It caused by missing or wrong setting of jni.h.dir and jni_md.h.dir
which are files that are provided by the JDK.
Check: locate-jni-headers.sh