マイグレーション用入力ファイルのサンプル

J2C コマンド行マイグレーションの入力パラメーター・ファイルのサンプル

目的

コマンド行マイグレーション・ツールの実行に使用するパラメーターが許容可能な長さより長い場合は、 パラメーターを収容する入力ファイルを作成することができます。 以下のサンプルで、この作成方法の例を示します。

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
#

フィードバック