Package org.grouplens.lenskit.eval

Examples of org.grouplens.lenskit.eval.EvalProject.executeTarget()


        EvalProject project = engine.loadProject(file);
        if (getTargets().isEmpty()) {
            String dft = project.getDefaultTarget();
            if (dft != null) {
                project.executeTarget(dft);
            } else if (!project.getAntProject().getTargets().isEmpty()) {
                String targets = Joiner.on(", ")
                                       .join(project.getAntProject().getTargets().keySet());
                logger.error("No targets specified and no default provided (try one of: {})",
                             targets);
View Full Code Here


                                                   }));
                    logger.error("No targets specified and no default provided (try one of: {})",
                                 targets);
                    System.exit(2);
                }
                project.executeTarget(dft);
            } else {
                project.executeTargets(options.getArgs());
            }
        } catch (TaskExecutionException e) {
            // we handle these specially
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.