Arquivo de Entrada de Migração de Amostra

Arquivo de parâmetros de entrada de amostra para migração de linha de comandos J2C.

Propósito

Se os parâmetros que você deseja usar para executar a ferramenta de migração de linha de comandos excederem o comprimento máximo permitido, é possível criar um arquivo de entrada para conter seus parâmetros. A amostra abaixo fornece um exemplo de como fazer isso:

SampleMigration.txt

###############################################################################
# Licensed Materials - Property of IBM
# 
# 
# 
# Copyright IBM Corporation 2005. All Rights Reserved. 
# 
# Note to U.S. Government Users Restricted Rights:  Use, duplication or disclosure
restricted by GSA ADP  Schedule Contract with IBM Corp. 
###############################################################################
#
# Description: Sample Input Parameters file for J2C Command Line Migration.
#
# There is a classpath length limitation for command line migration invokation.
# You may want to put your migration input into the file and then pass in
# to the migration tool as a parameter.
#
#This sample is for windows only 
#
#
#Do not translate
#
#WSDL source 
# can be a service WSDL file or folder containing one or more service WSDL files.
# do not put quotes around the string
#
#WSDL=d:\\wsdl\CustomerService.wsdl
WSDL=d:\\wsdl
#
# Name of the migration summary report - we will append .xml to it.
# if you specify REPORT=d:\mySummaryFolder\migrationReport
# make sure the mySummaryFolder exists
#
# In the plugin com.ibm.j2c.migration_6.0.1 
# There is J2CMigration.xsl style sheet for the migrationReport.xml file to reference
# The J2CMigration.xsl will be generated in where migrationReport is located.
# 
#REPORT=d:\mySummaryFolder\migrationReport  
REPORT=migrationReport
#
# Output Project Name
OUTPUTPROJECT=batchOutput
# Output Project Type: Java Web or EJB
#OUTPUTPROJECTTYPE=Web 
#OUTPUTPROJECTTYPE=EJB
OUTPUTPROJECTTYPE=Java
#
# generate data binding only 
# if we generate data binding only, generate command bean (COMMANDBEAN) must be set to
false
DATABINDINGONLY=false
#
#generate command Bean
# if this is set true, databindingonly must be false
COMMANDBEAN=false
#
#debug on
##DEBUG
#

Feedback