I have a maven-based JavaFX application that's ready for deployment. I found this great article What is the best way to deploy JavaFX application, create JAR and self-contained applications and native installers on Stackoverflow that could have answered my question, however, it's dated to 2015 and the link for the article of interest has been removed. Any insights will be great.
Related
I have a .Net Core 3.1 application that I'd like to deploy as a Self Contained (SCD) Deployment using an MSI Installer in Visual Studio 2019...
I have published the project as an SCD Deployment and I can run this on the target machine just fine
However, I've been asked by IT support to provide an MSI installer for the application as .MSI files work well with some of the admin/control applications they have.
So I created a setup project in my solution and selected 'Publish Items' as the Project Output of the setup project and rebuilt it...
The installer seems to run just fine on the target machine but when we try to run the installed application it says that .Net Core is required ...It's as if the installer has ignored the Self Contained aspect and just installed as a regular Framework Dependent Deployment
Is there a way to create an installer that installs an SCD deployment? Have I made a mistake in my thinking?
Many Thanks in advance,
Andy
The VS Setup Project template is quite old. Most likely it was not updated to be "aware" of the SCD support so it resorts to extracting the classic output binaries from your project.
There are other free tools that you can use to create an MSI from VS, which give you more options to customize and correctly configure the package.
If you have time and want to learn a new skill, try WiX Toolset. It is very powerful but you will need some time to get started.
If you wanted to get it done quickly and avoid the hassle, use the free VS Extension from Advanced Installer. Its GUI allows you to easily create your setup package and it has native support for .NET Core packaging too. If you follow the steps from the linked tutorial it should create a working package for your application.
Disclaimer: I work on the team building Advanced Installer.
I have been developing ASP.NET websites solo but now I have 2 more developer and I want a tool to share project with them to create a team development environment but I don't want to share my source code with them for example my App_Code folder. I am using Visual Studio 2013 Ultimate Edition for development.
In other words i need an environment where i can share my project with other developers without my App_Code folder files.
Sorry for my bad English.
Create a class library Project and add your sources to it.
Build it in release mode.
Add reference to the output DLL from the main project.
That's about it.
Regarding Source-Control Tools or TFS - it is good to have but will not replace the solution provided and is not focused to provide a solution to your problem.
It just a way to ease team development regarding versioning, bug tracking and etc..
I am going to write a build commands for flex 4.5 project, which is only based on actionscript not with java. I am very new to both maven and ant.So can you people suggest which is more compatible and robust with Flex 4.5
Maven definitely has better integration with Flex than Ant. There are several reasons:
Mature plugins. Maven has especially great plugins for integration with Flex. The one that seems most matured and is in active development is Flexmojos
Dependency management. Maven can download libraries required by Flex on the fly. Maven embedded dependency management functionality is invaluable, especially for Flex projects.
Generating project structure. You can generate typical project to start from scratch using Maven. Personally I find it to be very useful and helpful.
Even though there are popular and supported bundle of readily available Ant tasks (called Flex Ant Tasks) available both with the open source Flex SDK and with Flash Builder (also I should point out that Ant might more also good choice if you're perplexed by Maven complexity or you need build automation for simple small-to-midsize project), Maven turns out to be more mature and more appropriate choice.
PS. You can find short manual on how to start with Maven for building Flex projects here.
I want to build a website that uses Flex/Flash as the GUI, and Java for the business tier, all to be deployed on Glassfish.
Not having done this before, I am wondering how the overall development/build process works.
Flex has an IDE, and I am wondering would I also develop the Java part of the application in the same IDE? Or, do I make the Flex part in the Flex IDE, and the Java part elsewhere, and somehow make them work together?
And, regarding deployment, what are the general pieces involved in this type of application.
I am used to a java website being an EAR or WAR, does the Flex part get built into the EAR/WAR, or is it a separate thing that is deployed independently from the Java artifact?
For the build process, does one build the Flex part separately from the Java part, or can they be built together, i know this is close to the previous question about what pieces are deployed in a Flex/Java application.
Just looking for big picture type answers to get an idea of the development and build process when building a web application.
For our project, we have our Java and Flex code separated by project. When building and deploying our project, our Flex code builds and puts the swf into the web directory of our Java code. The Java code is Warred and deployed through Tomcat.
Many developers use Eclipse with the Flex Eclipse plugin for Flex-Java projects.
I'm creating an asp.net application/plug-in to run on a asp.net website/e-commerce solution. I want to make deployment easy for the user so that all they have to do is double click on an icon and all of my apps files will be placed into the proper folders on their asp.net website and all the necessary third-party files, like Microsoft's Visual Fox Pro 9 dll, will be installed. Is there a good tutorial or reference I can view to learn how to handle these deployment issues and are they even possible?
thanks
You can make an MSI (Microsoft Installer) which will do most of the work for them.
From Programming Microsoft ASP.NET 3.5 by Dino Esposito
Precompilation for deployment creates
a file representation of the site made
of assemblies and static files. This
representation can be generated on any
machine, and it can be packaged to MSI
and deployed.
Create an MSI is definitely a good
option to do this.
If you already have all the output
with dependencies, then a batch copy
script can do that for you.
If you are building from your
source, then take a look at
MsBuild/NAnt,and you can moidfy some
post-build script to do that batch
process for you.
You can also take a look at web
deployment project.