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


Similar Posts:


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

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

Flex :: JBoss Project Setup In Eclipse Using Maven

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

Flex :: BlazeDS + Multi Module Maven Project?

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

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 :: How To Compile Maven / Flex Project Without Any MXML File

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

Eclipse :: Using Maven To Build Flex Project Including Stylesheets

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

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

Java :: Performance - Code Doesnot(only Sometimes) Compiles In Java+flex (+ BlazeDS+Tomcat ) Combined Project.a

Aug 13, 2010

i am working on a flex+java combined project.My IDE and computer configuration is as follows:

[Code]...

When i make a small change in Flex code (eg, reposition of a button...anything), and run the project on server, it does make any change on output. Actually it depends on my luck... because it makes change in output randomly.what is is happening? tried rebuild, republish, clean , restart server, restarting the IDE, restarting the computer all available feature i could think. Also, i created a simple flex project on IDE and compiled it..... everything is compiled and displayed on output.

View 2 Replies

Flex :: Any Way To Tell Developer That Methods Throws Exception?

Mar 30, 2012

Like java, you can specify that method you are calling throws certain exception.
For e.g.- public void getListOfAssessments() throws SQLException;
So, is there any way we can achieve this in ActionScript (Flex)?

View 2 Replies

Flex :: How Spring Project Use Vanilla HTTPServlet Via Java

Mar 22, 2011

I'm trying to figure out the best way to leverage a vanilla HttpServlet from a Spring-Flex (with BlazeDS) project I'm working on. My team has an HttpServlet that they've used in the past (that some other team built) that processes a request given some key/value pairs passed over HTTP GET. I want to use this HttpServlet class to do the same work, but I want to call it in Java, when my Flex client invokes a method on a Service. Ideally, the class invoking the HttpServlet can use the standard @Service and @RemotingDestination annotations (see here).

So, this is the HttpServlet:
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.HttpURLConnection;
import java.net.URL;
[Code] .....

How to write my @Service class. I've tried going down a few different roads, but haven't had much luck. So far, I've considered and come up with secondary questions on the matter (but I've yet to work out the solution):
Do I need a @Controller for this sort of work?
Do I need a Servlet Factory?
Can the HttpServlet be a Spring managed bean, and call the ASP page another way?
(I like this idea least) Should I call the HttpServlet from Flex, and leverage logging and data the Servlet needs with a Remote Object?
The reason for my stubbornness in wanting to do this from Java is that I want to do some logging, and maybe leverage some other Singleton beans in the scope of the @Service class. However I work this out, I want to be as close to "Best Practices" as possible.

View 1 Replies

Java :: Understand WAR Descriptor And Structure / Flex Project Within WAR

Jan 14, 2012

I am trying to understand why I am not able to launch a SWF from the URL after launching mvm jetty:run on my project.The project has built successfully and produced a Falcon-WAR-0.0.1-SNAPSHOT.war in the maven target directory. In this file are the following files - and includes the .swf file compiled from the Flex project.[code]The context root of my application is the same as the artifact ID of the WAR, so it is FALCON-WAR.When I launch mvn jetty:run, I get the following print to the console:However when I try to navigate to URL...on my browser, I get the following, when I expect to launch the .swf file from the web.xml definition.

View 3 Replies

Flex :: Wrap Java Exception Into Exception?

Jun 16, 2010

I am using spring exception translator to wrap java exception into flex exception.
eg

public void testException()throws Exception{
throw new Exception("my exception");
}

But for some reason, I am getting IllegalAccessError. The code sections are entering the testException and the Translator class.

Question: why it trying to get log target level ?

Below is the lines from the log:

[Code].....

View 1 Replies

Flex :: Website Where To Find Free Mp3 Files To Use In Project

Sep 4, 2010

I was wondering if there is a website from where I can download free mp3 files to use in my flex project? I am looking for some mp3 files using which I can create simple sound effects (e.g., you press a button, you hear a sound). I read flex can only play mp3 files, not wav files. Is this true? What's the best way to convert wav files to mp3?

View 1 Replies

Professional :: Move Project To See The Not-project Area Around The Project?

Jun 21, 2010

I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).

At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png

View 2 Replies

Flex :: Throws A Warning,unlike Java, Which Throws An Error "Assignment In Conditionals"?

Aug 6, 2009

If I use an Assignment within conditional, for e.g.
if(userType='admin')

