The Java EE 6 Tutorial

ProcedureTo Build and Package the Clients for the Synchronous Receive Example Using Ant

  1. In a terminal window, go to the producer directory:


    cd producer
    
  2. Type the following command:


    ant
    
  3. In a terminal window, go to the synchconsumer directory:


    cd ../synchconsumer
    
  4. Type the following command:


    ant
    

    The targets place the application client JAR file in the dist directory for each example.