その他のアプリケーションとの統合 > 統合ソフトウェアの管理 > PTC Windchill Integration for Software Build Tools Developer's Guide > Windchill Integration for Software Build Tools コマンドの使用 > 例: Software Build Tools コマンドのカスタムビルドスクリプトからの実行
  
例: Software Build Tools コマンドのカスタムビルドスクリプトからの実行
次の例では、カスタムビルドスクリプトを使用して Software Build Tools コマンドを実行し、ソフトウェアビルドを作成する方法を示します。
java $(Username) $(Password) —jar $(SoftwareBuildtoolsJar) —ServiceName CreateAndUpload —ContainerType PRODUCT —ContainerName $(Container) —Location FPGA/Builds —ObjectType SWBuild —ObjectName $(name)—$(version) -Filename D:/dist_client_windows/auto_test/auto_test_results.txt —IsPrimary false
java $(Username) $(Password) —jar $( SoftwareBuildtools.jar) —ServiceName UpdateObject —ContainerType PRODUCT -ContainerName $(Container) —ObjectName $(name)—$(version) —Location FPGA/Builds —Attributes RialtoBuildVersion=$(version)\;RialtoBuildLabel=$(label)\;RialtoBuildDate (TODAY)\;RialtoBuildStatus=In Process\;RialtoBuildDescription=$(FullTitle) $(version)
次の例では、カスタムビルドスクリプトを使用してさまざまな Software Build Tools コマンドを実行し、ソフトウェアビルドにコンテンツをアップロードする方法を示します。
java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName AddContentToSWBuild —ContainerType PRODUCT —ContainerName $(Container) —Location FPGA/Builds —ObjectName $(name)—$(version) —Content D:/LCD/LPC2368.zip —Filename LPC2368.zip —IsPrimary true
java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName AddContentToSWBuild —ContainerType PRODUCT —ContainerName $(Container) —Location FPGA/Builds —ObjectName $(name)-$(version) —Content http://<custom_location>/LCD/LPC2368.zip —Filename LPC2368.zip —IsPrimary true
java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName UpdateObject —ContainerType PRODUCT —ContainerName $(Container) —ObjectName $(name)—$(version) —Location FPGA/Builds —Attributes RialtoBuildDate=$(TODAY)\;RialtoBuildStatus=Successful
java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName LinkBuildToDocs —ContainerType PRODUCT —ContainerName $(Container) —BuildObjectName $(name)—$(version) —BuildObjectLocation FPGA/Builds —DocumentType SWDocument —DocumentName RTOS —DocumentLocation FPGA/Source
java $(Username) $(Password) —jar $(BuildMgrJar) —ServiceName LinkDefectToBuild —ContainerType PRODUCT —ContainerName $(Container) —BuildObjectName $(name)—$(version) —BuildObjectLocation FPGA/Builds —LinkType SubmittedTo —Adapter bugzilla —DefectID $(defectid1),2,3,4,5