Sun ONE logo     Previous      Contents      Index      Next     
Sun ONE Web Services Platform Developer Edition Developer's Guide



High Level Targets

This section describes the high-level targets in the various build files.

This section includes the following tables:

   Targets in the assemble.xml File

Name

Description

assemble-all
(default target)

 

Depends upon:

  • assemble-core
  • assemble-apps
 

assemble-core

 

Assembles core components and jars to be used by all the modules.

This depends upon:

  • create-common.jar
  • create-ejb-interfaces.jar
  • assemble-ejbjar
  • deploy-core
  • create-ejb-stubs-jar

It is necessary to deploy the CargolineJAR module before assembling any other module.

 

assemble-apps

 

Assembles all the modules, excluding CargolineJAR.

This depends upon:

  • assemble-admin
  • assemble-ordercenter
  • assemble-webservices
 

assemble-admin

 

Assembles the Web module, cargoline-admin.

 

assemble-admin,
assemble-ordercenter,
assemble-webservices

 

Assembles the Web module, ordercenter.

 

assemble-admin,
assemble-ordercenter,
assemble-webservices

 

Assembles the Web services module, CLWS.

 

   Targets in the common.xml File

Name

Description

asadmin                  

 

Admin interface to the Sun™ ONE Application Server.

The target needs inputs such as:

  • command
  • admin-user
  • admin-password
  • host-name, port
  • app-server-home
 

deploy

 

Admin interface to deploy applications to the Sun ONE Application Server.

The target needs inputs such as:

  • command
  • admin-user
  • admin-password
  • host-name, port
  • app-server-home
  • type of application
  • name of the application
  • path to the application
 

undeploy

 

Admin interface to undeploy applications from the Sun ONE Application Server.

The target needs inputs such as:

  • command
  • admin-user
  • admin-password
  • host-name
  • port
  • app-server-home
  • type of application
  • name of the application
 

reconfig

 

Admin interface to reconfigure the Sun ONE Application Server.

The target needs inputs such as:

  • command
  • admin-user
  • admin-password
  • host-name
  • port
  • app-server-home
 

restart

 

Admin interface to restart the Sun ONE Application Server.

The target needs inputs such as:

  • command
  • admin-user
  • admin-password
  • host-name
  • port
  • app-server-home
 

wscompile

 

Web Services utility to generate the client side artifacts (stubs).

The target needs:

  • a classpath
  • path to keep the generated artifacts
  • path to the config.xml file
 

wsdeploy

 

Web Services utility to generate the server side artifacts (ties).

The target needs:

  • a classpath
  • path to keep the generated war file
  • path to a temporary folder to keep intermediate files
  • path to the war file to be deployed
 

setup

 

Setup is used to update common.properties file.

It asks for inputs such as:

  • Sun ONE Application Server host name
  • admin port
  • user
  • password
  • install location of the platform

Based on the system platform and the inputs, updates common.properties.

 

   Targets in the compile.xml File

Name

Description

compile-all (default target)

 

Compiles all the source code in Logistics.

This depends upon:

  • compile-components
  • compile-admin
  • compile-ordercenter
  • compile-webservice
 

compile-components

 

Compiles all common and core components in the Logistics Sample Application.

 

compile-admin

 

Compiles class files in the cargoline-admin module.

 

compile-ordercenter

 

Compiles class files in the compile-ordercenter module.

 

compile-webservice

 

Compiles class files in the Web services module in the Logistics Sample Application.

 

configure-insuranceclient

 

This is one of the most important targets in compile.xml, since it runs wscompile to generate the client side artifacts for the insurance client.

This depends upon:

  • wscompile-webserviceclient
  • compile-insurance-client
  • compile-jmsconsumer
 

deploy-all (default target)

                   

 

This depends upon:

  • create-resources
  • deploy-applications
 

   Targets in the deploy.xml File

Name

Description

undeploy-all

 

This depends upon:

  • undeploy-applications
  • delete-resources
  • clean-all
 

deploy-applications

 

This depends upon:

  • compile-all
  • assemble-all
  • deploy-admin
  • deploy-ordercenter
  • deploy-webservice
  • configure-insuranceclient
 

undeploy-applications

 

This depends upon:

  • undeploy-core
  • undeploy-admin
  • undeploy-ordercenter
  • undeploy-webservice
  • clean-all
 

redeploy-applications

 

This depends upon:

  • undeploy-applications
  • deploy-applications                                                                                                                                                         
 


Previous      Contents      Index      Next     
Copyright 2003 Sun Microsystems, Inc. All rights reserved.