Java :: Can Maven Projects Have Multiple Parents

Oct 28, 2009

we have java and flex projects at work. We currently have 1 base pom that contains the configurations we want to use for both projects. Problem with this is: flex projects inherit configuration for javadoc and pmd for example, which they do not want.

I want to do this a bit more clean and have a real base-pom and then a java-base-pom and a flex-base-pom. But how does this work in a multimodule that has both a flex part and a java part?

We have plugins to our own application where we use the following structure:

my-plugin
my-plugin-client (flex)
my-plugin-server (java)

The my-plugin just contains a pom.xml with section. I would use the my-plugin pom.xml as a parent to both, but then I cannot also use the java base-pom or the flex base-pom also as parent.

View 3 Replies


Similar Posts:


Use Latest Maven To Build Flex Projects?

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

Java :: Generate Flex Project Files Using Maven?

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

Java :: How Set Flex Server Location For BlazeDS Maven Build

Apr 1, 2012

As a first step getting a Hello World Flex-to-Java application to compile and run I followed: [URL] And it ran successfully. However now I wish to automate the build in Maven. How to specify the Flex Server location in the pom.xml?

View 1 Replies

ActionScript 2.0 :: Any Way To Target MovieClip Other Than Using Multiple Parents?

Apr 25, 2004

I have several buttons on an externally loaded swf that work fine but I'd like to clean up the code if possible. Is there an better way to target the mc other than using multiple _parents?

Code:
on (rollOver) {
_parent._parent._parent._parent._parent._parent._parent.expression.gotoAndStop (2);
} on (rollOut) {
_parent._parent._parent._parent._parent._parent._parent.expression.gotoAndStop (1);
}

The thing is I am not exactly sure if this mc is going to remain an external swf or if it will eventually stand alone, which is why I haven't targeted the root at its level. I'd like it to work either way if possible.

View 1 Replies

Flex :: Adobe Flash IOS Packager Throws Java.lang.OutOfMemoryError When Packaging Large Projects?

Jul 20, 2011

I've been porting a Flex 4 codebase to iOS using the adobe packager, but have run into a snag when trying to package our whole codebase. The packager runs for a while and then throws an OutOfMemoryError - even if I increase the java heap size to 4GB. No single piece of code seems to be causing the problem, as it compiles successfully if I cut out large chunks of code, and I can change which chunks I'm omitting. It might be related to the size of the code itself.I've logged a very detailed bug report with adobe here: ou can package to reproduce the issue, a ruby script that generates actionscript codeto generate that AIRI file, and a summary of all of the things I tried before logging the bug.

View 2 Replies

Java :: New Project Created With Flex Mojo's Archetype Throws Cannot Find Parent Project-Maven Exception

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

Flex :: Handling Multiple Artifacts From Single Maven Project

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

ActionScript 3.0 :: Working With Multiple Projects

Aug 11, 2009

I am working on an educational project where users access multiple interfaces that teach them scientific concepts and I've come to a snag in the best method of developing these interfaces.As they were developed in the last module the format looked like this. Each interface was a separate swf file that contained all needed code, graphics, and a set of fake data for whatever the interface needed. Each revision of the interface is compiled and displayed through meetings or emails where the actual swf file is sent, we do not have a test server nor do we have access to the internet in the rooms where reviews happen. Currently after the final look and interaction is approved all calls to the fake data are modified to either make database calls themselves, or call functions from it's containing swf file once it is loaded.[code]Obviously I haven't gotten it to work but I'm thinking something along those lines. Any suggestions on a method to do this the best. Ultimately I would like to be able to do this for embedding assets as well. For example a font, currently I load fonts from an external file, which means each FLA needs a copy of that font file and at completion all files load the same text file.

View 3 Replies

Actionscript 3 :: Export A Symbol For Multiple Projects In Flash?

Aug 25, 2011

Is there a way for me to export a symbol from the library so I can use it in multiple files without having to add the symbol to each library?

View 1 Replies

ActionScript 3.0 :: Convert Flash Projects Using Flex Projects?

Sep 6, 2010

