Flex :: Make A FlexBean Plugin Cooperate With Maven Project?
Aug 8, 2011
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" ?
View 1 Replies
Similar Posts:
Jun 15, 2010
Maven 2.2.1 unzipped,M2_HOME set and repository altered to point to different drive location in settings.xml Flex 4.0:
Installed Created a multi-modular webapp project using flexmojo:
mvn archetype:generate
-DarchetypeRepository=http://repository.sonatype.org/content/groups/flexgroup
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-modular-webapp
-DarchetypeVersion=RELEASE
with following options
groupId=com.test
artifactId=test
version=1.0-snapshot
[code]....
Parent pom has swc, swf, war as modules.
Dependency is war->swf->swc.
With parent artifactId of swf, swc, war set to swf, swc, test respectively.On executing mvn on test folder(for that matter clean or anything) I get this following error.
G:Projects est>mvn -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/com/test/swc/1.0-snapshot/swc-1.0-snapshot.pom
[code]....
Looks like its trying to download the project from maven's central repository instead of building it.
View 2 Replies
Jun 10, 2010
I'am using flexmojos-maven-plugin to build my Flex module. So on the compile phase I'm getting org.apache.maven.plugin.MojoExecutionException: Error compiling!with no information on where (at what source file) the error happens and what is nature of the compile error.
View 2 Replies
Jan 5, 2012
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
View 1 Replies
Feb 27, 2010
I would like to know how to proceed to set up a work environment in order to develop Spring BlazeDS applications. Those server applications are meant to be accessed via AMF remoting from some client Flex application.Actually I have Maven and m2eclipse set up and working, local JBoss v6.0M2 running, Flex 4 plugin installed.Ideally, I would like to know how to create an eclipse project in which I can have both server (Java) and client (Flex) code and be able to deploy everything in one click to JBoss. Maybe there is a special Maven archetype for this setup? If not, I will be happy if someone can provide step by step instructions to setup all this stuff.
View 1 Replies
Sep 14, 2010
I've got a Java/Flex project that I'm building using Maven. After doing some research I'm using the Flexmojos project [URL] for the Flex part, and almost everything seems to work fine so far (after a bit of struggling). I'm using version 4.0-alpha-5 (4.0-SNAPSHOT didn't seem to work for me).The Flex projects isn't recognized by Eclipse as Flex projects though. If I manually change the .project file and add .actionScriptProperties and .flexProperties files, Eclipse seems to recognize the projects as Flex projects.
View 4 Replies
Apr 29, 2011
I've got a multi module Maven project (about 10 modules) where 2 of the modules are a flex project and its corresponding server project, communicating via BlazeDS. The server module is dependent on another module containing common things, shared over the whole project.When using objects from the common module, the objects aren't serialized and sent via AMF to the SWF. Everything in the server-module is serialized and is working fine, but the objects from the common module (which has valid values on the server side) is not sent to the client.
I'm using Flexmojos to build this. What do I have to do to make the classes in the common project available for serialization, and being able to use them as RemoteClass-objects in my swf-project?
[Code]...
View 3 Replies
Oct 12, 2010
I have a maven project that produces many artifacts. Of course it is kind of against maven best practice (one pom one artifact), but it is Adobe Flex project that produces many *swf modules and it is really makes no sence to create a separate project for each module.
For me it would be very convinient to handle all swf modules as a single zip archive eg. zip archive would be my artifact.
So I am looking for the way to pack and unpack my zip artifact with maven.
View 1 Replies
Dec 13, 2010
Is there any way how to compile maven/flex project which does not contain any *.mxml? The flex project contains ActionScript classes only (i.e. "src/flex" directory contains *.as files only). My pom.xml is here:
<groupId>com.test</groupId>
<artifactId>test</artifactId>
<version>1.0-SNAPSHOT</version>
<name>test</name>
<packaging>swf</packaging>
[Code] .....
View 2 Replies
Mar 18, 2011
Flex stylesheets are parsed by the compiler and bundled with their assets (graphics, usually) into a swf file, which can then be loaded at runtime. I've got a project with a fixed number of styles (currently 4: old corporate style, new corporate style, and high contrast versions of both). Using Flash Builder (Eclipse with Flex IDE plugin) I'm able to have all .css files compiled to .swf files alongside the primary project artifact .swf file. This is also possible with ant scripts.
My current understanding is that Maven wants to only create one artifact per project (POM file), but may have some additional ones added (like zip packaging). For scalability reasons - I've got a complex setup of many library and module projects, several of them having their own individual stylesheets - it would be very impractical to split up the projects into the 'main' project and copies for each stylesheet. At least on the Eclipse project side, having some subfolders with POM files in each, all refered by a master pom file and referring the same src/ location (and being inside one Eclipse project) would probably work. Though that's ugly and needs individual artifactIds for each, and still need to be assembled somehow.
The important thing is to be able to have a final assembly which contains the (Eclipse) projects main swf file and each stylesheets swf file (and some static files like localized texts to be loaded at runtime). This will be part of a large assembly of several of those projects which I've described in a separate question.
I'm using Eclipse 3.6.1 (Helios) with Flash Builder Plugin (i.e. Flex4), targetting Flex SDK 3.5 (FlashPlayer 10.0). I've installed Maven 3.0.2, using Sonatypes flexmojos-maven-plugin 3.7.1 (as it seems more active than the one from Servebox). I've manually created pom files for my projects and they work (though only compiling one swf artifact file, depending on whether I specify the main .as or one of the .css files as sourceFile)
I've tried for some days now to understand "The Maven Way" (which seems to be tailored for Java and not fitting perfectly for Flex), but couldn't get this to work so that I have a single project, or at least a single assembly with everything in it.
View 1 Replies
Sep 6, 2011
I wanted to develop a flex based mobile project. I have Eclipse plugin for Adobe Flash Builder. But I cannot see any option in the "Create Project" list for Mobile project.I have seen Mobile Project is available in Flash Builder Standalone version, but I wanted it in eclipse plugin.
View 2 Replies
Dec 18, 2009
in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?
View 1 Replies
Jun 17, 2011
How i make export my Flex project for IOS.I am using Flash Builder 4.5 .
View 2 Replies
Sep 8, 2010
I am using Flex Builder for an Actionscript which apparently has a dependency on IMXML object. I'd never heard of this object, and there is nothing on the project site about any dependencies. I assume it's a Flex component library, though. Which library should I include in order for this program to resolve its dependency issues?
View 1 Replies
Aug 1, 2011
I'm trying to use JMeter to test our web application and I'd like to use an automated recording of tests but our UI is in flash/flex. Is there any way to get the proxy server to cooperate with the flash/flex? I do have control of both the client and server sides, though rewriting our application to redirect the flash/flex calls to another address isn't really an option. If there were an automated way...
I'm currently testing Windows client and server, but I also need to support testing on Linux client and server. If tests need to be created on one or the other and can be ported to both I could live with that.
View 2 Replies
Apr 28, 2011
I'm using flexmojos 3.8 with flex compiler 4.1.0.16248.My Project compiles fine in Flash Builder, but with flexmojos / maven I get the following Error: Type was not found or was not a compile-time constant: UncaughtErrorEvent
The Flex Code looks like this:
loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onUncaughtError);
The Flex Compiler 4.1 should know the type UncaughtErrorEvent - Why does it fail?
View 2 Replies
Nov 1, 2010
I can't set my custom theme in Maven like I do it in Eclipse by changing theme in project properties.
I note the theme swc in dependencies, the compiler founds it but the theme doesn't change.
Who knows how can I set a custom theme in Maven?
View 1 Replies
Jan 5, 2012
I have several maven modules (each with a pom)I am looking to compile my swf without first compiling each module into a swc, like i am soing now. I suppose that should speed up the compilation process.
View 1 Replies
Aug 9, 2011
I have a java server side project which contains JAX-WS web-services (using JavaEE 6 and the @WebService annotation).
Is there some kind of plugin that would allow me to generate Flex client stubs during my maven build ?
I have taken a look at enunciate, but it seems to generate only AMF client.
I've also tried to look at GraniteDS, but their doc seems a little opaque to me.
Notice my Flex project is compiled using flexmojos, which contains a flexmojos:generate mojo that should be able to generate domain object (however I don't understand how to say it to use domain classes from ANOTHER project, and not from a different folder).
So, is there any maven plugin that would allow the kind of feature described in this Adobe page ?
View 1 Replies
Feb 25, 2011
In my university a have to make a project: XMPP client on Adobe Flex. On this occasion I've decided to learn any architectural framework and to use it in my project. Could you advise me, what framework would be the best one for the XMPP client? What are advantages and disadvantages of this or that framework?
View 7 Replies
Nov 16, 2010
I am using flexmojos to build my flex projects. I also have a flash project containing .fla files which needs to compiled into swf have I thought was to use a command line script to do it and force maven to call the script. Something like this
View 1 Replies
Jun 21, 2011
Does anyone have a sample pom.xml or a tip of how to get flex-mojos to compile FXG files?We use some FXG images in our project by adding them in mxml like:The image ns refers to a package containing the FXG image files.In Eclispe this works fine.But when flex-mojos is compiling the project we get a "Type not found" error.We get the same error in eclipse when we delete the FXG but keep the tag in MXML.
View 1 Replies
Jan 4, 2012
how can i change my list component in Flex 4.6 mobile project with that when an item is pressed it would dynamicly resize and show an article description and a button [URL]
View 1 Replies
Jun 30, 2011
Is there a good Maven archtype for Flex Spring Hibernate integration which can be used as template?
View 1 Replies
Nov 22, 2011
Currently, I'm trying to use latest maven to build flex projects in IntelliJ-Idea. But have no success.What is the best way to do it?
View 1 Replies
Jan 17, 2012
I have flex application consisting of several modules which is configured using maven. I'm using flexmojos plugin to build the application. When I try to build the application using maven it builds successfully. But I need debugging features of Intellij Idea (i'm using 10.0 version). So at first step I run maven compile command to generate *-configs.xml to enable Intellij idea compile my application. At second step i run IDE's compile(or make) command and it says:
[Code]...
View 2 Replies
May 19, 2010
I have to port an existing project to Maven, and it includes a resource called "config.xml" that is copied to the deploy directory alongside the SWF and HTML, and loaded at run-time to locate a bunch of WSDLs.
Flex Mojos has taken it upon itself to assume that my xml file is a flex-config file with instructions for the compiler, which of course promptly gives up the ghost.
The question is: How do I specify a named config file for the compiler so that Maven stops this nonsense (as well as specifying my compile-time options)?
View 1 Replies
Oct 18, 2010
I develop Flex-Java applications which is running under Apache Tomcat. I use Flex Builder plug-in for Eclipse as my IDE. My application consists of several libraries and modules. I manage all of them as a small maven (flex-mojos) projects.
how to setup robust debuging enviroment?
View 1 Replies
Jan 31, 2012
I can use Maven with FlexMojos to generate swf file, but because I have several mxml files need to build, could I build them in 1 Maven pom file?I know if I separate them into several projects, Maven can build them. But because these mxml files have some shared functions, it's not easy to manage if I separate them.Another question is the size of swf file. The original file size build by Flex builder is about 80KB, but the file size by Maven is about 800KB. Is it normal?
View 2 Replies
Jan 15, 2010
I'm building a Flex application with Maven and the Flex Mojos plugin. I now want to compile an alternative version of the application with some extra libraries to enable automated functional testing. For this I need to change 2 things in the pom: extra dependencies extra configuration of the Flex Mojos plugin in the build section I created a profile in the pom targetted at building the alternative version and added the extra dependencies. I'm wondering however how I can specify the extra configuration of the Flex Mojos plugin in the build section. Should I just redefine (copy and modify) the complete plugin configuration from the build section into my profile,
View 1 Replies