Chapter 27. Export and Import

  1. Home
  2. Docs
  3. Chapter 27. Export and Import
  4. 5. Command-line Interface
  5. Executing commands with Apache Ant

Executing commands with Apache Ant

Download PDF

Apache Ant is a software tool for automating software build processes. It is written in the Java language and is primarily intended for users with Java. If you are not familiar with Ant, you can find more information about it at Ant’s webpage. To execute commands with Ant:

  1. Browse the scripts folder under the Visual Paradigm installation directory. For Mac users, you can find the scripts folder in the Visual Paradigm package by right clicking on it and then selecting Show Package Contents. Then look in Contents\Resources\app\scripts for the scripts folder.
  2. Copy the script file build.xml and paste to the bin folder of Visual Paradigm installation directory.
  3. Open the build file in any text editor. Modify the <property> and <condition> elements to fit your environment.
  4. Modify task(s) specific parts by changing the values of parameters. For details about the parameters, refer to previous sections.
    Modify task(s) specific properties in build.xml
  5. Save the changes and exit.
  6. Start the command prompt and navigate to the bin folder of Visual Paradigm installation directory.
  7. Enter ant build.xml, and then the task name to execute specific task.