I am going to build chart application with Flash Professional CS5 using AS3.0.Is there any possibility to convert this Flash application into Flex by creating movieclips and symbols in runtime in flex.How to do it.

View 1 Replies

Flex :: Structure Multiple Cairngorm MVC Projects That Share Several Components?

Jun 5, 2009

I recently completed a project for a custom report UI in Flex. Now, I've been tasked with creating a new application that is essentially a "lite" version of the original UI. It will include only a few of the options that are in the original application. Also, it needs to be a separate application.

I do not want to duplicate my code, so I am planning on moving a bunch of the classes from the original application to a new library that can be shared by both applications. However, I'm trying to figure out how to make this work in my MVC environment.

For example, I have an Accordion component that lets users filter several items. Each Accordion child is an instance of a custom component with two lists (one for entities available for selection, the other for the entities the user has selected). Each child component has properties bound to the Model and functions that call Cairngorm Events.[code]...

View 1 Replies

Professional :: Multiple Fla Projects - When Loading Main Swf File 3 Other Swf Files Are Also Loaded

May 31, 2011

I am new flash developer, and inherited a project which has 4 fla project files. When it runs inside a browser, it appears "window" which occupies whole browser. This project is write in Flash CS3. I have few questions:

1). When loading main swf file, 3 other swf files are also loaded. These swf files are communicating with each other through message. When debug the mail swf with CS3, I can set breakpoint and the program can stop only at limited AS files. My questions is how to debug other AS files in other swf file?

2) I used CS5. It seems that I can stop at more AS files, which does not belong to main swf file. Why?

My questions is should I use CS5, which might makes debugging easier? Is it right direction to go to debug multiple swf? (For CS5, I need to fix some code in order to make the program fully working as CS3)

3) What's best tool to use for such project since CS3 is very old. Should I use Flash builder, Flex. Amethyst?

View 1 Replies

Actionscript 3 :: Organize Multiple Flash Projects Sharing Common Lib As For Classpaths?

Dec 20, 2010

Let's say I have multiple projects organized as

commonlib
superorg
org1

[code].....

View 2 Replies

Adobe Flex 2 Projects With Same Class Share That Class Between The Two Projects?

Dec 24, 2009

i have several flash projects and i have common classes. is there a way to share these classes between the project so i won't need to copy it to all the project when ever i modify something?

View 2 Replies

Java :: Multiple File Upload (even Folder)?

Jan 25, 2010

I'm looking for an easy to use (free) "module" that can upload multiple files / folders.
It must:

Support image files
be user-friendly
be customizable

It may be written in:

RoR (Ruby On Rails)
Java
Flash

View 2 Replies

Java :: Multiple File Uploader With Previews

May 27, 2010

I'm trying to find something that will let users upload multiple files to a website. The requirements are that it let them easily select multiple files (preferably with something like check boxes) and that it displays a preview of the images they select.

I'd prefer to only use Javascript or Flash if possible, but Java is also an option (this needs to work on platforms where Silverlight isn't available). So far all I've been able to find are things that use the native file selector (which doesn't show previews on Windows, and makes it unclear that you can select multiple by holding ctrl). I'm not sure if the preview requirement is even possible, but it's the most important.

View 4 Replies

Java :: Download Multiple Files From Browser?

Jan 19, 2012

How do I download multiple files at once from a browser without combining them into single file? I found all kinds of multiple file uploaders, but downloaders are missing. There is only JUpload, but it's old and became buggy recently. I believe both Java and Flash can do this: select a folder at client's HD and download everything there.

View 1 Replies

Java :: Create Multiple File Downloader Without ActiveX?

May 18, 2010

I want to create multiple file downloader without Activex on web page.

View 1 Replies

Java :: Handle Multiple Video Streams In Red5?

Apr 15, 2012

I am writing a Red5 application that provides 1-on-1 video chat to a Flash client over RTMP.

Unfortunately most tutorials I was able to find were sketchy at best and the documentation of Red5 itself tends to be vague when it comes to API concepts and intended usage.

