Thank you for your astor.
I think it is so great tool.
But I meet a problem.
Could you tell me how to resolve below error?
=========
kwangho@kwangho-750XDA:~/workspace/astor$ java -cp $(cat /tmp/astor-classpath.txt):target/classes fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ -bintestfolder /target/test-classes/ -location /home/kwangho/workspace/astor/examples/time_2/ -dependencies examples/time_2/lib
16:57:36.543 [main] ERROR MutationSupporter - Problem compiling the model with compliance level 8
16:57:36.545 [main] ERROR MutationSupporter - The import org.joda.convert cannot be resolved at /home/kwangho/workspace/astor/examples/time_2/src/main/java/org/joda/time/base/AbstractPeriod.java:18
spoon.compiler.ModelBuildingException: The import org.joda.convert cannot be resolved at /home/kwangho/workspace/astor/examples/time_2/src/main/java/org/joda/time/base/AbstractPeriod.java:18
at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.report(JDTBasedSpoonCompiler.java:635)
at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.reportProblems(JDTBasedSpoonCompiler.java:617)
at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:116)
at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:97)
at fr.inria.astor.core.manipulation.MutationSupporter.buildModel(MutationSupporter.java:85)
at fr.inria.astor.core.manipulation.MutationSupporter.buildSpoonModel(MutationSupporter.java:240)
at fr.inria.astor.core.solutionsearch.AstorCoreEngine.initModel(AstorCoreEngine.java:776)
at fr.inria.main.evolution.AstorMain.createEngine(AstorMain.java:113)
at fr.inria.main.evolution.AstorMain.run(AstorMain.java:173)
at fr.inria.main.evolution.AstorMain.execute(AstorMain.java:233)
at fr.inria.main.evolution.AstorMain.main(AstorMain.java:204)
spoon.compiler.ModelBuildingException: The import org.joda.convert cannot be resolved at /home/kwangho/workspace/astor/examples/time_2/src/main/java/org/joda/time/base/AbstractPeriod.java:18
at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.report(JDTBasedSpoonCompiler.java:635)
at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.reportProblems(JDTBasedSpoonCompiler.java:617)
at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:116)
at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:97)
at fr.inria.astor.core.manipulation.MutationSupporter.buildModel(MutationSupporter.java:85)
at fr.inria.astor.core.manipulation.MutationSupporter.buildSpoonModel(MutationSupporter.java:253)
at fr.inria.astor.core.solutionsearch.AstorCoreEngine.initModel(AstorCoreEngine.java:776)
at fr.inria.main.evolution.AstorMain.createEngine(AstorMain.java:113)
at fr.inria.main.evolution.AstorMain.run(AstorMain.java:173)
at fr.inria.main.evolution.AstorMain.execute(AstorMain.java:233)
at fr.inria.main.evolution.AstorMain.main(AstorMain.java:204)
16:57:37.596 [main] ERROR MutationSupporter - Error compiling: The import org.joda.convert cannot be resolved at /home/kwangho/workspace/astor/examples/time_2/src/main/java/org/joda/time/base/AbstractPeriod.java:18
16:57:37.705 [main] ERROR MutationSupporter - Astor continues when model build fails. Classes created: 157
Hi, I'm kim
Thank you for your astor. I think it is so great tool.
But I meet a problem. Could you tell me how to resolve below error?
========= kwangho@kwangho-750XDA:~/workspace/astor$ java -cp $(cat /tmp/astor-classpath.txt):target/classes fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ -bintestfolder /target/test-classes/ -location /home/kwangho/workspace/astor/examples/time_2/ -dependencies examples/time_2/lib 16:57:36.543 [main] ERROR MutationSupporter - Problem compiling the model with compliance level 8 16:57:36.545 [main] ERROR MutationSupporter - The import org.joda.convert cannot be resolved at /home/kwangho/workspace/astor/examples/time_2/src/main/java/org/joda/time/base/AbstractPeriod.java:18 spoon.compiler.ModelBuildingException: The import org.joda.convert cannot be resolved at /home/kwangho/workspace/astor/examples/time_2/src/main/java/org/joda/time/base/AbstractPeriod.java:18 at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.report(JDTBasedSpoonCompiler.java:635) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.reportProblems(JDTBasedSpoonCompiler.java:617) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:116) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:97) at fr.inria.astor.core.manipulation.MutationSupporter.buildModel(MutationSupporter.java:85) at fr.inria.astor.core.manipulation.MutationSupporter.buildSpoonModel(MutationSupporter.java:240) at fr.inria.astor.core.solutionsearch.AstorCoreEngine.initModel(AstorCoreEngine.java:776) at fr.inria.main.evolution.AstorMain.createEngine(AstorMain.java:113) at fr.inria.main.evolution.AstorMain.run(AstorMain.java:173) at fr.inria.main.evolution.AstorMain.execute(AstorMain.java:233) at fr.inria.main.evolution.AstorMain.main(AstorMain.java:204) spoon.compiler.ModelBuildingException: The import org.joda.convert cannot be resolved at /home/kwangho/workspace/astor/examples/time_2/src/main/java/org/joda/time/base/AbstractPeriod.java:18 at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.report(JDTBasedSpoonCompiler.java:635) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.reportProblems(JDTBasedSpoonCompiler.java:617) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:116) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:97) at fr.inria.astor.core.manipulation.MutationSupporter.buildModel(MutationSupporter.java:85) at fr.inria.astor.core.manipulation.MutationSupporter.buildSpoonModel(MutationSupporter.java:253) at fr.inria.astor.core.solutionsearch.AstorCoreEngine.initModel(AstorCoreEngine.java:776) at fr.inria.main.evolution.AstorMain.createEngine(AstorMain.java:113) at fr.inria.main.evolution.AstorMain.run(AstorMain.java:173) at fr.inria.main.evolution.AstorMain.execute(AstorMain.java:233) at fr.inria.main.evolution.AstorMain.main(AstorMain.java:204) 16:57:37.596 [main] ERROR MutationSupporter - Error compiling: The import org.joda.convert cannot be resolved at /home/kwangho/workspace/astor/examples/time_2/src/main/java/org/joda/time/base/AbstractPeriod.java:18 16:57:37.705 [main] ERROR MutationSupporter - Astor continues when model build fails. Classes created: 157