Creating new folder while installing javafx application in desktop - javafx

I have a javafx application and i have built it using netbeans. I am able to create a desktop shortcut for the application. But what i need is a new empty folder on the desktop while installing the application. Is it possible?
I have tried adding mkdir dir=${user.home}/Desktop/new folder in the post-deploy tag of build file but it creates the folder before installing the application.

Related

How to run the angular application i.e developed by using Angular CLI in VS2017?

Am working ASP.NET Web Application with Angular 6. For this, I created a solution/project by taking an empty Web Application template in Visual Studio 2017. With the help of Angular CLI, I added the Angular files successfully to the ASP.NET Empty project and the project structure looks like:
Whenever I am trying to run the code from VS 2017, then the Application won’t load main.ts file it only displays index.html content. But whenever I am trying to run the code from command prompt by entering the command as ng serve, then the application should launched successfully and load the main.ts file as well as display the UI/UX design.
So, can anyone suggest me what is the problem when I run the above angular application from VS2017 it won’t load the main.ts file? But the same application will work from command prompt using ng serve command.
open cmd
change directory or folder using cd command like cd desktop to your project folder
put ng-serve on cmd and hit 'Enter'
OR
npm run ng serve use this command...

Change WAR directory in Eclipse

I am using the google-plugin-eclipse add-on and the latest gcloud code. I have the Java version installed. On the old plugin you could change the war directory but on the new one I cannot. I am using Grunt and Bower and inject several dependancies. In the past I had a "dev" directory that I would use grunt build on to minimize the number of files and the files themselves into the "war" directory. While developing locally - I would change the eclipse settings to use the "dev" directory and then before publish I would build and test the war directory and publish from there. Screenshots below of old and new plugin settings. Any ideas how to change so I don't have to play a folder rename game?
Old Plugin Settings Image
New Plugin Settings Image
The new Cloud Tools for Eclipse (CT4E) is based on the Eclipse Web Tools Project (WTP). WTP uses a set of rules called the deployment assembly to assemble a set of source files and directories into a WAR. WTP provides a project properties page for changing the deployment assembly rules. You can have multiple source directories combined into the same location.
So you can adjust your project's deployment assembly to add your war directory and have its contents to be deployed into the WAR root.

Can't launch Qt Quick Controls application

I downloaded Qt 5.4 and created Qt Quick application with Qt Quick Controls 1.3.
I didn't change anything in code, just built it (as release). Then I copied .exe to another folder, added all the .dll files I needed and when I launched my program there was no window, just the program process running in the Task manager.
However, I can launch program which uses QtQuick 1.1.
How can I fix it?
Thanks.
Here is an image for some more explanation:
Try to deploy your application using The Windows Deployment Tool which copies all DLL and other files necessary for deployment alongside your application executable automatically.
The Windows Deployment Tool could be found in QTDIR/bin/windeployqt.exe
Open your command prompt and add the path to your Qt directory and it's bin folder to the PATH variable like :
set PATH= path\to\Qt\bin
Next run the windows deployment tool with your application path as the argument:
windeployqt.exe <path-to-app-binary>
This way you make sure that the deployed application would work on any computer and you have included whatever necessary.
Sounds like you are missing the platform plugin. It should be in the folder of the executable, in a platforms subfolder. That's why you aren't getting a window - the runtime fails to load the platform support plugin. On windows that should be a qwindows.dll file.

deploy flex application on tomcat server (not localhost) with blazeDS starting in eclipse

I have a locally developed flex application which i would now deploy on a live server. Those are the constraints:
Using blazeDS with java code
Code depends on other project in eclipse
the other project has several dependencies on 3rd party libs.
Using some external flash .swc libs
some web.xml settings are custom
In another post the structure for the exported folder is explained:
What needs to be in a .war file to deploy a Flex application?
In the default usage of Flash Builder i can create a release build and store it somewhere. This will create the release version of all the flex content.
I now want to export the .war file within the export function of eclipse and here comes the problem:
How can i exclude the files not needed in the war file. There is a debug build of the flex app and some other files i do not need.
How can i automatically insert the dependend libs of the imported eclipse project to the web-inf lib folder. When i try to export the release the function sais that the imported eclispe project cannot be created by the release process but it is within the lib folder of web-inf on .war export except the dependencies.
Can somebody point me to the documententation of flashbuilder regarding exportinmg and deployment.
Maybe i need an ANT process to optimize that. What do you think?
Thank you
For everything you just said, there are 2 ways of doing it:
1) Create it manually by copy pasting what you need in your war file into a folder, removing what isn't needed then create said war file using command line.
2) Create an automation script that does it all for you. This could be ANT or Maven (I personally prefer Maven for it's dependency management).
The latter is the enterprise way of doing it because it's easy to run ("mvn clean install war") and you can attach the script to an automation engine (like hudson, bamboo, teamcity, etc) which can then compile/test/deploy everything something is committed to your source control.

How to import flex on eclipse

I am using the linux Flex builder with eclipse 3.3 on my ubuntu 8.04 machine for the very first time, and I need to modify a preexisting flex project. How do I import this project (its version controlled branch of the flex project) to my eclipse environment.
I have tried creating a new flex project in eclipse and linking the source folder to it, but it does not work.
Any pointers?
when all else fails just create a new flex project of the correct type, exit eclipse and copy the project files over to that folder .. restart builder and you'll be up
You should be able to install Eclipse plugins for SVN (or whatever SCM you are using) and then check out the project. If that doesn't work then try to import it (File -> Import -> Existing Projects into Workspace). If that doesn't work then create a new Flex Project pointed at the base directory for your project.

Resources