I have a flex maven project written by externel company that I need to modify. I dont have a Flash Builder licence yet (it takes forever to buy anythng in my company) .
I installed Netbeans 6.5 and FlexBean but when i opended flex maven project the action script code is ont recognized as action script by the IDE. Ho to make it "flex aware" ?
nb 6.5 is fairly old. does the flexbean integration require such old version?
some 3rd party tools might not integrate with the maven project type in netbeans and only do so with the default ant based projects.. if that's the case I suggest filing an issue against flexbean
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.
When I create a Java Web project in NetBeans and select a Framework, in this case Spring Web MVC, only two options appear:
Version 4.0.1
Version 3.2.7
You can do this in Netbeans:
Download the Spring Framework you need from here
Extract the contents of the archive and copy the contents of the lib directory to your netbeans location e.g /home/stanley/netbeans-8.2/java/modules/ext/spring-(version) e.g 5.1.4
On your netbeans go to Tools > Libraries > New Library
Name your Library as Spring Framework (version) e.g 5.1.4 and add all the jars from the location in 2 above.
Restart your netbeans application.
You should have the new Framework as shown in the diagram below:
TL;DR
The easiest way to create a new spring project is using Spring Initializr. All you need to do is fill in the form, download the project, unzip it and open in NetBeans.
Explanation
Regardless of a language and IDE, it is usually good idea to create a new project based on a standard build-tool for the language's ecosystem and avoid creating an IDE-specific project. That makes it easier to share the project with people who use a different IDE and switch your IDE in the middle of the project.
There are several build-tools for Java ecosystem but I'd suggest to pay attention to two of them: Maven and Gradle. Those are most widespread and supported by IDEs.
NetBeans supports Maven out of box. It supports Gradle too but in 8.2 you are supposed to install a support plugin for Gradle (from Tools -> Plugins menu).
You can generate a new Maven or Gradle project using NetBeans. Select corresponding menu item when selecting the type of the project.
Then you will have to add the dependencies of the project to its descriptor (pom.xml for Maven or build.gradle for Gradle). See the documentation for the build-tool of your choice to understand how exactly to do that.
Spring provides Spring Initializr service to generate a new project based on spring's libraries. It is the easiest way for a quick start.
Since you are using Netbeans and it supports Maven out of the box, you can get an existing Maven archetype to setup a basic Spring application for you to start from.
Although there isn't any official archetype, there are a lot of really nice 3rd party ones like https://github.com/kolorobot/spring-mvc-quickstart-archetype
The steps to start a new project are quite fast and straight forward (Netbeans 11)
File -> New Project -> Java with Maven -> Project from archetype
In the search filter enter spring-mvc-quickstart-archetype, enter your project details and click Finish
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 need to install the J2EE plugin for my flash builder 4.5 as I am using the blazeDS for my development work. I installed stand alone flash builder 4.5 and java plugin but not able to find any information to install J2EE plugin or Dynamic Web project developement plugin.
Ref: http://blogs.adobe.com/jasonsj/2010/06/java_development_in_flash_builder_4_standalone.html
Please help me if possible.
thanks
I recommend you to install Eclipse IDE for Java EE Developers and then install Flash Builder plug-in there according to instructions. In reality, it won't create new files in Eclipse folder but creates a link to the Flash Builder installation.
Is there a way to get the Flex Builder plugin working on the latest Eclipse running on the Mac?
I've read that there is no hope with the Cocoa/64 bit version, but some report it works with the Carbon version.
I need the 64bit/cocoa version on the Mac in order to have access to the JDK6 libraries via the embedded maven support in the Eclipse IAM plugin.
Unfortunately Eclipse 3.5 is unsupported by Flex Builder 3. There are a few bugs for this:
http://bugs.adobe.com/jira/browse/FB-21025
http://bugs.adobe.com/jira/browse/FB-21284
Please comment on those bugs and vote for them.
Try this one. That worked for me. I have Eclipse Galileo (3.5) and FlexBuilder 3.0
Goto your Eclipse Installation (example my installation is C:\eclipse) and there to this folder: C:\eclipse\links
Open File or create com.adobe.flexbuilder.feature.core.link and type in this text:
path=C:/Program Files/Adobe/Flex Builder 3 Plug-in
In my case the word path was missing. After that restart your Galileo and it should work.