Skullabs / apt-runner-maven-plugin

Forces run APT on compiled classes. Useful to run APT on Scala and Kotlin sources
Apache License 2.0
0 stars 1 forks source link

Maven install fails #1

Open plinyar opened 8 years ago

plinyar commented 8 years ago

Test fails in ClassFileReader.getOutputLocationFor, since it doesn't consider Windows backslash. However, even if to fix it, it still fails because file.getAbsolutePath() is not subdir of rootDir.getAbsolutePath(). To fix that I had to change changeSimplifiedAPTRunnerTest: final ClassFileReader reader = new ClassFileReader( new File("") ); //it was "output".

BTW, I would not suffer with this project but I could not build "kikaha-kotlin" project since this maven plugin was not in public repositories, unfortunately

miere commented 8 years ago

Indeed, the sample kikaha-kotlin project stills using this maven plugin, which is deprecated, now. The reason it is deprecated is because it is just a preview version I did with kotlin guys. On the 2.0 version of Kikaha it was incorporated to kikaha-maven-plugin. I'll update kikaha-kotlin this night and fix this issue.