No idea... for sure using an 2.0 milestone won't help either...

Also I would remind you maven is all about CoC.... so don't place a
configuration there just because ANT needed it.


VELO

On Mon, Mar 1, 2010 at 1:11 PM, sentah <[email protected]> wrote:

> Do you think that will solve the issue ? as am looking into the config
> parameters and do not see how we can pass the value like we can pass
> it in the antscript for the mxmlc compiler ..
>
> since flexmojos doesnt use mxmlc am kinda curious ?
>
> On Mar 1, 11:04 am, Marvin Froeder <[email protected]> wrote:
> > Why are you using pre-2.0 version??
> >
> > Go for 3.5.0
> >
> > VELO
> >
> >
> >
> > On Mon, Mar 1, 2010 at 12:58 PM, sentah <[email protected]> wrote:
> > > All,
> >
> > > I am trying to automate my flex compilation using maven and am running
> > > into issues.
> >
> > > my pom.xml looks like this
> >
> > >        <plugin>
> > >                                <groupId>info.flex-mojos</groupId>
> > >
>  <artifactId>flex-compiler-mojo</artifactId>
> > >                                <version>2.0M6</version>
> > >                                <extensions>true</extensions>
> > >                                <configuration>
> >
> > >  <headlessServer>true</headlessServer>
> >
> > >  <verboseStacktraces>true</verboseStacktraces>
> >
> > >  <allowSourcePathOverlap>true</allowSourcePathOverlap>
> >
> > >  <headlessServer>true</headlessServer>
> >
> > >  <keepAllTypeSelectors>true</keepAllTypeSelectors>
> > >                                        <optimize>true</optimize>
> >
> > >  <configFile>config/flex-config.xml</configFile>
> > >                                        <contextRoot>lnr</contextRoot>
> >
> > >  <services>config/services-config.xml</services>
> > >                                        <strict>true</strict>
> > >                                        <sourcePaths>
> > >
>  <path>src/main/flex</path>
> > >                                        </sourcePaths>
> > >                                        <locales>
> > >                                                <locale>en_US</locale>
> > >                                        </locales>
> >
> > >  <mergeResourceBundle>true</mergeResourceBundle>
> > >
>  <showWarnings>true</showWarnings>
> > >                                        <strict>false</strict>
> > >                                </configuration>
> > >                                <executions>
> > >                                        <execution>
> > >                                                <id>compile-swc</id>
> > >                                                <phase>compile</phase>
> > >                                                <goals>
> >
> > >  <goal>compile-swc</goal>
> > >                                                </goals>
> > >                                        </execution>
> > >                                </executions>
> > >                        </plugin>
> >
> > > The error i get is
> >
> > > =====
> > > [ERROR] Unable to resolve resource bundle "env" for locale "en_US".
> > > [ERROR] Unable to resolve resource bundle "datamanagement" for locale
> > > "en_US".
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Error compiling!
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> >
> > > ===
> >
> > > However I am able to complete the same using my mxmlc command in ant
> > > but the key is i have used the following property in my ant script.
> >
> > >  <property environment="env"/>
> > >                    <!-- Local properties -->
> >
> > > <target name="compile.flex" depends="createdir">
> > >                <mxmlc
> > >                        file="${flex.src.dir}/main.mxml"
> > >                        output="out.swf"
> > >                        allow-source-path-overlap="true"
> > >                        headless-server="true"
> > >                        keep-all-type-selectors="true"
> > >                        optimize="true"
> > >                        services="${config.dir}/services-config.xml"
> > >                        context-root="${context.root}"
> > >                        debug="${debug}"
> > >                        link-report="report.xml"
> > >                        show-unused-type-selector-warnings="false"
> >
> > >                        <load-config
> > > filename="${config.dir}/flex-config.xml" />
> >
> > >                        <!-- List of path elements that form the roots
> of
> > > ActionScript
> > > class hierarchies. -->
> > >                        <source-path path-element="${flex.src.dir}" />
> > >                        <source-path path-element="${flex.resource.dir}"
> />
> > >                        <!-- List of SWC files or directories that
> contain
> > > SWC files. -->
> > >                        <library-path dir="${flex.lib}" append="true">
> > >                                <include name="*.swc" />
> > >                        </library-path>
> >
> > >                </mxmlc>
> >
> > > One of my source fiels has the following reference, so do you think
> > > that could be the reason why its failing ?
> >
> > > source content is
> >
> > > --------
> > > userInput = ResourceManager.getInstance().getString('env','USERNAME');
> > > passwordInput =
> > > ResourceManager.getInstance().getString('env','PASSWORD');
> > > --------
> >
> > > any insight would be greatly appreciated
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Flex Mojos" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<flex-mojos%[email protected]>
> <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/flex-mojos?hl=en?hl=en
> >
> > >http://flexmojos.sonatype.org/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>
> http://flexmojos.sonatype.org/
>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://flexmojos.sonatype.org/

Reply via email to