In short, I am a bit stuck and looking for hints on Red5 ApplicationAdapter implementation. Gnarly details are as follows:

First of all, the connections come in two flavors: visitors and consultants. A visitor should be able to indicate which consultant it wishes to communicate with. A consultant simply gets connected to the requesting visitor as long as the consultant is not busy servicing another. Obviously, every RTMP connection has two-way traffic: both sending and receiving video. From the standpoint of the server, connections bring in a bunch of video streams that get their receiving endpoints assigned by request. Since several video conversations can be in progress simultaneously, the main task of the application is to handle the mapping of visitor streams to consultants and provide a list indicating each consultant's state (busy/available) via AMF.

So, all in all, I have a pretty good idea what I am aiming for but how to achieve it with Red5 is still a bit of a mystery.

What is the easiest way to establish the connection type (visitor/consultant)? Which API classes should be used to implement a persistent, globally accessible list of active connections for reporting the state of each consultant? How to switch receving endpoints dynamically when the goal is to connect a specific visitor to the selected consultant?

View 1 Replies

Java :: Select Single File Or Multiple Files To Download?

Sep 30, 2011

I'm currently working on a Flex3/blazeDS/Spring/Oracle project. My requirement is display a list of files from an external FTP server in a grid, user can select single file or multiple files to download, and if user selects multiple files I should tar the files on the FTP server and download the tar file from FTP server to user disk. As per my understanding on the File Download in Flex we have 2 ways to do it. 1) File Reference 2) Using navigateURL and call server side JSP/Servlets to download files.

1) For FileReference we need to download the data first and prompt the user to save the file by clicking on some button. We cannot prompt the 'Save' dialogue without the click event for Security reasons in Flex (Workaround). But my client hates this process because its two steps and he want it in one step like normal file download with only 'Save' dialogue. Then I tried the second option.

2) navigateURL. Open a new windows make a post url request for to JSP/Servlets and prompt the 'Save' dialogue. The problem I am facing here is the pop-up window does not close once the download is complete. navigateURL does not return any reference to the window to close the window. I even tried different content types and headers and java script but none seems to work. The window closes when it is a single file and not for the tar or zip file. I would like to download the popup window for any type of downloads. I am using IE7.

View 1 Replies

Parents Won't Stop Having Children

Nov 10, 2009

ok, my Digital arts class is making a flash project, and im like the only one actually making a game, so im pretty much alone. i got a lot of help from the people on the AS3 forum, but im pretty sure that my question is too easy to put there. so, i have an array, and it basicly puts a spike on the screen at a random Y, and moves it across the screen, but, when i hit a spike, and ti goes to the you lose screen, the loop keeps adding children, and putting them on the screen, is it possible to just say stop adding children, and go to the next frame? i have a break, but when i stop colliding with the spike in the next frame, the spikes start coming again. also, can i totally reset the movie? cause when i just go to frame 1, the array plays itself ontop of itself and it gets twice as hard

View 2 Replies

Flex :: Set A Swc Theme In Maven?

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

Flex :: Compile Swf With Maven?

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

ActionScript 3.0 :: Filter XML And Get All The Parents?

Sep 2, 2011

I want to get the full parent node on a result of a search.
 
XML example:
 
<ItemNodeCollection>
<MaxProf>1</MaxProf>
<ItemNodes>

[Code].....

How can I achieve this expected XML result?

View 6 Replies

ActionScript 3.0 :: Change Frame Two Parents Up?

Mar 28, 2010

graphicsSpace.graphicsInnerMenu.selectFolderMenu.imagesButton.addEvent Listener(MouseEvent.MOUSE_UP,imagesPage_change);function imagesPage_change(e:MouseEvent):void{ 

[code].....

View 6 Replies

ActionScript 3.0 :: Changing Parents Of An Object?

Mar 30, 2010

I have a sprite within a movieclip that externally loads an image, how can i change the parent of the sprite to display on the main stage?

View 1 Replies

Flex :: Compile .FLA Files Using Maven

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

Flex :: Maven - Mojos Compile Fxg?

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

Build A Flex Project On Ant Or Maven?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved