Package org.apache.tools.ant.taskdefs

Examples of org.apache.tools.ant.taskdefs.Taskdef


  public void parse(Project project, Object source) throws BuildException {
    if (getImportStack().size() == 0) {
      project.log("configuring moxie tasks", Project.MSG_DEBUG);
     
      // automatically define Moxie tasks
      Taskdef def = new Taskdef();
      def.setProject(project);
      def.setURI("antlib:org.moxie");
      def.setResource("org/moxie/antlib.xml");
      def.execute();
     
      // add Moxie targets
      project.log("adding Moxie phases", Project.MSG_DEBUG);
      newInitPhase(project);
      newCompilePhase(project);
View Full Code Here


     *
     */
    public static void registerCloverAntTasks(Project antProject, Log log)
    {
        antProject.addBuildListener(new MvnLogBuildListener(log));
        Taskdef taskdef = (Taskdef) antProject.createTask( "taskdef" );
        taskdef.init();
        taskdef.setResource( "cloverlib.xml" );
        taskdef.execute();
    }
View Full Code Here

TOP

Related Classes of org.apache.tools.ant.taskdefs.Taskdef

Copyright © 2018 www.massapicom. 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.