No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
コードのリリース
メタデータコンポーネントと Apex を同時にリリースすることはできますが、Apex のリリース用に別のターゲットを作成すると、リリースの一環としてテストを実行でき、便利です。次に、build.xml ファイルの一部を示します。codepkg パッケージのコンテンツをリリースする deployCode という名前のターゲットを使用し、1 つのクラスに対してテストを実行します。
1<target name="deployCode">
2 <sf:deploy
3 username="${sf.username}"
4 password="${sf.password}"
5 serverurl="${sf.serverurl}"
6 deployroot="codepkg">
7 <runTest>SampleDeployClass</runTest>
8 </sf:deploy>
9</target>