IT Hit WebDAV Sample App not running with tomcat - ithit-webdav-server

I have downloaded the sample app [ITHitWebDAVServerLibJava.tar.gz] trying to understand how this IT Hit Webdav work.
I started the demo app with Tomcat 8, running on JDK 1.8. From the tomcat console / log, it seems everything just fine, however when I access the main page, it doesn't list out the sample folders & files as how it suppose to (referring to the online demo).
screen : main page is render without listing out the folders & files
I downloaded the sample app and unzip it, without changing the folder structure of it. I have just edited the WEB-INF\web.xml so that it point to the correct trial license file. Please advise if I have missed out some configuration? Should I move out certain files from the WEB-INF folder? Is there any step by step setup guide this demo?
screen : unzipped sample app folder without changing the folder structure
Also, I have downloaded the trial version of AJAX library as well [ITHitWebDAVAJAXLibraryTrial.tar.gz], please advise how should I put this library into the main sample app? As in I should put this library files under which folder of the main sample app?
Please advise.

The default HTML page supplied with IT Hit WebDAV Server Library for Java sample servers use IT Hit WebDAV Ajax Library to list and browse WebDAV server content as well as to open documents for editing.
You can install IT Hit WebDAV Ajax Library from NPM using NPM command-line tool.
Install the Node.js, it installs NPM command-line tool.
Navigate to '\sample_folder\WEB-INF\wwwroot\' folder.
Execute:
npm install webdav.client
This will download IT Hit WebDAV Ajax Library library into the wwwroot folder.

Related

Mimicking build_runner serve on a nodeJs server

With the expiration of Dartium that happened just a few days ago, I felt compelled to migrate from dart 1.24.3 to Dart2, even though it is still in dev.
I have although hit a few walls doing so, one of them being related to the architecture of my apps.
I run a nodeJs server, which also acts as a webserver with client side dart.
The problem that I experience with the new dart SDK is that in order for the .dart files to be read in Chrome, they must be served using webdev serve or build_runner serve.
Obviously, these 2 commands act as the file server, which is not what I want since I'm using a nodeJS server.
By using build_runner watch I think I am enabling the build and watch of the .dart files into .dart.js inside of the following directory :
.dart_tool/build/generated//lib
I am also able to serve them from my nodeJS server. What remains is the package directory, I can't seem to find where pub serves gets the following package files:
/packages/$sdk/dev_compiler/amd/require.js
/packages/$sdk/dev_compiler/amd/dart_sdk.js
Does anyone know what build_runner serve does to include them?
Thank you,
There are 2 options for using a different server during development.
Run build_runner serve on a different port and proxy the requests to it from your other server. This has the benefit of delaying requests while a build is ongoing so you don't get an inconsistent set of assets.
Run build_runner watch --output web:build and use the created build/ directory to serve files from. This will include a build/packages directory that has these files in it.
These files are served from the lib directory of the dart sdk itself.
Note that there is another option, which is to use the -o option from build_runner. This will create a merged directory with source and generated files, which you can serve directly without relying on any internal file layout.

Remove image upload button in Microsoft BotFramework iFrame

Does the iframe embed has any configuration / support to disable the button ?
The embed web chat doesn't have direct configuration to disable the upload botton and functions. However, the embed web chat is built by the project BotFramework-WebChat, so you can modify the source code, and compile into your own version to achieve your requirement.
Clone the repo https://github.com/Microsoft/BotFramework-WebChat to your local work space, run npm install to install all the node.js dependencies.
Comment the code section from line 114 to 132 at /src/Shell.tsx.
run npm run build to compile the source code to javascript file.
follow Easy: In your non-React website, run Web Chat inline section leverage your own js file in your website.

Can't debug in Edge using Aurelia CLI build

I'm using ASP.NET Core with an Aurelia CLI build (TypeScript, SASS).
I've noticed that I can't debug my TypeScript files in Edge at all - the browser says it is unable to find the source maps, even though the locations are correct and the source maps exist. I can't see any of my src files in the source file browser.
There is no issue with Chrome or Firefox, they just work.
I tested a vanilla HTML / TypeScript project which is fine in Edge for debugging, so it must be something to do with the way the files are packaged in the Aurelia build system.
The specific error I get is along the lines of:
"Could not locate file:///XXXX specified in source map http://localhost:16377/scripts/app-bundle.js.map"
Is this a known issue? Is there any fix for it?
This is definitely an issue with the CLI and how it is producing sourcemaps. It looks like HTML files are having their path in the sourcemap file written as the full drive path on the machine, while the content of the file actually isn't being written out at all.
I've created an issue on our CLI repo: https://github.com/aurelia/cli/issues/409

Dart app with bin, web and libs

I want to make Dart app that has flexible deployment. It can be started as a web server or standalone app in browser as well. My directory structure:
bin
- httpserver.dart
lib
- commonlib.dart
web
- web.html
- web.dart
pubspec.yaml
I wanto start either httpserver.dart providing web's content or web.html directly in Chromium. I have troubles with the lib visibility from bin/httpserver.dart. using the "import 'package:prj/commonlib.dart'" does not work. But from the web.dart is works fine.
Please advice how to share libs among bin's and web's code. Or I should I make structure of dirs somehow different?
Note: there is no packages sub-dir in the bin directory created by pub get. I am using dart sdk 1.7.2.
Thank you, Ladislav.
In the bin directory there should be a packages symlink created automatically but it is not in subdirectories of prj/bin. If the symlink isn't created just create it manually.

SOAPUI: Cannot find the icon to open application on mac

I am having trouble opening soap ui.
I have gone onto their website and downloaded SoapUI-5.0.0-mac-bin.zip from http://sourceforge.net/projects/soapui/files/soapui/5.0.0/
I have then unzipped it and have many different files but there is none with the icon to open the application. Someone said to open soapui-5.0.0.jar in the bin folder but when I do I get an error saying it cannot be launched and to check the console for possible error messages.
I cant seem to find the error message on the console - I have very limited technical ability I think haha I am running 10.9.2 apple OS if that helps at all.
I would attach screenshots but my reputation isn't good enough
In the bin folder there is a file named soapui.sh. To start SoapUI you can run this file from the terminal.
A possible easier way to run SoapUI is to download the SoapUI-5.0.0.dmg file from http://sourceforge.net/projects/soapui/files/soapui/5.0.0/. Running that file will start an installer for SoapUI. Once installed you will get an icon on your desktop that you can use to start SoapUI.

Resources