How to view contents of .adapter file in Worklight - ibm-mobilefirst

I am trying to view the contents of an .adapter file in the bin directory of Worklight's Eclipse, is there any way to check this?

The .adapter file is just a .zip file. Rename the extension to .zip and extract it. You will then be able to review the contents of the archive.

Related

Wix custom action to unzip a file

I've a zipped file which contains around 1000+ files.
I was able to bundle the zip file into msi.
But I would like to know how to unzip that file using any custom action
We had this requirement to unzip a file and place or the sub directories and files inside it at a particular location after installation.
Solution:
1. Create a exe (console app) that will unzip the file and place required files at required location.
2. Ship this exe with installer
3. Make this exe run (with execute sequence) while the application is installs.
This may add overhead, but this works.

How to copy artifacts folder to ftp folder in TFS?

I'm trying to publish artifacts and it's other folders files as well.I've read all the docs file provide by microsoft from here and used them but none of them worked for me.
I' tried File patterns as
** =>which copied all root files to ftp
**\* => which copied all sub folders file to ftp's root directory.
What I've wanted is copy folder to folder in ftp aswell.
-artifacts ftp
--a.dll --a.dll
--subfolder --subfolder
---subfolder_1.dll ---subfolder_1.dll
what's happening is
ftp
--a.dll
--subfolder_1.dll
It's copying all sub directories file to root directory of ftp.
I've use curl and ftp both giving me same result.
How can i achieve folder to folder copy in TFS 2017.
It's not related File patterns, to upload the entire folder content recursively, simply specify **.
All you have to do is checking the Preserve file paths in Advanced option.
If selected, the relative local directory structure is recreated under
the remote directory where files are uploaded. Otherwise, files are
uploaded directly to the remote directory without creating additional
subdirectories.
For example, suppose your source folder is: /home/user/source/ and
contains the file: foo/bar/foobar.txt, and your remote directory
is: /uploads/. If selected, the file is uploaded to:
/uploads/foo/bar/foobar.txt. Otherwise, to: /uploads/foobar.txt.

the file created with the jarbundler from a jar has different behavior than the source jar

I create an mac app file from a jar using the jarbundler 2.3.
i am having the following issue:
when you access the application from the jar directly, it opens a
specific folder placed near the jar file, in the same folder with the
jar file
but
when you will access the application from the .app file created with the jarbundler from the jar file above, it
will open the mac user home folder instead of the folder opened by the above jar file
Ca you tell me what should I do to have the same behavior for the both files,the .jar file and .app file created with jarbundler 2.3 from the .jar file.?
The jar bundler that I used is located here:https://github.com/tenny1028/JarBundler/releases/tag/v2.3
and I followed the steps from this tutorial
https://www.youtube.com/watch?v=cxxnAGlHtrE to create .app files from the .jar files.
The latest release of JarBundler has an option to do this.
You can view it here: https://github.com/tenny1028/JarBundler/releases/tag/v2.4

iOS save all files from remote directory at local document directory

I am properly sending a nsurlrequest to download a known path file and then save it to document directory. However, now I need to download all files that a remote directory contains. I know path for directory but not which files are inside. How to list that files in order to build paths to download it? Thank you.
Unfortunately unless you parsed a index file containing a list of the files, this is not possible as the HTTP protocol does not support directory listing. You would have to use an FTP server instead

How can I filter which files are included in a workspace using MSBuild?

It seems that MsBuild creates a folder called, "BuildType" on the build server and this folder is where the .proj file is copied. In source control I have several files that are in the same folder as the build project file. I have a workspace mapped to this location.
I would like to be able to specify explicitly which files from this workspace location should be copied to the build machine. Is this possible?
Thanks!
You cannot do this on file level but if you organize your build type folder with subfolders you can cloak the folders that you want to exclude.