The Java examples are provided in the AS_HOME/examples/java directory. To facilitate building the Java examples, a build.xml file for use with Apache Ant is provided.
See http://ant.apache.org for more information on using Apache Ant for building Java applications.
Procedure
-
Ensure that the /bin directory for ant is in your path.
-
Change to the directory containing the ActiveSpaces Java examples.
-
Enter the following:
Result
The Java compiler compiles the examples and two jar files are created:
- Examples.jar contains the class files for all of the examples except for ASPaint
- ASPaint.jar contains the class files for only the ASPaint example.
Copyright © Cloud Software Group, Inc. All Rights Reserved.