Flex throws a warning,unlike Java, which throws an error.Why should Flex be doing this, despite being one of the newest languages? 1100: Assignment within conditional. Did you mean == instead of =?

View 2 Replies

Actionscript :: Disadvantages Of A Flex Project Vs Project?

Oct 20, 2009

I've recently started making a game in FlexBuilder. The game is currently a Flex project. Is there any downside to using Flex as opposed to just Actionscript? A friend of a friend told me that Flex is slower than an Actionscript project. I've been unable to validate this on the internet; is there any truth to that claim?

View 6 Replies

Flex :: Get Project Framework Into ActionScript Project?

Mar 27, 2011

If I create a new flex project with flashbuilder, these are the libraries that get included by default through the Flex SDK[code]...

View 1 Replies

Flash :: Flex Project In A CodeIgniter Project?

Jun 18, 2011

I have a CodeIgniter project and I made a back-office in Flex. I was wondering how I can implement the Flex project in my CodeIgniter since I'm working with routing I can't route to any directory. So there isn't a way to display the back-office.

View 1 Replies

Android :: Convert Flex Mobile Project To Flex Web Project?

Jun 29, 2011

I have a flex mobile project and I want to convert it into web-based project. What is the best way to do it.

View 1 Replies

Java :: Channel.connect.failed Error When Deploy Flex Project To Linux Redhat Server?

Jun 23, 2011

when i do this locally on tomcat server on local development machine it works fine when i brought it over to linux im getting this error.i dont know what to do anymore it should be straight forward but i'm having no luck. i do have a web.xml and i see a broker for my remote access so i just dont know what it could possibly be

View 1 Replies

Java :: Handle Custom Java Exception In Flex App?

Mar 18, 2010

we are using BlazeDS as a proxy between Flex and Java. The approach is the same as in

[Code]...

View 3 Replies

Eclipse :: Flex - Putting A Separate Project In The "example" Folder Of A GitHub Project?

Apr 30, 2011

I have one Eclipse Workspace containing two projects. - The first is my actual library. - The second is example code for using the library.When I push this code to GitHub, I don't want two separate projects, I want the example code to go into an "example" folder of the second library.How and where would I do this? From Eclipse, GIT, or GitHub?Or is there a better way of including sample code in GitHub projects? (the example code doesn't actually need any version control)

View 1 Replies

Flash :: Call Flex Project From Other Flex Project?

Sep 16, 2011

I have 2 flex projects which were create in flash builder 4.5.....how can i call one project from second??? the best would execute to the same window.... I'm interesting about both possibility (in browser and air too).

View 1 Replies

ActionScript :: Android - What Is The Difference Between Mobile Project And Flex Mobile Project

Jun 5, 2011

I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?

View 1 Replies

Java :: Integrating .jar In A Flash Project?

Oct 27, 2010

I must integrate a .jar file into a flash project. The project is like this: There'll be a flash video player for a Web Browser with Play, Pause, Stop commands. I must use voice commands to trigger the player actions. I have a .jar that makes the voice recognition so I want to integrate this file with my Flash Player.Is this possible?

P.S.: You may wonder why I don't use other tools, but it's a project for University with given materials, so I really need to use Flash + this given .jar .

View 1 Replies

Add A Widget Board To Flash Project So Users Can Embed Project In Their Webpage?

Jul 4, 2009

I would like to add a widget board to my flash project so users can embed my project in their web page or wiget display. To see what I'm talking bout go here [URL] and click the white + mark on their widgets.If your a moderater please put this in the correct area, and consider making it a sticky so we can post new ways to impliment in different sites as they become available.

View 2 Replies

ActionScript 3.0 :: Preload Project, But Wait For Said Project To Load External Assets?

Jun 15, 2009

I am working on this one project that has a couple of movieclips (already placed on stage) which have a custom class set to export via the Library. Each of those custom classes loads an external SWF using URLRequest().

Is it possible (or, what is the best way) to preload the whole project first, including the external SWFs?

View 7 Replies

Actionscript 3.0 :: Import Authorware Project And / Or Director Project In Flash

Dec 10, 2010

I just wanted to ask if I have a project created in authorware and one more in director.I just wanted to ask can we convert authorware project in flash directly or indirectly?Or can we import authorware project and/or director project in flash.does anybody know or anybody has done this b4???

View 1 Replies







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