TFS 2015 Build vNext: Upload Files via WebDAV? - webdav

We want to upload files to a WebDAV-Folder and tried to use the "Windows Machine File Copy"-task for that (this uses ROBOCOPY inside). But we donĀ“t see any possibility to enter the destination folder in the right form.
1. We tried
\\our.website.de#SSL\DavWWWRoot\remote.php\webdav\
and
2. we also mounted this location as a network drive first and tried to use the drive letter,
but none of these attempts succeeded.
Is "Windows Machine File Copy" the right type of task for that or is there any custom task out there that accomplishes what we need?
Thx...

You should separate specified Machines and the folder path. Do not use it together.
Machines:
Example: dbserver.fabrikam.com, dbserver_int.fabrikam.com:5986,192.168.34:5986
Folder Path:
The folder on the Windows machine(s) to which the files will be
copied.
Example: C:\FabrikamFibre\Web
More detail info please refer this link: Deploy: Windows Machine File Copy

Related

Can I use non-canonical share folder paths?

I am working under linux/unix (ubuntu centos darwin)
I often build from source and install my biotools folders in a non-canonical place in order to have full write access to that place for all users and also to avoid overwriting/conflicting with important files placed by the OS in /usr/... and /usr/local/...
I put the tool build folders in /opt/biotools and alias all exe files in /opt/biotools/bin (which is in my PATH)
Now some apps need to access dependencies or libraries usually written in /usr/local/share or /usr/local/lib, ...
Is it possible to add such folders like /opt/biotools/share, /opt/biotools/lib, ... and have the system find them?
Should I add these folders to the PATH?
Thanks for your help

How to Copy a Local Directory to an Apache Server

I have a directory on my desktop and need to copy it to my server. I've looked up a command to do this being
scp -r /path/to/local/storage user#remote.host:/path/to/copy
but when I run it, it just tells me "No suck file or directory".
First of all is this the correct way to do this or is there an easier way to take a directory from local storage and put it onto an apache server? Once I get it on the server I can move it around just fine there. I just need to get it on there!
the path I'm using right now for local is
/Users/byw5k_000/Desktop/myWebsite
with myWebsite being the directory I want to copy onto my server.
I'm curious if I'm getting the path incorrect. What is the correct path to the desktop on a windows 10 computer and will this work for me to copy an entire directory onto an apache server?
You could try changing to your Desktop directory like this:
cd C:\Users\(username)\Desktop
and then running:
scp -r myWebsite user#remote.host:/path/to/copy
Should work as ling as you can change to your Desktop directory

Configure cloud-controller.xml in Stratos

I have configure the cloud-controller.xml file before I start the stratos server in order to support OpenStack. The order of file given to me was stratos-server/repository/conf/cloud-controller.xml.
But, there is no folder called stratos-server, but there are about 12 files in different folders. Can anyone help me to figure out which file I have to configure and how?
I'm assuming you're using Apache Stratos 4.0.0, which earlier was WSO2 Stratos.
If you're using stratos-installer[1], then you only need to provide the OpenStack details in INSTALL_DIR/stratos-installer/conf/setup.conf file. The installer will configure cloud-controller.xml along with the other files using the information given in the setup.conf file.
However, if you're just extracting the Stratos zip file and configuring the files, the the cloud-controller.xml is in EXTRACTED_LOCATION/repository/conf/ folder.
[1] - https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Automated+Product+Configuration

Why a folder name is different in Windows Explorer than command line or cygwin?

I have been using Robocopy to backup my computer files. I have been using the following command:
robocopy C:\Users\ J:\backup\ *.* /a /XD AppData /XJD /R:0 /s
When I look into my J drive in Windows Explorer I see folder named J:\Users\ but when I use dir from the command line I see a folder named j:\backup. The backup and user folder seem to be the same. I also tried looking at the content of the J drive in cygwin and see the backup folder but do not see a Users folder. What is going on? Is robocopy the culprit?
Just go into the backed up folder and delete the desktop.ini file. The folder name will revert back to the directory name. You copied the desktop.ini file from the source "users" folder that is causing the issue. You can and desktop.ini to your exclusions list with out any issues to your back up. They get created on the fly anyway if they are not present.
I tested this on a windows 7 pro machine just to verify.
The problem is not related to robocopy. The link below describes the problem.
https://superuser.com/questions/381110/windows-explorer-sees-different-file-name-from-cmd/381159#381159

How to copy a license file which is placed with the setup.msi to target directory (setup created with msifactory)

I have created a Setup file i.e. setup.msi , this file contains a website installer
I have a License.xml file that I want to give to my client with the installer (setup.msi).
Before running the setup.msi , client has to make sure that the License.xml file should be in the same directory where setup.msi resist.
I want my setup.msi file to copy the License.xml file to the Destination directory (where website will be installed , this path will be prompted to user for customization)
I am using MSIFactory for creating setup.msi. I am not able to do this. I searched over net but did not get any accurate answer.
I am not familiar with MSIfactory, but in installshield what I would do is, call a batch script to do the copy and pass the target directory as a parameter to it. or use the 'XCopyFile' function to do the copying.

Resources