Multi-module Maven and Flash Builder 4

Sorry for cross-posting this, but I responded to:
http://forums.adobe.com/message/3235768#3235768
which was posted in the Flex forum, and this is more about Flash Builder. The issue is that content assist doesn't work with a multi-module maven project containing a Flex Project module. So here is my response to the above. Hopefully someone will see it here:
<quote>
I'm having the EXACT same problem reported by you as well as here:
http://forums.adobe.com/message/2580402#2580402
Steps to reproduce:
1) Install Adobe Flash Builder 4 Standalone (I initially tried with Spring Toolsuite 2.5.0, but thought I should try with the standalone version from Adobe).
2) Open FB4 and create a brand new workspace
2) Add Eclipse Galileo and M2Eclipse as update sites
3) Install m2eclipse
4) From the command line, create a basic maven project via 'mvn archetype:create'.
5) Remove the src folder and change packaging type to pom
6) In FB4, import the new maven project
7) Create a new Flex Project via File -> New -> Flex Project. Change the location so that it's in a folder under your newly created maven project
8) Open Main.mxml -- notice that the generated file has syntax errors in it (another issue). Fix those errors and attempt the Content Assist -- no dice
Notice that this is a vanilla FB4 standalone install. The only thing I added was the M2Eclipse plugin. Also, I am NOT using flexmojos, nor have I added a <modules/> section to the parent pom yet. As far as FB is concerned, the new flex project is just in a folder underneath another in it's workspace. Also note that this is a brand new workspace -- so a corrupted workspace shouldn't be an issue (as was apparent in the beta).
This has been driving me nuts. We need this functionality. We have a multimodule maven project and really want to use Flex and Flash Builder. We're still in the eval period for FB, but may have to forgo buying FB and instead go with FlashDevelop, even though it's not as powerful.
Justin
</quote>

Hi guy,
its actually quite simple.
The  "Root Folder"  "Root URL" "Context Root" define your server directory and its url.
as the root folder you put in
<your blazeds install dir>/tomcat/webapps/<your project dir> // you take the blazeds.war file and copy it , rename it and voila your app dir is ready
so it should read something like : c:\blazeds\tomcat\webapps\my_project --> this then has a WEB-INF/flex directory in it. Thats why you have that error of yours  --> Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
the root url is something like
http://localhost:8400/<your context root> --> is usually your project name in lower case
the context root is your project name, the same name as your copied blazeds.war file
<my_project_name> --> thats what you insert to access your app in a webbrowser
Hope that helped a bit
I am just getting started myself, so i hope i didnt make any mistake, if so I would also be happy if anybody you knows better corrects me    
Have fun and good luck
einrocker

