Flex Builder Configuration API

Flex Builder 3 API mapping for Flex Library project to flex-mojos configuration

Flex Library project configuration

IMutableFlexLibraryProjectSettings extends IFlexLibraryProjectSettings, IMutableActionScriptProjectSettings

From pom.xml
From Eclipse
- Flex Builder 3 API compc args flex-mojos

void setManifestPaths(XMLNamespaceManifestPath axmlnamespacemanifestpath[]) -include-namespaces [uri] [...] <namespaces>
  <namespace>
    <uri>http://www.adobe.com/2006/mxml</uri>
    <manifest>basedir/manifest.xml</manifest>
  </namespace>
</namespaces>
void setIncludeClasses(String as[]) -include-classes [class] [...] <includeClasses>
  <param>FrameworkClasses</param>
</includeClasses>
void setIncludeFiles(Map map) -include-file <name> <path> <includeFiles>
  <param>basedir}/defaults.css</param>
  <param>basedir}/defaults-2.0.0.css</param>
  <param>basedir}/defaults-2.0.1.css</param>
  <param>basedir}/assets/Assets.swf</param>
</includeFiles>

Flex App project configuration

IMutableFlexProjectSettings extends IFlexProjectSettings, IMutableActionScriptProjectSettings

From
pom.xml
From
Eclipse
- Flex Builder 3 API mxmlc args flex-mojos

void setUseServerFlexSDK(boolean flag) ? ?
void setServerRoot(IPath ipath) ? ?
void setServerRootURL(URL url) ? ?
void setServerContextRoot(String s) -compiler.context-root <context-path> <contextRoot/>
void setFlexWarLocation(String s) ? ?
void setCFRootFolder(String s) ? ?
void setAspProjectType(boolean flag) ? ?

Action script project configuration (inherited by app and lib projects)

interface IMutableActionScriptProjectSettings extends IActionScriptProjectSettings

From pom.xml
From Eclipse
- Flex Builder 3 API mxlc, compc args
flex-mojos

void setAdditionalCompilerArgs(String s) Every parameter not show on next lines
Almost everything, all parameters not fitted in other

void setApplicationPaths(IPath aipath[]) File to compile
<sourceFile/>
void setModules(Module amodule[]) Need a second run on mxmlc
<moduleFiles>
  <module>module1/AnModule.mxml</module>
  <module>module2/OtherModule.as</module>
</moduleFiles>

void setEnableModuleDebug(boolean flag) -compiler.debug <debug/>

void setSourcePath(IClassPathEntry aiclasspathentry[]) -compiler.source-path [path-element] [...] <sourcePaths/>
+
<resourceBundlePath/>
void setCopyDependentFiles(boolean flag) ? ?

void setGenerateAccessibleSWF(boolean flag) -compiler.accessible <accessible/>

void setStrictCompile(boolean flag) -compiler.strict <strict/>

void setShowWarnings(boolean flag) -compiler.show-actionscript-warnings <showWarnings/>
void setVerifyDigests(boolean flag) -verify-digests <verifyDigests/>
void setLibraryPath(IClassPathEntry aiclasspathentry[]) ? ?
void setMainApplicationPath(IPath ipath) File to compile
<sourceFile/>
void setOutputFolder(IPath ipath) -output project.build.directory
void setOutputFolder(IPath ipath, String s) ? ?
void setBuildCSSFiles(Map map) ? ?
void setRootURL(String s) ? ?

void setMainSourceFolder(IPath ipath) src project.build.sourceDirectory
void setSourceFolder(IPath ipath) src project.build.sourceDirectory + resources
void setSourceAttachmentPaths(IClassPathEntry aiclasspathentry[]) ? ?
IStatus validate(boolean flag) ? ?
void setGenerateHTMLWrappers(boolean flag) not generated by mxmlc
flexmojos:wrapper goal
void setHTMLPlayerVersionCheck(boolean flag) not generated by mxmlc
in <parameters> ?
void setHTMLMinimumPlayerVersion(FlashPlayerVersion flashplayerversion) not generated by mxmlc ?same
void setHTMLExpressInstall(boolean flag) not generated by mxmlc ?same
void setEnableHistoryManagement(boolean flag) not generated by mxmlc ?same
void setFlexSDKName(String s) not generated by mxmlc ?
void setUseApolloConfig(boolean flag) not generated by mxmlc ?
void setDefaultLinkType(int i) not avaliable
?MERGED

Labels

m2eclipse m2eclipse Delete
maven maven Delete
flex flex Delete
eclipse eclipse Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.