Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
デフォルトのチェンジリストですでに開いているファイルがあり、それを別のチェンジリストに移動したいとします。移動操作で新しい変更リストを指定できますが、ファイルシステムでパスが変更されていないため、移動は無視されます。
P4V ではこれを「別の変更リストに移動」と呼びますが、p4java の名前は p4 コマンド ライン用語と同じで、ファイルを「再度開く」と呼ばれます。試す:IClient.reopenFiles()
IClient.reopenFiles()
client.reopenFiles(Arrays.asList(new IFileSpec[] { fileSpec }), newChanglist, null);