Similar Messages

  • Trying to understand capabilities of Flash Professional and Flash Builder 4

    I recently purchased the CS5 Master Collection and am struggling to understand the uses for Flash Professional and Flash Builder 4.  I was inspired by Jay Pavlina's Super Mario Crossover game and wish to make similar applications. 
    However, I am confused about whether I should be using Flash Professional or Flash Builder 4 or both?  I purchased the two books that Jay Pavlina recommended "ActionScript 3.0 Animation Making Things Move!" and "Essential ActionScript 3.0".  I've been trying to find resources that will help me understand exactly the purpose of each of these applications. 
    It appears to me that ActionScript 3.0 is used in both?  So which one should I be using?  Or both?  Or is one more design oriented and the other more development oriented?  Can one make flash game like Jay's using just one or the other?  Any help would be greatly appreciated.

    I thought about it a bit more. I think you should take my advice with a grain of salt. I am still standing behind what I said but there are some circumstances that we are not in control of.
    If your task is to be the beginning and the end of your code - don't bother with Flash IDE. BUT, if you plan to monetize on your Flash/ActionScript skills, you may not have choice but be familiar with as many environments as possible.
    Here is my personal experiense that illustrates this point.
    I always prayed to gods, chanted to mandalas and made offerings to spirits to avoid a single thing - not ever deal with custom Flash components. Rightly or wrongly I perceive them as one of the lamest Macromedia creations. I am not talking about SWCs but about this thing that you create with preview and all other crap. Above all, it did not (and still doesn't) make much sense to me from functionality standpoint.
    Anyway, as, I guess, a karmic retribution, I was dealt this card. I got involved in a project(s) where I was not told that my main task would be to, you are right, write and reverse engineer Flash custom components. If I did not know Flash IDE I would be totally lost. Custom components are so counter-intuitive that only people without programming background can view them as a convenience. Well, it is a convenience if they are written correctly.
    The point is that, if you want to make a career out of it, you should gradually get involved with Flash IDE for now. The truth is that there are tons of agencies out there that do not have resources to hire high level developers and they employ "drag n' drop, cut n' paste" individuals. And this is a real market segment. Even well seasoned development houses have to succumb to this reality and cater to such entities.
    It is your choice, of course, but I thought it wouldn't be fare to you to be very fascist about pushing my one-sided views.

  • What's the difference between Flash Builder 4.5 and Flash Builder 4.7?

    Hi everybody!
    Could you help me?
    this is my question:
    What's the difference between Flash Builder 4.5 and Flash Builder 4.7?
    I'm going to develope a new app using Flash Builder 4.5 but the new version is available... What could I wait about it?

    The only listed change is the addition of support for the new Nike + iPod system (more information about the Nike products can be found here).

  • Testing the water on possible Flash Professional and Flash Builder integration

    Hey,
    I just wanted to throw this out here instead of the bug area to see if I'm off my rocker or I'm on to something.
    Basically one of my major pains is that any application design I do, I do it in Flash Pro and I code in FB. Switching back and forth between apps just to press CTRL + ENTER seems like a) a waste of time and b) a waste of system resources.
    So what I'm proposing is having FB integrate with FLA files.
    When you create your product you have the option to specify a target FLA (or multiple with a build order) so that when you test your project it will actually build your FLAs in order (in the situation that the final SWF requires others) and you're off to the races.
    You could also have the currently associated FLA files have a checkbox next to them which could temporally disable them for a build.
    If you still need to make design tweaks later on, it's a mater of opening Flash and doing them, but it would be so slick to be able to have FB render the FLA for you in the same app (no more random CTRL+ENTER in FB anymore!)
    As far as where it could go. I think it would work the best if it was just a new tab that could be added to the perspective. Would allow drag+drop of FLA files to it, drag+drop ordering and also have the checkboxes to disable any FLAs from the build.
    So there we go, does that sound like a decent workflow?
    Cheers!

    Hi guys,
    Have you considered Testing the water on doing your design work in the new Flash Catalyst software http://labs.adobe.com/technologies/flashcatalyst/ for your skins instead of Flash CS4.
    You would be able to export directly in the new FXG format and integrate it directly in your FB4 coding.
    There is a tremendous productivity potential gain there.
    I am planning to abandon eventually completely Flash CS4 for both design  and coding and substitute it eventually by simultaneously working in FB4(coding) and Flash Catalyst(design) with input symbols directly linked to photoshop and illustrator related files.
    For those of you who would like to wet their toes  and initiate  a quick dive, Lynda.com has already released, on june 11,  an 1h40 min course on this subject. Here are the details.
    Length: 1 hour
    Online Training Library® exclusive!
    Flash Catalyst Beta Preview
    with: Mordy Golding
    Flash Catalyst is a new Adobe application that is currently in beta and available for downloading atlabs.adobe.com, that allows designers to quickly create interactive Flash content and rich internet applications without having to write a single line of code. In Flash Catalyst Beta Preview, Mordy Golding demonstrates a workflow that emphasizes the intuitive nature of the tool, and shows how to achieve results in a short time. Meant to bridge the gap between designers and developers, Flash Catalyst allows the designer to work with familiar applications, such as Photoshop and Illustrator, while automatically generating the necessary code in the background for the developer. Exercise files accompany the course.
    Topics include:
    Creating interactive content from Photoshop and Illustrator design compositions
    Turning ordinary graphics into functional components like buttons and sliders
    Using smooth transitions and animation techniques
    Moving content between Flash Catalyst and Flash Builder
    Declarative Graphics
    Flex 4 will make good use of FXG, the new graphics interchange format used with the CS4 graphics applications. Flex 4 and Flash Player 10 can together render FXG graphical elements. These include:
    graphics and text primitives
    fills, strokes, gradients, and bitmaps
    support for filters, masks, alphas, and blend modes.
    FXG graphical elements can be used in Flex 4 in a number of ways. FXG elements can be used within an MXML file or component and can also be saved as an .fxg file format. The CS4 tools will typically export an FXG using the FXG 2008 namespace. Because these files are designed to be shared between graphical applications, you’ll find that they have a stricter format to what’s used in Flex; the Flex compiler will only use the FXG-specific tags. Adobe’s new application, Flash Catalyst, will make it easy to create FXG graphics compatible with Flex 4, which you can then use to complete your application’s user interface and appearance.
    New effects have been added to Flex 4 that can also be applied to FXG graphical elements. These new effects will work on both new and old components alike. Standalone effects must now be declared within fx:Declarationstags instead of the body of the application. Once again, Flash Catalyst has additional tools to help make using these effects easier.
    Ref:http://www.sitepoint.com/article/whats-new-flex-4/ by Andrew Muller

  • The Blueprint Eclipse plug-in is live on Adobe Labs (for Flex Builder 3 and Flash Builder 4)

    Hi all,
    Last week, we posted the initial, Mac-only, Flex Builder 3-only release of the Blueprint Eclipse plug-in on Adobe Labs. Yesterday, we updated it to include support Windows and Flash Builder 4. Please try it out if you get a minute.
    For more info, see the Flex Doc Team blog: http://blogs.adobe.com/flexdoc/2009/06/the_blueprint_eclipse_plugin_i.html
    Regards,
    Randy Nielsen
    Flex Learning Resources Manager

    That's so cool.
    Thanks Randy.

  • Please suggest me use BlazeDS with Mac OS X, Glassfish v3, NetBeans 6.9 and Flash Builder 4

    I new user in Java. Please tell me example step by step how to use BlazeDS on Mac OS X, Glassfish v3, NetBeans and Flash Builder 4
    I test follow
    http://sujitreddyg.wordpress.com/category/flex-and-blazeds/
    until i Connect to Data/Service my Flash Builder 4 said like this :
    how i can make it work?
    Thank for answer.

    OK, the latest SVNKit only support Subversion 1.6.5 (http://svnkit.com/documentation.html), so Subclipse 1.6 is the latest version supported.
    Rats. I'll have to use a separate svn client just to work with Subversion 1.7 repositories.

  • Maximum Activations Exceeded CS6 Master Collection and Flash Builder 4.7 Premium

    I have reinstalled my OS on my MacBook Pro without deactivating my CS6 and Flash Builder programs and now I cannot reactivate them. I have serials for Master Collection 5.5 and 6, as well as Flash Builder 4.7 Premium. How can I get the old activations removed from my account?

    You need to contact Adobe support thru chat and ask them to reset your activations
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Using Flash Pro and Flash Builder together | Learn Flash Professional CS5 & CS5.5 | Adobe TV

    Adobe Flash Professional CS5 and Adobe Flash Builder 4 enable time-saving workflows. Learn how to develop content in Flash while editing associated ActionScript code in Flash Builder 4, switching easily between the two applications to edit and test.
    http://adobe.ly/w50IJm

    This doesn't seem to work the same way in CS5.5 / CS6
    In the video the class files are associated with the FLA, when you switch back to Flash Pro...
    So far, when I follow these steps the classes are not associated with the FLA, the class field for the stage in Flash remains blank.
    Also, clicking the edit icon in the properties of a MovieClip and allowing FB to create the file, does not associate the as file with the MovieClip.
    Returning to Flash Pro and clicking the Edit button attempt to create a new file once again, but since the file already exists in FB it just remains on the New ActionScript Class dialog, with the Finish Button grayed out (because a file with the same name already exists in FB).
    The resulting AS files for a given are created in a sub folder under:
    Documents/Adobe Flash Builder 4.6/[Project]/src-[Project]/*.as
    Yet the FLA is located in Documents:
    Documents/[Project].fla
    Should the as files exists with the fla, is a folder reference supposed to be set, or did I miss a step somewhere?
    Is a source path supposed to be added to Flash Pro for:
    Documents/Adobe Flash Builder 4.6/[Project]
    I am currently on a Mac, but noticed the same behavior in Windows at work yesterday.
    Thanks,
    Josh

  • Nightly SDK and Flash Builder Beta

    I am using Flash Builder Beta and have tried different nightly builds (ie. 4.0.0.9437, 4.0.0.9417, 4.0.0.9188) and have the same issue - when going into Design View I receive several warnings:
    Design View could not load fiber_rb.swc. It may be incompatible with this SDK, or invalid. (DesignSWFLoader.ERROR_LOAD_VERIFY).
    The same error for: fiber.swc, serializers_rb.swc and sparks.swc.
    Does anybody have a fix besides two workspaces with diff. sdks?
    There have been some other discussions in regards to this but with no fix.
    First ... Adobe talks of using nightly builds with instructions.
    Second ... when users have problems such as above a standard reply is "this has been fixed in an internal build".  How does that help us?
    Third ... in Flex Bug and Issue Management System this was a reply -
    Heidi Williams - [08/04/09 05:40 PM ]
    I don't think we want to spend time on encouraging users to use newer SDKs with DV of Beta 1. There are probably lots of things that won't work so they should either just get on prerelease or wait for the next Beta.
    Fourth ... prerelease is not open any more and I for one am unfortunately not on it.  FWIW - I do own a Flex Builder 3 license. 
    I understand Flash Builder is a Beta program, but why talk of nightly sdk releases and using Flash Builder if there are issues and unavailable internal builds.  And if Adobe is working on bug fixes, along with changes such as the Rename List, why not give users access to those internal builds?  At least licensed users.  Let everyone keep up to date!

    Hi,
    Form early in the piece it was acknowledged that nightly builds would not work corrrectly with design view. As there will be a second beta in a matter of days now It would be best to wait for that. The builds from the pre-release program have shown a great amount of improvements across the board so I am sure the end of August(hopefully) beta release will be pretty good and make a lot of people happy.
    I use locally compiled sdks that I update every night and things are working reasonably well. So just hold on for a little longer and enjoy the second beta release when it arrives.
    David.

  • How to make colors look same in illustrator and Flash Builder

    We had a designer build out our UI using Adobe illustrator, and then tried to replicate the same hex color and alpha codes in Flash Builder- colors are looking very different on the same machine
    We have used basic web colors but the problem persists. Any pointers on why this could happen?

    Thanks Joan... we managed to figure out the cause to a large extent- problem
    arisen by the way the layers were built in Illustrator vs Flashbuilder. I
    still have the following questions, that we are currently handling via a
    workaround
    a) when I try to skin the container using SkinnableContainer, the skin
    doesn't take effect- but works, when I use same skin with a BorderContainer.
    Any idea of why this is so?
    The code used is as below
    <s:BorderContainer id="Banner" height="15%" width="100%"
    skinClass="mySkins.newskin1">
    <mx:Image id ="logo" source="assets/graphics/logo.png"
    x="{0.018Banner.width}" y ="{.09Banner.height}"
    height="{Banner.height*0.7}" maintainAspectRatio="true"
    width="{Banner.width*0.085}"/>
    <s:Label x="{0.065Banner.width }" y ="{.293Banner.height}"
    fontFamily="Copperplate" fontSize="34" kerning="on" color="#666666"
    text="EUREKA WORLD"/>
    <s:Label x="{.88Banner.width}" y ="{.293Banner.height}" fontFamily="Arial"
    fontSize="14" kerning="on" color="#666666" text="Help | Log Out"/>
    <s:Label x="{.865Banner.width}" y ="{.45Banner.height}" fontFamily="Arial
    Bold" fontSize="18" kerning="on" color="#666666" text="Welcome Gauri"/>
    </s:BorderContainer>
    Skin attached
    b) we are trying to replicate the design from Illustrator(exported in fxg
    format) and replicate in FlashBuilder. We would like to name the objects
    meaningfully so we can connect the front-end with names in the fxg code.
    Currently we see an objID. How do we name objects in Illustrator?
    c) When we use a mx:vbox within a repeater to display contents of an array,
    we had trouble skinning this for background color- compromise we reached was
    to have the background color in the mx:vbox with a skinclass for the border
    and shadow
    Regards

  • Flex Unit 4 Beta 2 and Flash Builder

    Hi
    I've downloaded Beta 2 and have got the sample ant task working how I want.
    I'm having problems running tests in flash builder though.
    When I right click and go to execute FlexUnit tests the generated mxml file tries to use the following runner:
    xmlns:flexunit="flexunit.flexui.*">
    <flexunit:FlexUnitTestRunnerUI id="testRunner"/>
    which it can't find.
    No additional swcs were added to the compiler path in the propject properties. Perhaps I just have to add som eprevious version swcs to my lib folder?

    Hi,
    Unfortunately this doesn't have anything to do with the FlexUnit code itself. These are bugs inside of the Flash Builder plugin. You may want to post on their forum as well to try to get some support.
    The only advice I can offer, is that things seem to work much better if I consistently use the Execute FlexUnit Tests, which can be found under the run button. They work much less well if I right click and tell it to execute tests.
    Mike

  • Best practices for Flash CS5 and Flash Builder 4 integration?

    With Flash CS5's new XFL file structure/format, what's the best way to structure project files for Flash CS5 integration with Flash Builder 4? Flash CS5 autocreates a folder named after the xfl file as the outer container, and then all the assets/xfl within it. Should this folder be used as the project folder for Flash Builder 4, or better to nest the xfl container folder in a "real" project folder? I would presume the latter, since you might have multiple XFL files in one project. I was hoping to see some automatic linkages between document class of the Flash CS5 XFL file and any default ActionScript class created by Flash Builder, but so far I seem to need to specify a document class directly in Flash CS5's environment and making sure that the path to a default class created by Flash Builder is correct.
    Thanks in advance for any suggestions...

    Most likely, you know that, but just in case, you can integrate new Flash project into existing Flex 4 project  from within the Flash Builder by choosing either Flash Component or Flash Container from the FB Design view. In such workflow Flash Builder opens the Flash CS 4 (I assume that should be the same for CS5) and takes care of the integrating the newly created Flash project into original Flex 4 project.
    FTQuest

  • AIR 14 and Flash Builder 4.7!!!

    I cant seem to find any documentation on this anywhere so I think I will have to just hit Adobe up directly
    I am running Flash Builder 4.7 on a MAC running Mavericks ( OSX 10.9.3 ).
    Do I have to update both this folder  (Referring to this as Folder 1):
    Applications/Adobe Flash Builder 4.6/sdks/
    and this folder (Referring to this as Folder 2):
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722st
    Or can you just update the second folder? I updated the 2nd folder by pasting the contents extracted from the zip I downloaded from this page:
    Download Adobe AIR SDK
    Before updated Folder 2, i was getting a compile error I think it was because of the java 1.6 error. But since updating Folder 2 to the AIR14 SDK that issue was fixed.
    I will say I didnt do the whole Terminal Extract method. But things started compiling just fine.
    I am using some native extensions for a mobile project and now I am back to getting compile errors. The Null point java errors or whatever. I am wondering is it because:
    I need to update the SDK in Folder 1?
    Or is it because I didnt extract files using the terminal into Folder 2?
    Or do you need to do both??
    Lastly can you provide more documentation and possibly an in depth explanation of the entire process?????

    You need to contact Adobe support thru chat and ask them to reset your activations
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • IOS7 and Flash Builder

    Bonjour tout le monde,
    Je vous contact aujourd'hui car je suis vraiment inquiet.
    Je viens de recevoir un courriel de Apple m'informant que toutes les nouvelles applications doivent être développées en utilisant XCode 5 et iOS 7 SDK.
    Or j'aime la solution Air Compiler, je l'utilise avec le compilateur Air SDK 3.9.
    Est-ce que quelqu'un sait si cette nouvelle demande (restriction) de Apple va nous empêcher d'utiliser Flash Builder ou Flex ?
    Merci de vos réponses à l'avance.

    It is my understanding that the requirement is to compile using the ios 7 sdk.  I would think this is most easily done on a Mac.  I don't know what this means for Windows platforms.  My understanding is also that this won't limit the app from running on older devices.  You set the minimum device separately.  Having said that, I am having trouble specifying the IOS 7 sdk and compiling to that in Flash Builder.  I am searching these forums and online for someone that can help.  I put the 7.0 sdk path in the platform setting (the ANE tab) and no luck.  When you look at the plist in the generated ipa it says DTSDK is iphoneos6.0.  I checked that 'xcode-select -p' shows the 5.0.1 xcode in the proper directory. 
    I hope that helps.
    Cheers, @Scatabrain

  • Can you run Flex Builder 3 and Flash Builder 4 side by side?

    I have what I hope is a relatively simple question. The company I work at currently has several Flex 3 projects nearing completion or in the latter part of their development phase, but we use SVN version control. It's my understanding that while you can use Flash Builder 4 to create and/or edit and publish Flex 3 projects, once you use FB4 on a version controlled project, anyone who checks that project out from SVN will need to use FB4 to edit the project. Assuming that is correct, can we have both FB3 and FB4 installed on our workstations, and switch between them depending on the projects we use? We're hoping to migrate our developers over to FB4 as they wrap up development on Flex 3 projects, but we may need developers working on Flex 4 projects to assist on the final stages of our Flex 3 apps. Just to clarify: we do not need both the FB3 and FB4 executables running at the same time, just the ability to close FB4 and launch FB3 and vice-versa without having error or compile issues. We use the standalone FB installs, not the Eclipse plug-ins, btw.

    Yes - to my knowledge, you can have FB3 and FB4 installed on the same machine without conflicts.
    Each version uses a separate default workspace, so provided that you don't try to share workspaces between the two versions, you should be safe.
    -Chris

Maybe you are looking for

  • Since upgrading I can no longer update software from the apps store.

    Since upgrading to Mountain Lion the apps store keeps telling me that I have software to update. It starts doing it then fails. Its done this about three times now. Any suggestions? Thanks Chris

  • Installed 10.2.3 update Cannot install software on this disk, volume does

    I recently bought an ibook and installed mac os x 10.2.2 which is the original software that shipped with this ibook. I am trying to update the 10.2.2 to 10.2.3 using a download off of apples website. When i try to install it, it runs as it should an

  • LR2: how to exit "Click here to add keywords"?

    In LR2 the "Click here to add keywords" box was added to easily add keywords. But how do I exit this and advance to the next photo without having to click somewhere? In the other metadata-fields I can just press enter and then the focus is back to th

  • Cannot enable Entourage as default email client in SL

    Help, this is driving me bonkers! I want to use MS Entourage as my default email client and I set it as the default program via "preferences' in Mail.app, however, every time I try to email a document via Preview it opens Mail.app. Same goes for when

  • Read/write XML via OO4O

    We have some ASP code (Active Server Pages) that uses OO4O to select/insert data in an Oracle 8i rel. 2 database (The OO4O objects are from the same release 8.1.6). Now we would like to enhance it to read and store some XML documents directly (the XM