Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6391861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:44:26+00:00 2026-05-25T03:44:26+00:00

We have a Flex 4.0 project in our product and we’re trying to set

  • 0

We have a Flex 4.0 project in our product and we’re trying to set up command-line build for it. This is to be used on our build server.

So far we have tried three approaches, but none seems satisfactory:

1) Using mxmlc – this has the drawback that we have to explicitly give all dependencies, instead of using the ones already present in the project.

2) Using ant (specifically fb.exportreleasebuild) – works well, but I cannot figure out how to set up a workspace with it. Now, I can probably set up a workspace beforehand, but I am led to believe this will not work due to Eclipse using absolute paths (see http://forums.adobe.com/thread/826995).

3) Using maven – I haven’t tried it yet, but from reading some tutorials (e.g. http://ria.dzone.com/articles/flex-and-maven?page=0,1&mz=8019-adobe), it looks like the dependencies have to be manually specified as well. Also, I have to specify the exact Flex compiler version, which seems inelegant – I don’t want to update my build script when I change the compiler version.

Is there a way to build a flex project from the command line, without manually specifying all dependencies and without manually creating a workspace?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:44:26+00:00Added an answer on May 25, 2026 at 3:44 am

    During the last week I’ve had the “pleasure” to setup the maven build for our project.

    For a simple project that doesn’t have custom fonts, resources, unit tests, 3rd party frameworks, etc. it is relatively painless to get it going. For the rest of the stuff there’s a significant trial and error until you get it working.

    One way to manage the dependencies you need to install manually is to make a shell-script which automates the installation of the artifacts from the libs-directory into a local repository which you can put also in the project workspace. With this approach you can use the libs-directory for the Eclipse build and the local maven repo for the maven build.

    As to the version of Flex – it is just a single property value in the POM. This is how it is done in the maven world – you manage the POM, instead of downloading a new SDK, then updating the project properties, etc. It’s really incomparably simpler.

    But when you need to embed fonts you would need to install manually some artifacts that are part of the Flex SDK, so it’s not that simple. In order to automate this, I also put the whole Flex SDK as part of the project workspace, so that I can refer to it with a relative path in my scripts instead of an absolute.

    So far, the most utilized approach in the Flex community is using Ant builds.

    Maven is still relatively difficult to be setup and adopted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list of webservices from a Flex project. I am trying to
We have a Flex client and a server that is using the Spring/Blazeds project.
Note: This is an Actionscript project, not a Flex project. I have class A
I have this flex project.And the below mentioned is my directory structure (List1).Now if
I have a flex library project, assume this project as basic utility which will
I have this flex app (it's a flex project created from flash builder), and
I have written a Flex Library project - a .swc file - which is
I have some interesting problem for an hour.. In my flex project, all width
I'm using Parsley in my flex mobile project. I have multiple destination services but
I am new in flex.I have created dynamic web project. Run it. It accessible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.