Building the Chat Server

ChatServer is the first executable to be delivered. The relevant portion of its build script is illustrated in Listing 9.6.

Listing 9.6. The build.xml Script for the Common Layer
 <available file="${chatserver.lib}/${chatcommon.jar}" property="chatcommon.classpath" value="${chatserver.lib}/${chatcommon.jar}"/> <available classname="${chatserver.classes}/${chatcommon.class}" property="chatcommon.classpath" value="${chatserver.classes}"/> <classpath path="${chatserver.classes}" /> <available file="${chatserver.lib}/${channel.jar}" property="channel.classpath" value="${chatserver.lib}/${channel.jar}"/> <available classname="${channel.class}" property="channel.classpath" value="${chatserver.classes}}"> <classpath path="${chatserver.classes}" ...

Get Ant Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.