Jun 22, 2011 at 9:32 AM
Edited Jun 22, 2011 at 9:34 AM
Using the following MSBuild command from the extension pack:
<MSBuild.ExtensionPack.FileSystem.Share TaskAction="Create" MachineName="$(RemoteServerName)" ShareName="JBOSSLOGS" SharePath="E:\jboss\server\all\log" CreateSharePath="true" Description="JBOSS Thunderhead Log share"/>
The problem I have is that the extension pack seems to be checking for the sharepath on the CURRENT machine and failing.
The error thats returned is "error : DirectoryNotFoundException: Could not find a part of the path 'E:\jboss\server\all\log'.\r
If I create the empty structure on my current machine, the code then runs and creates the share correctly on the target REMOTE machine.