Migrating from JeKa 0.10¶
This page helps you migrate from JeKa 0.10 to JeKa 0.11. To migrate from Maven, see Migrate a Maven Project.
Command Line and Wrapper¶
The command line has been unified: jekaw has been replaced by jeka.
The wrapper is now entirely included in the shell scripts.
The jeka.version property is now located in the jeka.properties file along with other properties.
Project Structure¶
The nested jeka directory has been removed in favor of a flat structure.
Also, the entire wrapper is contained inside shell scripts, so the jeka/wrapper directory is no longer needed.
jeka/defdirectory ->jeka-srcjeka/output->jeka-outputjeka/.work->.jeka-workjeka/local.properties->jeka.propertiesjekaw.bat->jeka.ps1jekaw->jekajeka/project-dependencies.txt->jeka.project.depsjeka/project-libsdirectory ->libs
Major API Changes¶
- KBean classes are now suffixed with
KBeaninstead ofJkBean(e.g.,ProjectKBean). JkBean.getBean()->KBean.load()
Properties¶
jeka.classpath.inject->jeka.classpath- KBean field reference has changed from
myKBean#xxxto@myKBean.xxx.
Command Line¶
- KBean method invocation has changed from
myKBean#packtomyKBean: pack.
Example: project#pack project#tests.skip=true
Is now: project: pack test.skip=true
- Use
jeka --helpas a starting point for command-line help.