You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Miguel Ferreira <mi...@hotmail.com> on 2014/05/05 11:20:02 UTC

flex compilation diferent from maven compilation

Hi all,

Last week i developed some menu items for the context menu in a flex application.
When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?

I am using SDK 4.10.flash version 10.0.45

<properties>		<flex.version>4.10.0.20130801</flex.version>		<flexmojos.version>3.6.1</flexmojos.version>		<flash.version>10.0.45</flash.version>		<playerglobal.version>11.8</playerglobal.version>		<flexlib.classifier>flex3</flexlib.classifier>		<target.dir>target</target.dir>	</properties>
I am quite new with maven.
I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
Or the compiler have to have some extra argument?
Thank you in advance for some feedback.
Miguel. 		 	   		  

AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
Oh ... glad to hear that ... one thing I won't have to lookup ;-)

Chris
________________________________________
Von: Miguel Ferreira <mi...@hotmail.com>
Gesendet: Dienstag, 20. Mai 2014 15:53
An: users@flex.apache.org
Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation

well i also figured that out

just using

<defines>

instead of

<definesDeclaration>





> From: miguel.cd.ferreira@hotmail.com
> To: users@flex.apache.org
> Subject: RE: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 20 May 2014 14:47:04 +0100
>
> Finally everything is compiling correctly i had just to put the memory up to 1500 and i think that what is consuming so much memory is the copy of resources i have to figure out how this can be improved because before was the same resources and the things we handled more quickly..
> I just have a final question Chris :)
> In the new version of Flex mojos how can i Define properties?
> BEfore as something like this: <definesDeclaration>    <property>      <name>BUILD::buildNumber</name>         <value>"${buildNumber}"</value>         </property>     <property> <name>BUILD::version</name>  <value>"${buildVersion}"</value>        </property>     <property>      <name>BUILD::buildRevision</name>       <value>"${buildRevision}"</value> </property>   <property> <name>CONFIG::DEBUG</name>   <value>false</value>    </property>     </definesDeclaration>
> But now is not working.
> There is some change in the tag name?
> Thanks for your support was really helpful to keep going :)
>
> Miguel
>
>> From: christofer.dutz@c-ware.de
>> To: users@flex.apache.org
>> Subject: AW: AW: AW: flex compilation diferent from maven compilation
>> Date: Tue, 13 May 2014 13:08:53 +0000
>>
>> Hi Miguel,
>>
>> yes I have an Artifactory in which I have all the artifacts. But No, I can't give you access to that. Aotherwise Adobe would probably start writing mad letters to me ;-)
>>
>> What version of Flexmojos are you using? 6.x or 7.x?
>>
>> Chris
>> ________________________________________
>> Von: Miguel Ferreira <mi...@hotmail.com>
>> Gesendet: Dienstag, 13. Mai 2014 11:00
>> An: users@flex.apache.org
>> Betreff: RE: AW: AW: flex compilation diferent from maven compilation
>>
>> Hi Chris,
>> Even related to the topic,
>> Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
>> Because in the pom file i have the dependency of the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
>>
>> Thank you,
>> Miguel
>>
>>> From: christofer.dutz@c-ware.de
>>> To: users@flex.apache.org
>>> Subject: AW: AW: flex compilation diferent from maven compilation
>>> Date: Mon, 5 May 2014 11:13:56 +0000
>>>
>>> Hi Miguel,
>>>
>>> You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
>>> https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
>>> Especially this article should be a good starting point:
>>> https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
>>> But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
>>>
>>> Just come back if you have any problems.
>>>
>>> Chris
>>>
>>> ________________________________________
>>> Von: Miguel Ferreira <mi...@hotmail.com>
>>> Gesendet: Montag, 5. Mai 2014 12:04
>>> An: users@flex.apache.org
>>> Betreff: RE: AW: flex compilation diferent from maven compilation
>>>
>>> Hi Chris,
>>> I was waiting for your response!
>>> I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
>>> Thanks for the links i will give it a try.
>>> Miguel
>>>
>>>> From: christofer.dutz@c-ware.de
>>>> To: users@flex.apache.org
>>>> Subject: AW: flex compilation diferent from maven compilation
>>>> Date: Mon, 5 May 2014 09:35:15 +0000
>>>>
>>>> Hi Miguel,
>>>>
>>>> well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
>>>> https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
>>>>
>>>> Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
>>>> https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
>>>>
>>>> The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
>>>>
>>>> Chris
>>>>
>>>> ________________________________________
>>>> Von: Miguel Ferreira <mi...@hotmail.com>
>>>> Gesendet: Montag, 5. Mai 2014 11:20
>>>> An: users@flex.apache.org
>>>> Betreff: flex compilation diferent from maven compilation
>>>>
>>>> Hi all,
>>>>
>>>> Last week i developed some menu items for the context menu in a flex application.
>>>> When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
>>>>
>>>> I am using SDK 4.10.flash version 10.0.45
>>>>
>>>> <properties> <flex.version>4.10.0.20130801</flex.version> <flexmojos.version>3.6.1</flexmojos.version> <flash.version>10.0.45</flash.version> <playerglobal.version>11.8</playerglobal.version> <flexlib.classifier>flex3</flexlib.classifier> <target.dir>target</target.dir> </properties>
>>>> I am quite new with maven.
>>>> I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
>>>> Or the compiler have to have some extra argument?
>>>> Thank you in advance for some feedback.
>>>> Miguel.
>

RE: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
well i also figured that out 

just using 

<defines>

instead of

<definesDeclaration>





> From: miguel.cd.ferreira@hotmail.com
> To: users@flex.apache.org
> Subject: RE: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 20 May 2014 14:47:04 +0100
> 
> Finally everything is compiling correctly i had just to put the memory up to 1500 and i think that what is consuming so much memory is the copy of resources i have to figure out how this can be improved because before was the same resources and the things we handled more quickly..
> I just have a final question Chris :)
> In the new version of Flex mojos how can i Define properties?
> BEfore as something like this: <definesDeclaration>	 <property>	 <name>BUILD::buildNumber</name>	 <value>"${buildNumber}"</value>	 </property>	 <property> <name>BUILD::version</name>	 <value>"${buildVersion}"</value>	 </property>	 <property>	 <name>BUILD::buildRevision</name>	 <value>"${buildRevision}"</value> </property>	 <property> <name>CONFIG::DEBUG</name>	 <value>false</value>	 </property>	 </definesDeclaration>	
> But now is not working.
> There is some change in the tag name?
> Thanks for your support was really helpful to keep going :)
> 
> Miguel
> 
>> From: christofer.dutz@c-ware.de
>> To: users@flex.apache.org
>> Subject: AW: AW: AW: flex compilation diferent from maven compilation
>> Date: Tue, 13 May 2014 13:08:53 +0000
>> 
>> Hi Miguel,
>> 
>> yes I have an Artifactory in which I have all the artifacts. But No, I can't give you access to that. Aotherwise Adobe would probably start writing mad letters to me ;-)
>> 
>> What version of Flexmojos are you using? 6.x or 7.x?
>> 
>> Chris
>> ________________________________________
>> Von: Miguel Ferreira <mi...@hotmail.com>
>> Gesendet: Dienstag, 13. Mai 2014 11:00
>> An: users@flex.apache.org
>> Betreff: RE: AW: AW: flex compilation diferent from maven compilation
>> 
>> Hi Chris,
>> Even related to the topic,
>> Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
>> Because in the pom file i have the dependency of the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
>> 
>> Thank you,
>> Miguel
>> 
>>> From: christofer.dutz@c-ware.de
>>> To: users@flex.apache.org
>>> Subject: AW: AW: flex compilation diferent from maven compilation
>>> Date: Mon, 5 May 2014 11:13:56 +0000
>>>
>>> Hi Miguel,
>>>
>>> You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
>>> https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
>>> Especially this article should be a good starting point:
>>> https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
>>> But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
>>>
>>> Just come back if you have any problems.
>>>
>>> Chris
>>>
>>> ________________________________________
>>> Von: Miguel Ferreira <mi...@hotmail.com>
>>> Gesendet: Montag, 5. Mai 2014 12:04
>>> An: users@flex.apache.org
>>> Betreff: RE: AW: flex compilation diferent from maven compilation
>>>
>>> Hi Chris,
>>> I was waiting for your response!
>>> I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
>>> Thanks for the links i will give it a try.
>>> Miguel
>>>
>>>> From: christofer.dutz@c-ware.de
>>>> To: users@flex.apache.org
>>>> Subject: AW: flex compilation diferent from maven compilation
>>>> Date: Mon, 5 May 2014 09:35:15 +0000
>>>>
>>>> Hi Miguel,
>>>>
>>>> well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
>>>> https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
>>>>
>>>> Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
>>>> https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
>>>>
>>>> The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
>>>>
>>>> Chris
>>>>
>>>> ________________________________________
>>>> Von: Miguel Ferreira <mi...@hotmail.com>
>>>> Gesendet: Montag, 5. Mai 2014 11:20
>>>> An: users@flex.apache.org
>>>> Betreff: flex compilation diferent from maven compilation
>>>>
>>>> Hi all,
>>>>
>>>> Last week i developed some menu items for the context menu in a flex application.
>>>> When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
>>>>
>>>> I am using SDK 4.10.flash version 10.0.45
>>>>
>>>> <properties> <flex.version>4.10.0.20130801</flex.version> <flexmojos.version>3.6.1</flexmojos.version> <flash.version>10.0.45</flash.version> <playerglobal.version>11.8</playerglobal.version> <flexlib.classifier>flex3</flexlib.classifier> <target.dir>target</target.dir> </properties>
>>>> I am quite new with maven.
>>>> I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
>>>> Or the compiler have to have some extra argument?
>>>> Thank you in advance for some feedback.
>>>> Miguel.
> 
 		 	   		  

AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Miguel,

happy to hear that all's working now ... regarding these Properties. I have had quite a number of problem reports with this functionality. I think the testsuite should actually conatin quite some tests for this. But I'll have a look at it as soon as possible.

Chris

________________________________________
Von: Miguel Ferreira <mi...@hotmail.com>
Gesendet: Dienstag, 20. Mai 2014 15:47
An: users@flex.apache.org
Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation

Finally everything is compiling correctly i had just to put the memory up to 1500 and i think that what is consuming so much memory is the copy of resources i have to figure out how this can be improved because before was the same resources and the things we handled more quickly..
I just have a final question Chris :)
In the new version of Flex mojos how can i Define properties?
BEfore as something like this:                               <definesDeclaration>                                               <property>                                                      <name>BUILD::buildNumber</name>                                                 <value>"${buildNumber}"</value>                                         </property>                                             <property>                                                      <name>BUILD::version</name>                                                     <value>"${buildVersion}"</value>                                                                                                        </property>                                             <property>                                                      <name>BUILD::buildRevision</name>                                                       <value>"${buildRevision}"</value>                                                                                                       </property>                                             <property>                                                      <name>CONFIG::DEBUG</name>                                                      <value>false</value>                                                                                                    </property>                                     </definesDeclaration>
But now is not working.
There is some change in the tag name?
Thanks for your support was really helpful to keep going :)

Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 13 May 2014 13:08:53 +0000
>
> Hi Miguel,
>
> yes I have an Artifactory in which I have all the artifacts. But No, I can't give you access to that. Aotherwise Adobe would probably start writing mad letters to me ;-)
>
> What version of Flexmojos are you using? 6.x or 7.x?
>
> Chris
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Dienstag, 13. Mai 2014 11:00
> An: users@flex.apache.org
> Betreff: RE: AW: AW: flex compilation diferent from maven compilation
>
> Hi Chris,
> Even related to the topic,
> Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
>
> Thank you,
> Miguel
>
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: flex compilation diferent from maven compilation
> > Date: Mon, 5 May 2014 11:13:56 +0000
> >
> > Hi Miguel,
> >
> > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > Especially this article should be a good starting point:
> > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
> > But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
> >
> > Just come back if you have any problems.
> >
> > Chris
> >
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Montag, 5. Mai 2014 12:04
> > An: users@flex.apache.org
> > Betreff: RE: AW: flex compilation diferent from maven compilation
> >
> > Hi Chris,
> > I was waiting for your response!
> > I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
> > Thanks for the links i will give it a try.
> > Miguel
> >
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 09:35:15 +0000
> > >
> > > Hi Miguel,
> > >
> > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
> > >
> > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
> > >
> > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 11:20
> > > An: users@flex.apache.org
> > > Betreff: flex compilation diferent from maven compilation
> > >
> > > Hi all,
> > >
> > > Last week i developed some menu items for the context menu in a flex application.
> > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > >
> > > I am using SDK 4.10.flash version 10.0.45
> > >
> > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > I am quite new with maven.
> > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > Or the compiler have to have some extra argument?
> > > Thank you in advance for some feedback.
> > > Miguel.

RE: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Finally everything is compiling correctly i had just to put the memory up to 1500 and i think that what is consuming so much memory is the copy of resources i have to figure out how this can be improved because before was the same resources and the things we handled more quickly..
I just have a final question Chris :)
In the new version of Flex mojos how can i Define properties?
BEfore as something like this:                               <definesDeclaration>						<property>							<name>BUILD::buildNumber</name>							<value>"${buildNumber}"</value>						</property>						<property>							<name>BUILD::version</name>							<value>"${buildVersion}"</value>													</property>						<property>							<name>BUILD::buildRevision</name>							<value>"${buildRevision}"</value>													</property>						<property>							<name>CONFIG::DEBUG</name>							<value>false</value>													</property>					</definesDeclaration>		
But now is not working.
There is some change in the tag name?
Thanks for your support was really helpful to keep going :)

Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 13 May 2014 13:08:53 +0000
> 
> Hi Miguel,
> 
> yes I have an Artifactory in which I have all the artifacts. But No, I can't give you access to that. Aotherwise Adobe would probably start writing mad letters to me ;-)
> 
> What version of Flexmojos are you using? 6.x or 7.x?
> 
> Chris
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Dienstag, 13. Mai 2014 11:00
> An: users@flex.apache.org
> Betreff: RE: AW: AW: flex compilation diferent from maven compilation
> 
> Hi Chris,
> Even related to the topic,
> Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> 
> Thank you,
> Miguel
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: flex compilation diferent from maven compilation
> > Date: Mon, 5 May 2014 11:13:56 +0000
> >
> > Hi Miguel,
> >
> > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > Especially this article should be a good starting point:
> > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
> > But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
> >
> > Just come back if you have any problems.
> >
> > Chris
> >
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Montag, 5. Mai 2014 12:04
> > An: users@flex.apache.org
> > Betreff: RE: AW: flex compilation diferent from maven compilation
> >
> > Hi Chris,
> > I was waiting for your response!
> > I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
> > Thanks for the links i will give it a try.
> > Miguel
> >
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 09:35:15 +0000
> > >
> > > Hi Miguel,
> > >
> > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
> > >
> > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
> > >
> > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 11:20
> > > An: users@flex.apache.org
> > > Betreff: flex compilation diferent from maven compilation
> > >
> > > Hi all,
> > >
> > > Last week i developed some menu items for the context menu in a flex application.
> > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > >
> > > I am using SDK 4.10.flash version 10.0.45
> > >
> > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > I am quite new with maven.
> > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > Or the compiler have to have some extra argument?
> > > Thank you in advance for some feedback.
> > > Miguel.
 		 	   		  

AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
You need to use the GroupId "org.apache.flex.framework" and "org.apache.flex.compiler".
Think you are missing a plugin dependency to the compiler artifact ...

Chris

-----Ursprüngliche Nachricht-----
Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com] 
Gesendet: Freitag, 16. Mai 2014 18:14
An: users@flex.apache.org
Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation

Hi
After breaking some stone flexmojos is still trying to find the dependecy from adobe :(

i fix the problem from below with this:                               <dependency>						<groupId>com.adobe.flex.framework</groupId>						<artifactId>flex-framework</artifactId>						<version>${flex.version}</version>						<type>pom</type>					</dependency>							<dependency>						<groupId>org.apache.flex.framework</groupId>						<artifactId>flex-framework</artifactId>						<version>${flex.version}</version>						<type>pom</type>					</dependency>
after mavenize the sdk without apache group id so in this moment is repeated in both cases!
As you said before Chris we should only use the apache group id right?
Maybe i will change the subject of the mail maybe another persons get also this problem...

I am giving my first steps in Maven so everything takes double time> Good weekend.
Thank you.
Miguel


> From: miguel.cd.ferreira@hotmail.com
> To: users@flex.apache.org
> Subject: RE: AW: AW: AW: flex compilation diferent from maven 
> compilation
> Date: Fri, 16 May 2014 09:32:54 +0100
> 
> Hi Chris,
> I went forward.
> I am using flexmojos 7.0.0
> I mavenize the project with true in the end of the command i add that to my repository.
> but when i run in my first sub project i get this error [ERROR] Failed 
> to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.
> 
> 
> But i add the dependecy 
> <plugin>					<groupId>net.flexmojos.oss</groupId>					<artifactId>flexmojos-maven-plugin</artifactId>					<version>${flexmojos.version}</version>					<extensions>true</extensions>
> 					<dependencies>						<dependency>							<groupId>org.apache.flex</groupId>							<artifactId>compiler</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>												<dependency>							<groupId>org.apache.flex.framework</groupId>							<artifactId>flex-framework</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>
> </plugin>.....
> Even in the project
> 
> 	<dependencies>		<dependency>			<groupId>org.apache.flex.framework</groupId>			<artifactId>flex-framework</artifactId>			<version>${flex.version}</version>			<type>pom</type>
> 
> 
> So, maybe you can point why he is looking for version 3.5 the default version.
> 
> 
> 
> Thanks in advance for the help
> Miguel
> 
> > From: miguel.cd.ferreira@hotmail.com
> > To: users@flex.apache.org
> > Subject: RE: AW: AW: AW: flex compilation diferent from maven 
> > compilation
> > Date: Wed, 14 May 2014 15:12:07 +0100
> > 
> > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> > I can also update to the version 7 but in the nexus i could not find 
> > it
> > 
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: AW: flex compilation diferent from maven 
> > > compilation
> > > Date: Tue, 13 May 2014 13:08:53 +0000
> > > 
> > > Hi Miguel,
> > > 
> > > yes I have an Artifactory in which I have all the artifacts. But 
> > > No, I can't give you access to that. Aotherwise Adobe would 
> > > probably start writing mad letters to me ;-)
> > > 
> > > What version of Flexmojos are you using? 6.x or 7.x?
> > > 
> > > Chris
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: AW: flex compilation diferent from maven 
> > > compilation
> > > 
> > > Hi Chris,
> > > Even related to the topic,
> > > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > > 
> > > Thank you,
> > > Miguel
> > > 
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: AW: flex compilation diferent from maven 
> > > > compilation
> > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Sectio
> > > > n Especially this article should be a good starting point:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your
> > > > +poms But I currently do see that these pages could use an 
> > > > update to the latest Flexmojos and Apache Flex versions.
> > > >
> > > > Just come back if you have any problems.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > An: users@flex.apache.org
> > > > Betreff: RE: AW: flex compilation diferent from maven 
> > > > compilation
> > > >
> > > > Hi Chris,
> > > > I was waiting for your response!
> > > > I enter in this project and a lot of libraries and etc are 1000 
> > > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > > Miguel
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+S
> > > > > DK+Mavenizer
> > > > >
> > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrati
> > > > > ng+to+6.x
> > > > >
> > > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > >
> > > > > Chris
> > > > >
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > An: users@flex.apache.org
> > > > > Betreff: flex compilation diferent from maven compilation
> > > > >
> > > > > Hi all,
> > > > >
> > > > > Last week i developed some menu items for the context menu in a flex application.
> > > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > > >
> > > > > I am using SDK 4.10.flash version 10.0.45
> > > > >
> > > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > > I am quite new with maven.
> > > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > > Or the compiler have to have some extra argument?
> > > > > Thank you in advance for some feedback.
> > > > > Miguel.
> >  		 	   		  
>  		 	   		  
 		 	   		  

RE: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Hi
After breaking some stone flexmojos is still trying to find the dependecy from adobe :(

i fix the problem from below with this:                               <dependency>						<groupId>com.adobe.flex.framework</groupId>						<artifactId>flex-framework</artifactId>						<version>${flex.version}</version>						<type>pom</type>					</dependency>							<dependency>						<groupId>org.apache.flex.framework</groupId>						<artifactId>flex-framework</artifactId>						<version>${flex.version}</version>						<type>pom</type>					</dependency>
after mavenize the sdk without apache group id so in this moment is repeated in both cases!
As you said before Chris we should only use the apache group id right?
Maybe i will change the subject of the mail maybe another persons get also this problem...

I am giving my first steps in Maven so everything takes double time>
Good weekend.
Thank you.
Miguel


> From: miguel.cd.ferreira@hotmail.com
> To: users@flex.apache.org
> Subject: RE: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Fri, 16 May 2014 09:32:54 +0100
> 
> Hi Chris,
> I went forward.
> I am using flexmojos 7.0.0
> I mavenize the project with true in the end of the command i add that to my repository.
> but when i run in my first sub project i get this error
> [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.
> 
> 
> But i add the dependecy 
> <plugin>					<groupId>net.flexmojos.oss</groupId>					<artifactId>flexmojos-maven-plugin</artifactId>					<version>${flexmojos.version}</version>					<extensions>true</extensions>
> 					<dependencies>						<dependency>							<groupId>org.apache.flex</groupId>							<artifactId>compiler</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>												<dependency>							<groupId>org.apache.flex.framework</groupId>							<artifactId>flex-framework</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>
> </plugin>.....
> Even in the project
> 
> 	<dependencies>		<dependency>			<groupId>org.apache.flex.framework</groupId>			<artifactId>flex-framework</artifactId>			<version>${flex.version}</version>			<type>pom</type>
> 
> 
> So, maybe you can point why he is looking for version 3.5 the default version.
> 
> 
> 
> Thanks in advance for the help
> Miguel
> 
> > From: miguel.cd.ferreira@hotmail.com
> > To: users@flex.apache.org
> > Subject: RE: AW: AW: AW: flex compilation diferent from maven compilation
> > Date: Wed, 14 May 2014 15:12:07 +0100
> > 
> > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> > I can also update to the version 7 but in the nexus i could not find it
> > 
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: AW: flex compilation diferent from maven compilation
> > > Date: Tue, 13 May 2014 13:08:53 +0000
> > > 
> > > Hi Miguel,
> > > 
> > > yes I have an Artifactory in which I have all the artifacts. But No, I can't give you access to that. Aotherwise Adobe would probably start writing mad letters to me ;-)
> > > 
> > > What version of Flexmojos are you using? 6.x or 7.x?
> > > 
> > > Chris
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: AW: flex compilation diferent from maven compilation
> > > 
> > > Hi Chris,
> > > Even related to the topic,
> > > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > > 
> > > Thank you,
> > > Miguel
> > > 
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > > Especially this article should be a good starting point:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
> > > > But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
> > > >
> > > > Just come back if you have any problems.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > An: users@flex.apache.org
> > > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > > >
> > > > Hi Chris,
> > > > I was waiting for your response!
> > > > I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
> > > > Thanks for the links i will give it a try.
> > > > Miguel
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
> > > > >
> > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
> > > > >
> > > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > >
> > > > > Chris
> > > > >
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > An: users@flex.apache.org
> > > > > Betreff: flex compilation diferent from maven compilation
> > > > >
> > > > > Hi all,
> > > > >
> > > > > Last week i developed some menu items for the context menu in a flex application.
> > > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > > >
> > > > > I am using SDK 4.10.flash version 10.0.45
> > > > >
> > > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > > I am quite new with maven.
> > > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > > Or the compiler have to have some extra argument?
> > > > > Thank you in advance for some feedback.
> > > > > Miguel.
> >  		 	   		  
>  		 	   		  
 		 	   		  

RE: AW: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Is a 32 bit i raised the memory in the mvn.bat
like this:
set MAVEN_OPTS="-Xmx1024m"
The mvn start the JVM with that if i set more like 2048 the JVM just don't starts.

But now in the debug i get the double like this:
[ERROR] Java heap space[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO].....[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 32.342s[INFO] Finished at: Tue May 20 10:07:48 CEST 2014[INFO] Final Memory: 16M/989M


The problem have to be in another place...

Yesterday i set somethings in the plugin:
I read in the post: https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+from+Flexmojos+3+to+Flexmojos+4
that we had to change compiledLocals to localesCompiled and i made it:
this is the Parent Project
<properties>		<flex.version>4.10.0.20130801</flex.version>		<flexmojos.version>6.0.0</flexmojos.version>		<flash.version>10.0.45</flash.version>		<playerglobal.version>11.8</playerglobal.version>		<flexlib.classifier>flex3</flexlib.classifier>		<target.dir>target</target.dir>	</properties>
<plugin>					<groupId>net.flexmojos.oss</groupId>					<artifactId>flexmojos-maven-plugin</artifactId>					<version>${flexmojos.version}</version>					<extensions>true</extensions>
					<configuration>
												<themes>													<theme>${project.build.directory}/../../../themes/Halo/halo.swc</theme>							<theme>${project.build.directory}/../../../themes/Spark/spark.css</theme> 							<theme>${project.build.directory}/../../../themes/Spark/MXFTEText.css</theme>																				</themes>							
						<targetPlayer>${flash.version}</targetPlayer>
						<localesCompiled>							<locale>en_US</locale>							<locale>fr_FR</locale>						</localesCompiled>
					</configuration>
					<dependencies>												 <dependency>							<groupId>net.flexmojos.oss</groupId>							<artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>							<version>${flexmojos.version}</version>						  </dependency>													<dependency>							<groupId>com.adobe.flex</groupId>							<artifactId>compiler</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>											</dependencies>
				</plugin>
<dependencies>		<dependency>			<groupId>com.adobe.flex.framework</groupId>			<artifactId>flex-framework</artifactId>			<version>${flex.version}</version>			<type>pom</type>			<exclusions>				<!--					make sure to exclude the default 'playerglobal' transitive					dependency				-->				<exclusion>					<groupId>com.adobe.flex.framework</groupId>					<artifactId>playerglobal</artifactId>				</exclusion>			</exclusions>		</dependency>				<dependency>	  		<groupId>com.adobe.flash.framework</groupId>	  		<artifactId>playerglobal</artifactId>	  		<version>${playerglobal.version}</version>	  			  		<type>swc</type>		</dependency>					</dependencies>
This is the subprojects	<plugins>			<plugin>				<groupId>net.flexmojos.oss</groupId>				<artifactId>flexmojos-maven-plugin</artifactId>				<version>${flexmojos.version}</version>				<extensions>true</extensions>				<configuration>					<localesCompiled>						<locale>en_US</locale>						<locale>fr_FR</locale>					</localesCompiled>				</configuration>				<dependencies>					<dependency>						<groupId>net.flexmojos.oss</groupId>						<artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>						<version>${flexmojos.version}</version>					</dependency>					<dependency>						<groupId>com.adobe.flex</groupId>						<artifactId>compiler</artifactId>						<version>${flex.version}</version>						<type>pom</type>					</dependency>				</dependencies>
			</plugin>		</plugins>



----------------------
I fought that to upgrade from 3.6.1 to 6 would be more straightforward i never fought that i would loose 2 days with the configuration :(

i am without any more ideas to go...
The java heap space with 1GB i am sure that is caused from something else normally should not take so much memory...






> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 20 May 2014 08:00:41 +0000
> 
> I hope 64bit ... otherwise you will not be able to grant a VM more than 1500mb (about)
> 
> Just a thought: Do you have 8192MB unfragmented free memory?
> 
> The problem with Java and Memory is that it needs an unfragmented block of memory ... this is particularly anoying when increasing memory size.
> Assuming the VM has 7GB of memory and wants to increase to 8GB, then it needs two blocks of unfragmented memory one 7GB and one 8GB which is a total of 15GB (That's why I allways recommend to set Xmx and Xms to the same value on server machines.
> 
> So just keep in mind ... just willing to give the VM doesn't avtually give it to the VM if the OS doesn't have it. I'd try setting -Xms to the same Value as your -Xmx then you'll have eliminated that problem and you'll definitely know that the problem is something different.
> 
> Anyway ... could you please check ... when starting a maven build it usually logs what Options it uses ... check that your options are picked up by the build. Have seen people set MAVEN_OPTS to whatever they like, but in the bat file they used to start builds they were overwriting this or they were running the build in a CI server that was running as another user and it therefore didn't pick up the settings ... just a few options what could be going wrond.
> 
> Chris
> 
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Dienstag, 20. Mai 2014 09:49
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation
> 
> Hi Chris,
> I am using Windows 7
> And i setted it in the Enviroment Variables:
> Variable name: MAVEN_OPTS
> Variable value: -Xmx8192m
> 
> Yesterday when i was going home a was also thinking aboutg the 500 MBWell i will search a bit where i can set this.
> I run mvn in command line not in an IDE.
> Thank you for your help.
> Miguel
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation
> > Date: Tue, 20 May 2014 07:17:27 +0000
> >
> > Hi Miguel,
> >
> > How did you provide the memory? Could you post your MAVEN_OPTS?
> > Cause your build only seems to use about 500MB (Final Memory: 15M/494M)
> >
> > Chris
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Montag, 19. Mai 2014 17:43
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: AW: AW: flex compilation diferent from maven compilation
> >
> > Hi,
> > Well i am back again :(
> >
> > I try to go further but still blocked... this is frustrating..
> >
> > Now i get a Java Heap Space Error :( I already gave to maven opt 4096 and also extra for JVM i think the problem should be some where else... but where?!
> > I get this trace maybe someone had the same error and solve it: ( when i use version 3.6.1 it works with out this... )
> >
> > -include-sources=C:\Projects\dev\mainFlex \\basicFoundationFlex \src[ERROR] Java heap space[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] mainFlex ........................................ SUCCESS [11.883s][INFO] basicFoundationFlex .............................. FAILURE [28.741s][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 42.285s[INFO] Finished at: Mon May 19 17:39:31 CEST 2014[INFO] Final Memory: 15M/494M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project basicFoundationFlex: Got 1 errors building project, check logs -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project : Got 1 errors building project, check logs        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)Caused by: org.apache.maven.plugin.MojoFailureException: Got 1 errors building project, check logs        at net.flexmojos.oss.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:314)        at net.flexmojos.oss.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1691)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody0(CompcMojo.java:251)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:53)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:245)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:31)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody5$advice(CompcMojo.java:34)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute(CompcMojo.java:1)        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)        ... 19 more[ERROR][ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR][ERROR] After correcting the problems, you can resume the build with the command
> >
> >
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation
> > > Date: Sat, 17 May 2014 11:33:17 +0000
> > >
> > > Well you are specifying a non-default version of flex, but are using the default compiler. You need to specify the compiler as dependency of the plugin.
> > >
> > > I use this plugin configuration:
> > >
> > >                 <plugin>
> > >                     <groupId>net.flexmojos.oss</groupId>
> > >                     <artifactId>flexmojos-maven-plugin</artifactId>
> > >                     <version>${flexmojos.version}</version>
> > >                     <configuration>
> > >                         <debug>true</debug>
> > >                         <advancedTelemetry>true</advancedTelemetry>
> > >                         <swfVersion>11</swfVersion>
> > >                         <rslUrls>
> > >                             <url>rsl/{artifactId}-{version}.{extension}</url>
> > >                         </rslUrls>
> > >                         <keepGeneratedActionscript>true</keepGeneratedActionscript>
> > >                     </configuration>
> > >                     <dependencies>
> > >                         <!-- This handles a bug in maven which causes problems with flex resources -->
> > >                         <dependency>
> > >                             <groupId>net.flexmojos.oss</groupId>
> > >                             <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
> > >                             <version>${flexmojos.version}</version>
> > >                         </dependency>
> > >                         <!-- Without this FM will use the compiler configured in its
> > >                         master pom, which will result in version conflicts -->
> > >                         <dependency>
> > >                             <groupId>org.apache.flex</groupId>
> > >                             <artifactId>compiler</artifactId>
> > >                             <version>${flex.version}</version>
> > >                             <type>pom</type>
> > >                         </dependency>
> > >                     </dependencies>
> > >                 </plugin>
> > >
> > > Hope it helps.
> > >
> > > Chris
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com]
> > > Gesendet: Freitag, 16. Mai 2014 10:33
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
> > >
> > > Hi Chris,
> > > I went forward.
> > > I am using flexmojos 7.0.0
> > > I mavenize the project with true in the end of the command i add that to my repository.
> > > but when i run in my first sub project i get this error [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project : Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project : Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.
> > >
> > >
> > > But i add the dependecy
> > > <plugin>                                      <groupId>net.flexmojos.oss</groupId>                                    <artifactId>flexmojos-maven-plugin</artifactId>                                 <version>${flexmojos.version}</version>                                 <extensions>true</extensions>
> > >                                       <dependencies>                                          <dependency>                                                    <groupId>org.apache.flex</groupId>                                                      <artifactId>compiler</artifactId>                                                       <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>                                                                                           <dependency>                                                    <groupId>org.apache.flex.framework</groupId>                                                    <artifactId>flex-framework</artifactId>                                                 <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>
> > > </plugin>.....
> > > Even in the project
> > >
> > >       <dependencies>          <dependency>                    <groupId>org.apache.flex.framework</groupId>                    <artifactId>flex-framework</artifactId>                 <version>${flex.version}</version>                      <type>pom</type>
> > >
> > >
> > > So, maybe you can point why he is looking for version 3.5 the default version.
> > >
> > >
> > >
> > > Thanks in advance for the help
> > > Miguel
> > >
> > > > From: miguel.cd.ferreira@hotmail.com
> > > > To: users@flex.apache.org
> > > > Subject: RE: AW: AW: AW: flex compilation diferent from maven
> > > > compilation
> > > > Date: Wed, 14 May 2014 15:12:07 +0100
> > > >
> > > > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> > > > I can also update to the version 7 but in the nexus i could not find
> > > > it
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: AW: AW: flex compilation diferent from maven
> > > > > compilation
> > > > > Date: Tue, 13 May 2014 13:08:53 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > yes I have an Artifactory in which I have all the artifacts. But No,
> > > > > I can't give you access to that. Aotherwise Adobe would probably
> > > > > start writing mad letters to me ;-)
> > > > >
> > > > > What version of Flexmojos are you using? 6.x or 7.x?
> > > > >
> > > > > Chris
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > > > An: users@flex.apache.org
> > > > > Betreff: RE: AW: AW: flex compilation diferent from maven
> > > > > compilation
> > > > >
> > > > > Hi Chris,
> > > > > Even related to the topic,
> > > > > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > > > > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > > > >
> > > > > Thank you,
> > > > > Miguel
> > > > >
> > > > > > From: christofer.dutz@c-ware.de
> > > > > > To: users@flex.apache.org
> > > > > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > > > >
> > > > > > Hi Miguel,
> > > > > >
> > > > > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > > > > Especially this article should be a good starting point:
> > > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > > > > oms But I currently do see that these pages could use an update to
> > > > > > the latest Flexmojos and Apache Flex versions.
> > > > > >
> > > > > > Just come back if you have any problems.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > ________________________________________
> > > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > > > An: users@flex.apache.org
> > > > > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > > > > >
> > > > > > Hi Chris,
> > > > > > I was waiting for your response!
> > > > > > I enter in this project and a lot of libraries and etc are 1000
> > > > > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > > > > Miguel
> > > > > >
> > > > > > > From: christofer.dutz@c-ware.de
> > > > > > > To: users@flex.apache.org
> > > > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > > > >
> > > > > > > Hi Miguel,
> > > > > > >
> > > > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > > > > +Mavenizer
> > > > > > >
> > > > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > > > > +to+6.x
> > > > > > >
> > > > > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > > > >
> > > > > > > Chris
> > > > > > >
> > > > > > > ________________________________________
> > > > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > > > An: users@flex.apache.org
> > > > > > > Betreff: flex compilation diferent from maven compilation
> > > > > > >
> > > > > > > Hi all,
> > > > > > >
> > > > > > > Last week i developed some menu items for the context menu in a flex application.
> > > > > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > > > > >
> > > > > > > I am using SDK 4.10.flash version 10.0.45
> > > > > > >
> > > > > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > > > > I am quite new with maven.
> > > > > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > > > > Or the compiler have to have some extra argument?
> > > > > > > Thank you in advance for some feedback.
> > > > > > > Miguel.
> > > >
> > >
 		 	   		  

AW: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
I hope 64bit ... otherwise you will not be able to grant a VM more than 1500mb (about)

Just a thought: Do you have 8192MB unfragmented free memory?

The problem with Java and Memory is that it needs an unfragmented block of memory ... this is particularly anoying when increasing memory size.
Assuming the VM has 7GB of memory and wants to increase to 8GB, then it needs two blocks of unfragmented memory one 7GB and one 8GB which is a total of 15GB (That's why I allways recommend to set Xmx and Xms to the same value on server machines.

So just keep in mind ... just willing to give the VM doesn't avtually give it to the VM if the OS doesn't have it. I'd try setting -Xms to the same Value as your -Xmx then you'll have eliminated that problem and you'll definitely know that the problem is something different.

Anyway ... could you please check ... when starting a maven build it usually logs what Options it uses ... check that your options are picked up by the build. Have seen people set MAVEN_OPTS to whatever they like, but in the bat file they used to start builds they were overwriting this or they were running the build in a CI server that was running as another user and it therefore didn't pick up the settings ... just a few options what could be going wrond.

Chris

________________________________________
Von: Miguel Ferreira <mi...@hotmail.com>
Gesendet: Dienstag, 20. Mai 2014 09:49
An: users@flex.apache.org
Betreff: RE: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation

Hi Chris,
I am using Windows 7
And i setted it in the Enviroment Variables:
Variable name: MAVEN_OPTS
Variable value: -Xmx8192m

Yesterday when i was going home a was also thinking aboutg the 500 MBWell i will search a bit where i can set this.
I run mvn in command line not in an IDE.
Thank you for your help.
Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 20 May 2014 07:17:27 +0000
>
> Hi Miguel,
>
> How did you provide the memory? Could you post your MAVEN_OPTS?
> Cause your build only seems to use about 500MB (Final Memory: 15M/494M)
>
> Chris
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Montag, 19. Mai 2014 17:43
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: AW: flex compilation diferent from maven compilation
>
> Hi,
> Well i am back again :(
>
> I try to go further but still blocked... this is frustrating..
>
> Now i get a Java Heap Space Error :( I already gave to maven opt 4096 and also extra for JVM i think the problem should be some where else... but where?!
> I get this trace maybe someone had the same error and solve it: ( when i use version 3.6.1 it works with out this... )
>
> -include-sources=C:\Projects\dev\mainFlex \bs2020Flex\basicFoundationFlex \src[ERROR] Java heap space[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] mainFlex ........................................ SUCCESS [11.883s][INFO] basicFoundationFlex .............................. FAILURE [28.741s][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 42.285s[INFO] Finished at: Mon May 19 17:39:31 CEST 2014[INFO] Final Memory: 15M/494M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project basicFoundationFlex: Got 1 errors building project, check logs -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Got 1 errors building project, check logs        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)Caused by: org.apache.maven.plugin.MojoFailureException: Got 1 errors building project, check logs        at net.flexmojos.oss.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:314)        at net.flexmojos.oss.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1691)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody0(CompcMojo.java:251)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:53)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:245)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:31)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody5$advice(CompcMojo.java:34)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute(CompcMojo.java:1)        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)        ... 19 more[ERROR][ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR][ERROR] After correcting the problems, you can resume the build with the command
>
>
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation
> > Date: Sat, 17 May 2014 11:33:17 +0000
> >
> > Well you are specifying a non-default version of flex, but are using the default compiler. You need to specify the compiler as dependency of the plugin.
> >
> > I use this plugin configuration:
> >
> >                 <plugin>
> >                     <groupId>net.flexmojos.oss</groupId>
> >                     <artifactId>flexmojos-maven-plugin</artifactId>
> >                     <version>${flexmojos.version}</version>
> >                     <configuration>
> >                         <debug>true</debug>
> >                         <advancedTelemetry>true</advancedTelemetry>
> >                         <swfVersion>11</swfVersion>
> >                         <rslUrls>
> >                             <url>rsl/{artifactId}-{version}.{extension}</url>
> >                         </rslUrls>
> >                         <keepGeneratedActionscript>true</keepGeneratedActionscript>
> >                     </configuration>
> >                     <dependencies>
> >                         <!-- This handles a bug in maven which causes problems with flex resources -->
> >                         <dependency>
> >                             <groupId>net.flexmojos.oss</groupId>
> >                             <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
> >                             <version>${flexmojos.version}</version>
> >                         </dependency>
> >                         <!-- Without this FM will use the compiler configured in its
> >                         master pom, which will result in version conflicts -->
> >                         <dependency>
> >                             <groupId>org.apache.flex</groupId>
> >                             <artifactId>compiler</artifactId>
> >                             <version>${flex.version}</version>
> >                             <type>pom</type>
> >                         </dependency>
> >                     </dependencies>
> >                 </plugin>
> >
> > Hope it helps.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com]
> > Gesendet: Freitag, 16. Mai 2014 10:33
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
> >
> > Hi Chris,
> > I went forward.
> > I am using flexmojos 7.0.0
> > I mavenize the project with true in the end of the command i add that to my repository.
> > but when i run in my first sub project i get this error [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.
> >
> >
> > But i add the dependecy
> > <plugin>                                      <groupId>net.flexmojos.oss</groupId>                                    <artifactId>flexmojos-maven-plugin</artifactId>                                 <version>${flexmojos.version}</version>                                 <extensions>true</extensions>
> >                                       <dependencies>                                          <dependency>                                                    <groupId>org.apache.flex</groupId>                                                      <artifactId>compiler</artifactId>                                                       <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>                                                                                           <dependency>                                                    <groupId>org.apache.flex.framework</groupId>                                                    <artifactId>flex-framework</artifactId>                                                 <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>
> > </plugin>.....
> > Even in the project
> >
> >       <dependencies>          <dependency>                    <groupId>org.apache.flex.framework</groupId>                    <artifactId>flex-framework</artifactId>                 <version>${flex.version}</version>                      <type>pom</type>
> >
> >
> > So, maybe you can point why he is looking for version 3.5 the default version.
> >
> >
> >
> > Thanks in advance for the help
> > Miguel
> >
> > > From: miguel.cd.ferreira@hotmail.com
> > > To: users@flex.apache.org
> > > Subject: RE: AW: AW: AW: flex compilation diferent from maven
> > > compilation
> > > Date: Wed, 14 May 2014 15:12:07 +0100
> > >
> > > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> > > I can also update to the version 7 but in the nexus i could not find
> > > it
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: AW: AW: flex compilation diferent from maven
> > > > compilation
> > > > Date: Tue, 13 May 2014 13:08:53 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > yes I have an Artifactory in which I have all the artifacts. But No,
> > > > I can't give you access to that. Aotherwise Adobe would probably
> > > > start writing mad letters to me ;-)
> > > >
> > > > What version of Flexmojos are you using? 6.x or 7.x?
> > > >
> > > > Chris
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > > An: users@flex.apache.org
> > > > Betreff: RE: AW: AW: flex compilation diferent from maven
> > > > compilation
> > > >
> > > > Hi Chris,
> > > > Even related to the topic,
> > > > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > > > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > > >
> > > > Thank you,
> > > > Miguel
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > > > Especially this article should be a good starting point:
> > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > > > oms But I currently do see that these pages could use an update to
> > > > > the latest Flexmojos and Apache Flex versions.
> > > > >
> > > > > Just come back if you have any problems.
> > > > >
> > > > > Chris
> > > > >
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > > An: users@flex.apache.org
> > > > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > > > >
> > > > > Hi Chris,
> > > > > I was waiting for your response!
> > > > > I enter in this project and a lot of libraries and etc are 1000
> > > > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > > > Miguel
> > > > >
> > > > > > From: christofer.dutz@c-ware.de
> > > > > > To: users@flex.apache.org
> > > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > > >
> > > > > > Hi Miguel,
> > > > > >
> > > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > > > +Mavenizer
> > > > > >
> > > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > > > +to+6.x
> > > > > >
> > > > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > ________________________________________
> > > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > > An: users@flex.apache.org
> > > > > > Betreff: flex compilation diferent from maven compilation
> > > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > Last week i developed some menu items for the context menu in a flex application.
> > > > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > > > >
> > > > > > I am using SDK 4.10.flash version 10.0.45
> > > > > >
> > > > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > > > I am quite new with maven.
> > > > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > > > Or the compiler have to have some extra argument?
> > > > > > Thank you in advance for some feedback.
> > > > > > Miguel.
> > >
> >

RE: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Hi Chris,
I am using Windows 7
And i setted it in the Enviroment Variables:
Variable name: MAVEN_OPTS
Variable value: -Xmx8192m

Yesterday when i was going home a was also thinking aboutg the 500 MBWell i will search a bit where i can set this.
I run mvn in command line not in an IDE.
Thank you for your help.
Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 20 May 2014 07:17:27 +0000
> 
> Hi Miguel,
> 
> How did you provide the memory? Could you post your MAVEN_OPTS? 
> Cause your build only seems to use about 500MB (Final Memory: 15M/494M)
> 
> Chris
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Montag, 19. Mai 2014 17:43
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: AW: flex compilation diferent from maven compilation
> 
> Hi,
> Well i am back again :(
> 
> I try to go further but still blocked... this is frustrating..
> 
> Now i get a Java Heap Space Error :( I already gave to maven opt 4096 and also extra for JVM i think the problem should be some where else... but where?!
> I get this trace maybe someone had the same error and solve it: ( when i use version 3.6.1 it works with out this... )
> 
> -include-sources=C:\Projects\dev\mainFlex \bs2020Flex\basicFoundationFlex \src[ERROR] Java heap space[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] mainFlex ........................................ SUCCESS [11.883s][INFO] basicFoundationFlex .............................. FAILURE [28.741s][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 42.285s[INFO] Finished at: Mon May 19 17:39:31 CEST 2014[INFO] Final Memory: 15M/494M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project basicFoundationFlex: Got 1 errors building project, check logs -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Got 1 errors building project, check logs        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)Caused by: org.apache.maven.plugin.MojoFailureException: Got 1 errors building project, check logs        at net.flexmojos.oss.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:314)        at net.flexmojos.oss.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1691)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody0(CompcMojo.java:251)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:53)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:245)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:31)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody5$advice(CompcMojo.java:34)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute(CompcMojo.java:1)        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)        ... 19 more[ERROR][ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR][ERROR] After correcting the problems, you can resume the build with the command
> 
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation
> > Date: Sat, 17 May 2014 11:33:17 +0000
> >
> > Well you are specifying a non-default version of flex, but are using the default compiler. You need to specify the compiler as dependency of the plugin.
> >
> > I use this plugin configuration:
> >
> >                 <plugin>
> >                     <groupId>net.flexmojos.oss</groupId>
> >                     <artifactId>flexmojos-maven-plugin</artifactId>
> >                     <version>${flexmojos.version}</version>
> >                     <configuration>
> >                         <debug>true</debug>
> >                         <advancedTelemetry>true</advancedTelemetry>
> >                         <swfVersion>11</swfVersion>
> >                         <rslUrls>
> >                             <url>rsl/{artifactId}-{version}.{extension}</url>
> >                         </rslUrls>
> >                         <keepGeneratedActionscript>true</keepGeneratedActionscript>
> >                     </configuration>
> >                     <dependencies>
> >                         <!-- This handles a bug in maven which causes problems with flex resources -->
> >                         <dependency>
> >                             <groupId>net.flexmojos.oss</groupId>
> >                             <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
> >                             <version>${flexmojos.version}</version>
> >                         </dependency>
> >                         <!-- Without this FM will use the compiler configured in its
> >                         master pom, which will result in version conflicts -->
> >                         <dependency>
> >                             <groupId>org.apache.flex</groupId>
> >                             <artifactId>compiler</artifactId>
> >                             <version>${flex.version}</version>
> >                             <type>pom</type>
> >                         </dependency>
> >                     </dependencies>
> >                 </plugin>
> >
> > Hope it helps.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com]
> > Gesendet: Freitag, 16. Mai 2014 10:33
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
> >
> > Hi Chris,
> > I went forward.
> > I am using flexmojos 7.0.0
> > I mavenize the project with true in the end of the command i add that to my repository.
> > but when i run in my first sub project i get this error [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.
> >
> >
> > But i add the dependecy
> > <plugin>                                      <groupId>net.flexmojos.oss</groupId>                                    <artifactId>flexmojos-maven-plugin</artifactId>                                 <version>${flexmojos.version}</version>                                 <extensions>true</extensions>
> >                                       <dependencies>                                          <dependency>                                                    <groupId>org.apache.flex</groupId>                                                      <artifactId>compiler</artifactId>                                                       <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>                                                                                           <dependency>                                                    <groupId>org.apache.flex.framework</groupId>                                                    <artifactId>flex-framework</artifactId>                                                 <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>
> > </plugin>.....
> > Even in the project
> >
> >       <dependencies>          <dependency>                    <groupId>org.apache.flex.framework</groupId>                    <artifactId>flex-framework</artifactId>                 <version>${flex.version}</version>                      <type>pom</type>
> >
> >
> > So, maybe you can point why he is looking for version 3.5 the default version.
> >
> >
> >
> > Thanks in advance for the help
> > Miguel
> >
> > > From: miguel.cd.ferreira@hotmail.com
> > > To: users@flex.apache.org
> > > Subject: RE: AW: AW: AW: flex compilation diferent from maven
> > > compilation
> > > Date: Wed, 14 May 2014 15:12:07 +0100
> > >
> > > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> > > I can also update to the version 7 but in the nexus i could not find
> > > it
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: AW: AW: flex compilation diferent from maven
> > > > compilation
> > > > Date: Tue, 13 May 2014 13:08:53 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > yes I have an Artifactory in which I have all the artifacts. But No,
> > > > I can't give you access to that. Aotherwise Adobe would probably
> > > > start writing mad letters to me ;-)
> > > >
> > > > What version of Flexmojos are you using? 6.x or 7.x?
> > > >
> > > > Chris
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > > An: users@flex.apache.org
> > > > Betreff: RE: AW: AW: flex compilation diferent from maven
> > > > compilation
> > > >
> > > > Hi Chris,
> > > > Even related to the topic,
> > > > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > > > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > > >
> > > > Thank you,
> > > > Miguel
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > > > Especially this article should be a good starting point:
> > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > > > oms But I currently do see that these pages could use an update to
> > > > > the latest Flexmojos and Apache Flex versions.
> > > > >
> > > > > Just come back if you have any problems.
> > > > >
> > > > > Chris
> > > > >
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > > An: users@flex.apache.org
> > > > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > > > >
> > > > > Hi Chris,
> > > > > I was waiting for your response!
> > > > > I enter in this project and a lot of libraries and etc are 1000
> > > > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > > > Miguel
> > > > >
> > > > > > From: christofer.dutz@c-ware.de
> > > > > > To: users@flex.apache.org
> > > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > > >
> > > > > > Hi Miguel,
> > > > > >
> > > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > > > +Mavenizer
> > > > > >
> > > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > > > +to+6.x
> > > > > >
> > > > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > ________________________________________
> > > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > > An: users@flex.apache.org
> > > > > > Betreff: flex compilation diferent from maven compilation
> > > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > Last week i developed some menu items for the context menu in a flex application.
> > > > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > > > >
> > > > > > I am using SDK 4.10.flash version 10.0.45
> > > > > >
> > > > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > > > I am quite new with maven.
> > > > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > > > Or the compiler have to have some extra argument?
> > > > > > Thank you in advance for some feedback.
> > > > > > Miguel.
> > >
> >
 		 	   		  

RE: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Hi Chris

yesterday night i was also thinking about that detail.
But i setted in the Enviroment Variables (i am using windows 7)


> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 20 May 2014 07:17:27 +0000
> 
> Hi Miguel,
> 
> How did you provide the memory? Could you post your MAVEN_OPTS? 
> Cause your build only seems to use about 500MB (Final Memory: 15M/494M)
> 
> Chris
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Montag, 19. Mai 2014 17:43
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: AW: flex compilation diferent from maven compilation
> 
> Hi,
> Well i am back again :(
> 
> I try to go further but still blocked... this is frustrating..
> 
> Now i get a Java Heap Space Error :( I already gave to maven opt 4096 and also extra for JVM i think the problem should be some where else... but where?!
> I get this trace maybe someone had the same error and solve it: ( when i use version 3.6.1 it works with out this... )
> 
> -include-sources=C:\Projects\dev\mainFlex \bs2020Flex\basicFoundationFlex \src[ERROR] Java heap space[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] mainFlex ........................................ SUCCESS [11.883s][INFO] basicFoundationFlex .............................. FAILURE [28.741s][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 42.285s[INFO] Finished at: Mon May 19 17:39:31 CEST 2014[INFO] Final Memory: 15M/494M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project basicFoundationFlex: Got 1 errors building project, check logs -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Got 1 errors building project, check logs        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)Caused by: org.apache.maven.plugin.MojoFailureException: Got 1 errors building project, check logs        at net.flexmojos.oss.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:314)        at net.flexmojos.oss.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1691)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody0(CompcMojo.java:251)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:53)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:245)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:31)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody5$advice(CompcMojo.java:34)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute(CompcMojo.java:1)        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)        ... 19 more[ERROR][ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR][ERROR] After correcting the problems, you can resume the build with the command
> 
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation
> > Date: Sat, 17 May 2014 11:33:17 +0000
> >
> > Well you are specifying a non-default version of flex, but are using the default compiler. You need to specify the compiler as dependency of the plugin.
> >
> > I use this plugin configuration:
> >
> >                 <plugin>
> >                     <groupId>net.flexmojos.oss</groupId>
> >                     <artifactId>flexmojos-maven-plugin</artifactId>
> >                     <version>${flexmojos.version}</version>
> >                     <configuration>
> >                         <debug>true</debug>
> >                         <advancedTelemetry>true</advancedTelemetry>
> >                         <swfVersion>11</swfVersion>
> >                         <rslUrls>
> >                             <url>rsl/{artifactId}-{version}.{extension}</url>
> >                         </rslUrls>
> >                         <keepGeneratedActionscript>true</keepGeneratedActionscript>
> >                     </configuration>
> >                     <dependencies>
> >                         <!-- This handles a bug in maven which causes problems with flex resources -->
> >                         <dependency>
> >                             <groupId>net.flexmojos.oss</groupId>
> >                             <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
> >                             <version>${flexmojos.version}</version>
> >                         </dependency>
> >                         <!-- Without this FM will use the compiler configured in its
> >                         master pom, which will result in version conflicts -->
> >                         <dependency>
> >                             <groupId>org.apache.flex</groupId>
> >                             <artifactId>compiler</artifactId>
> >                             <version>${flex.version}</version>
> >                             <type>pom</type>
> >                         </dependency>
> >                     </dependencies>
> >                 </plugin>
> >
> > Hope it helps.
> >
> > Chris
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com]
> > Gesendet: Freitag, 16. Mai 2014 10:33
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
> >
> > Hi Chris,
> > I went forward.
> > I am using flexmojos 7.0.0
> > I mavenize the project with true in the end of the command i add that to my repository.
> > but when i run in my first sub project i get this error [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.
> >
> >
> > But i add the dependecy
> > <plugin>                                      <groupId>net.flexmojos.oss</groupId>                                    <artifactId>flexmojos-maven-plugin</artifactId>                                 <version>${flexmojos.version}</version>                                 <extensions>true</extensions>
> >                                       <dependencies>                                          <dependency>                                                    <groupId>org.apache.flex</groupId>                                                      <artifactId>compiler</artifactId>                                                       <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>                                                                                           <dependency>                                                    <groupId>org.apache.flex.framework</groupId>                                                    <artifactId>flex-framework</artifactId>                                                 <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>
> > </plugin>.....
> > Even in the project
> >
> >       <dependencies>          <dependency>                    <groupId>org.apache.flex.framework</groupId>                    <artifactId>flex-framework</artifactId>                 <version>${flex.version}</version>                      <type>pom</type>
> >
> >
> > So, maybe you can point why he is looking for version 3.5 the default version.
> >
> >
> >
> > Thanks in advance for the help
> > Miguel
> >
> > > From: miguel.cd.ferreira@hotmail.com
> > > To: users@flex.apache.org
> > > Subject: RE: AW: AW: AW: flex compilation diferent from maven
> > > compilation
> > > Date: Wed, 14 May 2014 15:12:07 +0100
> > >
> > > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> > > I can also update to the version 7 but in the nexus i could not find
> > > it
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: AW: AW: flex compilation diferent from maven
> > > > compilation
> > > > Date: Tue, 13 May 2014 13:08:53 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > yes I have an Artifactory in which I have all the artifacts. But No,
> > > > I can't give you access to that. Aotherwise Adobe would probably
> > > > start writing mad letters to me ;-)
> > > >
> > > > What version of Flexmojos are you using? 6.x or 7.x?
> > > >
> > > > Chris
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > > An: users@flex.apache.org
> > > > Betreff: RE: AW: AW: flex compilation diferent from maven
> > > > compilation
> > > >
> > > > Hi Chris,
> > > > Even related to the topic,
> > > > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > > > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > > >
> > > > Thank you,
> > > > Miguel
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > > > Especially this article should be a good starting point:
> > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > > > oms But I currently do see that these pages could use an update to
> > > > > the latest Flexmojos and Apache Flex versions.
> > > > >
> > > > > Just come back if you have any problems.
> > > > >
> > > > > Chris
> > > > >
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > > An: users@flex.apache.org
> > > > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > > > >
> > > > > Hi Chris,
> > > > > I was waiting for your response!
> > > > > I enter in this project and a lot of libraries and etc are 1000
> > > > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > > > Miguel
> > > > >
> > > > > > From: christofer.dutz@c-ware.de
> > > > > > To: users@flex.apache.org
> > > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > > >
> > > > > > Hi Miguel,
> > > > > >
> > > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > > > +Mavenizer
> > > > > >
> > > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > > > +to+6.x
> > > > > >
> > > > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > > >
> > > > > > Chris
> > > > > >
> > > > > > ________________________________________
> > > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > > An: users@flex.apache.org
> > > > > > Betreff: flex compilation diferent from maven compilation
> > > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > Last week i developed some menu items for the context menu in a flex application.
> > > > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > > > >
> > > > > > I am using SDK 4.10.flash version 10.0.45
> > > > > >
> > > > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > > > I am quite new with maven.
> > > > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > > > Or the compiler have to have some extra argument?
> > > > > > Thank you in advance for some feedback.
> > > > > > Miguel.
> > >
> >
 		 	   		  

AW: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Miguel,

How did you provide the memory? Could you post your MAVEN_OPTS? 
Cause your build only seems to use about 500MB (Final Memory: 15M/494M)

Chris
________________________________________
Von: Miguel Ferreira <mi...@hotmail.com>
Gesendet: Montag, 19. Mai 2014 17:43
An: users@flex.apache.org
Betreff: RE: AW: AW: AW: AW: flex compilation diferent from maven compilation

Hi,
Well i am back again :(

I try to go further but still blocked... this is frustrating..

Now i get a Java Heap Space Error :( I already gave to maven opt 4096 and also extra for JVM i think the problem should be some where else... but where?!
I get this trace maybe someone had the same error and solve it: ( when i use version 3.6.1 it works with out this... )

-include-sources=C:\Projects\dev\mainFlex \bs2020Flex\basicFoundationFlex \src[ERROR] Java heap space[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] mainFlex ........................................ SUCCESS [11.883s][INFO] basicFoundationFlex .............................. FAILURE [28.741s][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 42.285s[INFO] Finished at: Mon May 19 17:39:31 CEST 2014[INFO] Final Memory: 15M/494M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project basicFoundationFlex: Got 1 errors building project, check logs -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Got 1 errors building project, check logs        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)Caused by: org.apache.maven.plugin.MojoFailureException: Got 1 errors building project, check logs        at net.flexmojos.oss.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:314)        at net.flexmojos.oss.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1691)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody0(CompcMojo.java:251)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:53)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:245)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:31)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody5$advice(CompcMojo.java:34)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute(CompcMojo.java:1)        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)        ... 19 more[ERROR][ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR][ERROR] After correcting the problems, you can resume the build with the command


> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Sat, 17 May 2014 11:33:17 +0000
>
> Well you are specifying a non-default version of flex, but are using the default compiler. You need to specify the compiler as dependency of the plugin.
>
> I use this plugin configuration:
>
>                 <plugin>
>                     <groupId>net.flexmojos.oss</groupId>
>                     <artifactId>flexmojos-maven-plugin</artifactId>
>                     <version>${flexmojos.version}</version>
>                     <configuration>
>                         <debug>true</debug>
>                         <advancedTelemetry>true</advancedTelemetry>
>                         <swfVersion>11</swfVersion>
>                         <rslUrls>
>                             <url>rsl/{artifactId}-{version}.{extension}</url>
>                         </rslUrls>
>                         <keepGeneratedActionscript>true</keepGeneratedActionscript>
>                     </configuration>
>                     <dependencies>
>                         <!-- This handles a bug in maven which causes problems with flex resources -->
>                         <dependency>
>                             <groupId>net.flexmojos.oss</groupId>
>                             <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
>                             <version>${flexmojos.version}</version>
>                         </dependency>
>                         <!-- Without this FM will use the compiler configured in its
>                         master pom, which will result in version conflicts -->
>                         <dependency>
>                             <groupId>org.apache.flex</groupId>
>                             <artifactId>compiler</artifactId>
>                             <version>${flex.version}</version>
>                             <type>pom</type>
>                         </dependency>
>                     </dependencies>
>                 </plugin>
>
> Hope it helps.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com]
> Gesendet: Freitag, 16. Mai 2014 10:33
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
>
> Hi Chris,
> I went forward.
> I am using flexmojos 7.0.0
> I mavenize the project with true in the end of the command i add that to my repository.
> but when i run in my first sub project i get this error [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.
>
>
> But i add the dependecy
> <plugin>                                      <groupId>net.flexmojos.oss</groupId>                                    <artifactId>flexmojos-maven-plugin</artifactId>                                 <version>${flexmojos.version}</version>                                 <extensions>true</extensions>
>                                       <dependencies>                                          <dependency>                                                    <groupId>org.apache.flex</groupId>                                                      <artifactId>compiler</artifactId>                                                       <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>                                                                                           <dependency>                                                    <groupId>org.apache.flex.framework</groupId>                                                    <artifactId>flex-framework</artifactId>                                                 <version>${flex.version}</version>                                                      <type>pom</type>                                                </dependency>
> </plugin>.....
> Even in the project
>
>       <dependencies>          <dependency>                    <groupId>org.apache.flex.framework</groupId>                    <artifactId>flex-framework</artifactId>                 <version>${flex.version}</version>                      <type>pom</type>
>
>
> So, maybe you can point why he is looking for version 3.5 the default version.
>
>
>
> Thanks in advance for the help
> Miguel
>
> > From: miguel.cd.ferreira@hotmail.com
> > To: users@flex.apache.org
> > Subject: RE: AW: AW: AW: flex compilation diferent from maven
> > compilation
> > Date: Wed, 14 May 2014 15:12:07 +0100
> >
> > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> > I can also update to the version 7 but in the nexus i could not find
> > it
> >
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: AW: flex compilation diferent from maven
> > > compilation
> > > Date: Tue, 13 May 2014 13:08:53 +0000
> > >
> > > Hi Miguel,
> > >
> > > yes I have an Artifactory in which I have all the artifacts. But No,
> > > I can't give you access to that. Aotherwise Adobe would probably
> > > start writing mad letters to me ;-)
> > >
> > > What version of Flexmojos are you using? 6.x or 7.x?
> > >
> > > Chris
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: AW: flex compilation diferent from maven
> > > compilation
> > >
> > > Hi Chris,
> > > Even related to the topic,
> > > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > >
> > > Thank you,
> > > Miguel
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > > Especially this article should be a good starting point:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > > oms But I currently do see that these pages could use an update to
> > > > the latest Flexmojos and Apache Flex versions.
> > > >
> > > > Just come back if you have any problems.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > An: users@flex.apache.org
> > > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > > >
> > > > Hi Chris,
> > > > I was waiting for your response!
> > > > I enter in this project and a lot of libraries and etc are 1000
> > > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > > Miguel
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > > +Mavenizer
> > > > >
> > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > > +to+6.x
> > > > >
> > > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > >
> > > > > Chris
> > > > >
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > An: users@flex.apache.org
> > > > > Betreff: flex compilation diferent from maven compilation
> > > > >
> > > > > Hi all,
> > > > >
> > > > > Last week i developed some menu items for the context menu in a flex application.
> > > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > > >
> > > > > I am using SDK 4.10.flash version 10.0.45
> > > > >
> > > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > > I am quite new with maven.
> > > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > > Or the compiler have to have some extra argument?
> > > > > Thank you in advance for some feedback.
> > > > > Miguel.
> >
>

RE: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Hi,
Well i am back again :(

I try to go further but still blocked... this is frustrating..

Now i get a Java Heap Space Error :( I already gave to maven opt 4096 and also extra for JVM i think the problem should be some where else... but where?!
I get this trace maybe someone had the same error and solve it: ( when i use version 3.6.1 it works with out this... )

-include-sources=C:\Projects\dev\mainFlex \bs2020Flex\basicFoundationFlex \src[ERROR] Java heap space[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] mainFlex ........................................ SUCCESS [11.883s][INFO] basicFoundationFlex .............................. FAILURE [28.741s][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 42.285s[INFO] Finished at: Mon May 19 17:39:31 CEST 2014[INFO] Final Memory: 15M/494M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project basicFoundationFlex: Got 1 errors building project, check logs -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Got 1 errors building project, check logs        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)Caused by: org.apache.maven.plugin.MojoFailureException: Got 1 errors building project, check logs        at net.flexmojos.oss.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:314)        at net.flexmojos.oss.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1691)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody0(CompcMojo.java:251)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:53)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:245)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:31)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody5$advice(CompcMojo.java:34)        at net.flexmojos.oss.plugin.compiler.CompcMojo.execute(CompcMojo.java:1)        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)        ... 19 more[ERROR][ERROR][ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR][ERROR] After correcting the problems, you can resume the build with the command


> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Sat, 17 May 2014 11:33:17 +0000
> 
> Well you are specifying a non-default version of flex, but are using the default compiler. You need to specify the compiler as dependency of the plugin.
> 
> I use this plugin configuration:
> 
>                 <plugin>
>                     <groupId>net.flexmojos.oss</groupId>
>                     <artifactId>flexmojos-maven-plugin</artifactId>
>                     <version>${flexmojos.version}</version>
>                     <configuration>
>                         <debug>true</debug>
>                         <advancedTelemetry>true</advancedTelemetry>
>                         <swfVersion>11</swfVersion>
>                         <rslUrls>
>                             <url>rsl/{artifactId}-{version}.{extension}</url>
>                         </rslUrls>
>                         <keepGeneratedActionscript>true</keepGeneratedActionscript>
>                     </configuration>
>                     <dependencies>
>                         <!-- This handles a bug in maven which causes problems with flex resources -->
>                         <dependency>
>                             <groupId>net.flexmojos.oss</groupId>
>                             <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
>                             <version>${flexmojos.version}</version>
>                         </dependency>
>                         <!-- Without this FM will use the compiler configured in its
>                         master pom, which will result in version conflicts -->
>                         <dependency>
>                             <groupId>org.apache.flex</groupId>
>                             <artifactId>compiler</artifactId>
>                             <version>${flex.version}</version>
>                             <type>pom</type>
>                         </dependency>
>                     </dependencies>
>                 </plugin>
> 
> Hope it helps.
> 
> Chris
> 
> -----Ursprüngliche Nachricht-----
> Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com] 
> Gesendet: Freitag, 16. Mai 2014 10:33
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
> 
> Hi Chris,
> I went forward.
> I am using flexmojos 7.0.0
> I mavenize the project with true in the end of the command i add that to my repository.
> but when i run in my first sub project i get this error [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.
> 
> 
> But i add the dependecy 
> <plugin>					<groupId>net.flexmojos.oss</groupId>					<artifactId>flexmojos-maven-plugin</artifactId>					<version>${flexmojos.version}</version>					<extensions>true</extensions>
> 					<dependencies>						<dependency>							<groupId>org.apache.flex</groupId>							<artifactId>compiler</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>												<dependency>							<groupId>org.apache.flex.framework</groupId>							<artifactId>flex-framework</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>
> </plugin>.....
> Even in the project
> 
> 	<dependencies>		<dependency>			<groupId>org.apache.flex.framework</groupId>			<artifactId>flex-framework</artifactId>			<version>${flex.version}</version>			<type>pom</type>
> 
> 
> So, maybe you can point why he is looking for version 3.5 the default version.
> 
> 
> 
> Thanks in advance for the help
> Miguel
> 
> > From: miguel.cd.ferreira@hotmail.com
> > To: users@flex.apache.org
> > Subject: RE: AW: AW: AW: flex compilation diferent from maven 
> > compilation
> > Date: Wed, 14 May 2014 15:12:07 +0100
> > 
> > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> > I can also update to the version 7 but in the nexus i could not find 
> > it
> > 
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: AW: flex compilation diferent from maven 
> > > compilation
> > > Date: Tue, 13 May 2014 13:08:53 +0000
> > > 
> > > Hi Miguel,
> > > 
> > > yes I have an Artifactory in which I have all the artifacts. But No, 
> > > I can't give you access to that. Aotherwise Adobe would probably 
> > > start writing mad letters to me ;-)
> > > 
> > > What version of Flexmojos are you using? 6.x or 7.x?
> > > 
> > > Chris
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: AW: flex compilation diferent from maven 
> > > compilation
> > > 
> > > Hi Chris,
> > > Even related to the topic,
> > > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > > 
> > > Thank you,
> > > Miguel
> > > 
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > > Especially this article should be a good starting point:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > > oms But I currently do see that these pages could use an update to 
> > > > the latest Flexmojos and Apache Flex versions.
> > > >
> > > > Just come back if you have any problems.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > An: users@flex.apache.org
> > > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > > >
> > > > Hi Chris,
> > > > I was waiting for your response!
> > > > I enter in this project and a lot of libraries and etc are 1000 
> > > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > > Miguel
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > > +Mavenizer
> > > > >
> > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > > +to+6.x
> > > > >
> > > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > >
> > > > > Chris
> > > > >
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > An: users@flex.apache.org
> > > > > Betreff: flex compilation diferent from maven compilation
> > > > >
> > > > > Hi all,
> > > > >
> > > > > Last week i developed some menu items for the context menu in a flex application.
> > > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > > >
> > > > > I am using SDK 4.10.flash version 10.0.45
> > > > >
> > > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > > I am quite new with maven.
> > > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > > Or the compiler have to have some extra argument?
> > > > > Thank you in advance for some feedback.
> > > > > Miguel.
> >  		 	   		  
>  		 	   		  
 		 	   		  

AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
Well you are specifying a non-default version of flex, but are using the default compiler. You need to specify the compiler as dependency of the plugin.

I use this plugin configuration:

                <plugin>
                    <groupId>net.flexmojos.oss</groupId>
                    <artifactId>flexmojos-maven-plugin</artifactId>
                    <version>${flexmojos.version}</version>
                    <configuration>
                        <debug>true</debug>
                        <advancedTelemetry>true</advancedTelemetry>
                        <swfVersion>11</swfVersion>
                        <rslUrls>
                            <url>rsl/{artifactId}-{version}.{extension}</url>
                        </rslUrls>
                        <keepGeneratedActionscript>true</keepGeneratedActionscript>
                    </configuration>
                    <dependencies>
                        <!-- This handles a bug in maven which causes problems with flex resources -->
                        <dependency>
                            <groupId>net.flexmojos.oss</groupId>
                            <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
                            <version>${flexmojos.version}</version>
                        </dependency>
                        <!-- Without this FM will use the compiler configured in its
                        master pom, which will result in version conflicts -->
                        <dependency>
                            <groupId>org.apache.flex</groupId>
                            <artifactId>compiler</artifactId>
                            <version>${flex.version}</version>
                            <type>pom</type>
                        </dependency>
                    </dependencies>
                </plugin>

Hope it helps.

Chris

-----Ursprüngliche Nachricht-----
Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com] 
Gesendet: Freitag, 16. Mai 2014 10:33
An: users@flex.apache.org
Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation

Hi Chris,
I went forward.
I am using flexmojos 7.0.0
I mavenize the project with true in the end of the command i add that to my repository.
but when i run in my first sub project i get this error [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.


But i add the dependecy 
<plugin>					<groupId>net.flexmojos.oss</groupId>					<artifactId>flexmojos-maven-plugin</artifactId>					<version>${flexmojos.version}</version>					<extensions>true</extensions>
					<dependencies>						<dependency>							<groupId>org.apache.flex</groupId>							<artifactId>compiler</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>												<dependency>							<groupId>org.apache.flex.framework</groupId>							<artifactId>flex-framework</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>
</plugin>.....
Even in the project

	<dependencies>		<dependency>			<groupId>org.apache.flex.framework</groupId>			<artifactId>flex-framework</artifactId>			<version>${flex.version}</version>			<type>pom</type>


So, maybe you can point why he is looking for version 3.5 the default version.



Thanks in advance for the help
Miguel

> From: miguel.cd.ferreira@hotmail.com
> To: users@flex.apache.org
> Subject: RE: AW: AW: AW: flex compilation diferent from maven 
> compilation
> Date: Wed, 14 May 2014 15:12:07 +0100
> 
> 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> I can also update to the version 7 but in the nexus i could not find 
> it
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: flex compilation diferent from maven 
> > compilation
> > Date: Tue, 13 May 2014 13:08:53 +0000
> > 
> > Hi Miguel,
> > 
> > yes I have an Artifactory in which I have all the artifacts. But No, 
> > I can't give you access to that. Aotherwise Adobe would probably 
> > start writing mad letters to me ;-)
> > 
> > What version of Flexmojos are you using? 6.x or 7.x?
> > 
> > Chris
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Dienstag, 13. Mai 2014 11:00
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: flex compilation diferent from maven 
> > compilation
> > 
> > Hi Chris,
> > Even related to the topic,
> > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > 
> > Thank you,
> > Miguel
> > 
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 11:13:56 +0000
> > >
> > > Hi Miguel,
> > >
> > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > Especially this article should be a good starting point:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > oms But I currently do see that these pages could use an update to 
> > > the latest Flexmojos and Apache Flex versions.
> > >
> > > Just come back if you have any problems.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 12:04
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > >
> > > Hi Chris,
> > > I was waiting for your response!
> > > I enter in this project and a lot of libraries and etc are 1000 
> > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > Miguel
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > +Mavenizer
> > > >
> > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > +to+6.x
> > > >
> > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > An: users@flex.apache.org
> > > > Betreff: flex compilation diferent from maven compilation
> > > >
> > > > Hi all,
> > > >
> > > > Last week i developed some menu items for the context menu in a flex application.
> > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > >
> > > > I am using SDK 4.10.flash version 10.0.45
> > > >
> > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > I am quite new with maven.
> > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > Or the compiler have to have some extra argument?
> > > > Thank you in advance for some feedback.
> > > > Miguel.
>  		 	   		  
 		 	   		  

Re: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On May 17, 2014 4:05 AM, "Christofer Dutz" <ch...@c-ware.de>
wrote:
>
> I Think I might whip up an official documentation on how to Mavenize
Apache Flex SDKs and how to setup maven builds using Flexmojos 7.0.0
> Would it be OK for me to add that to the Apache Flex Wiki?

Oh yes please!  That is one documentation which is really required.

Thanks,
Om

>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com]
> Gesendet: Freitag, 16. Mai 2014 10:33
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
>
> Hi Chris,
> I went forward.
> I am using flexmojos 7.0.0
> I mavenize the project with true in the end of the command i add that to
my repository.
> but when i run in my first sub project i get this error [ERROR] Failed to
execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc
(default-compile-swc) on project bs2020FoundationFlex: Execution
default-compile-swc of goal
net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex
compiler and flex framework versions doesn't match. Compiler:
'4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use
'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to
disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you
prefer fixing it instead of ignoring, take a look at:
https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR]->
[Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc
(default-compile-swc) on project bs2020FoundationFlex: Execution
default-compile-swc of goal
net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex
compiler and flex framework versions doesn't match. Compiler:
'4.12.0.20140303' - Framework: '3.5.0.12683'. You can use
'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to
disable this check.  Please refer to Flexmojos maven doc.
>
>
> But i add the dependecy
> <plugin>
 <groupId>net.flexmojos.oss</groupId>
 <artifactId>flexmojos-maven-plugin</artifactId>
      <version>${flexmojos.version}</version>
  <extensions>true</extensions>
>                                         <dependencies>
                       <dependency>
           <groupId>org.apache.flex</groupId>
                       <artifactId>compiler</artifactId>
                                    <version>${flex.version}</version>
                                                 <type>pom</type>
                                     </dependency>

<dependency>
 <groupId>org.apache.flex.framework</groupId>
                     <artifactId>flex-framework</artifactId>
                                  <version>${flex.version}</version>
                                               <type>pom</type>
                                   </dependency>
> </plugin>.....
> Even in the project
>
>         <dependencies>          <dependency>
 <groupId>org.apache.flex.framework</groupId>
 <artifactId>flex-framework</artifactId>
<version>${flex.version}</version>                      <type>pom</type>
>
>
> So, maybe you can point why he is looking for version 3.5 the default
version.
>
>
>
> Thanks in advance for the help
> Miguel
>
> > From: miguel.cd.ferreira@hotmail.com
> > To: users@flex.apache.org
> > Subject: RE: AW: AW: AW: flex compilation diferent from maven
> > compilation
> > Date: Wed, 14 May 2014 15:12:07 +0100
> >
> > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away
to get that artifact that i can pass it to the Nexus team?
> > I can also update to the version 7 but in the nexus i could not find
> > it
> >
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: AW: flex compilation diferent from maven
> > > compilation
> > > Date: Tue, 13 May 2014 13:08:53 +0000
> > >
> > > Hi Miguel,
> > >
> > > yes I have an Artifactory in which I have all the artifacts. But No,
> > > I can't give you access to that. Aotherwise Adobe would probably
> > > start writing mad letters to me ;-)
> > >
> > > What version of Flexmojos are you using? 6.x or 7.x?
> > >
> > > Chris
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Dienstag, 13. Mai 2014 11:00
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: AW: flex compilation diferent from maven
> > > compilation
> > >
> > > Hi Chris,
> > > Even related to the topic,
> > > Do you have a Nexus Proxy were i can connect to have the correct
dependencies and the correct versions?
> > > Because in the pom file i have the dependency of  the flex compiler
version 4.6.0 but i only can find the dependency for the version 4.6.b.And
is a headache because i don't "control" the Nexus environment, but, a can
tell the Nexus team to open a Nexus proxy for this dependency and that will
solve my issue and also future dependencies problems where i can update
always the flexmojos without looking if the dependencies are correct or not.
> > >
> > > Thank you,
> > > Miguel
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 11:13:56 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > You can have a look at my confluence ... here I documented a lot of
stuff back in the days where I didn't have write Access to the Flexmojos
Wiki:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > > Especially this article should be a good starting point:
> > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > > oms But I currently do see that these pages could use an update to
> > > > the latest Flexmojos and Apache Flex versions.
> > > >
> > > > Just come back if you have any problems.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 12:04
> > > > An: users@flex.apache.org
> > > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > > >
> > > > Hi Chris,
> > > > I was waiting for your response!
> > > > I enter in this project and a lot of libraries and etc are 1000
> > > > years old because i did not know Maven i let it be quiet there but
in this moment i was already reading and trying to update this historical
version to a update one :) Thanks for the links i will give it a try.
> > > > Miguel
> > > >
> > > > > From: christofer.dutz@c-ware.de
> > > > > To: users@flex.apache.org
> > > > > Subject: AW: flex compilation diferent from maven compilation
> > > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > > >
> > > > > Hi Miguel,
> > > > >
> > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all
capable of compiling with Apache Flex versions. If you want to use Apache
Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have
to create the Mavenized version of the Flex SDK by using our cool Mavenizer
tool:
> > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > > +Mavenizer
> > > > >
> > > > > Flexmojos also has a new GroupId strarting from verion 5.x:
net.oss.flexmojos. I think having a look at this document is a good
starting point:
> > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > > +to+6.x
> > > > >
> > > > > The only main difference between Flexmojos 6 and 7 is that the
Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > > >
> > > > > Chris
> > > > >
> > > > > ________________________________________
> > > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > > An: users@flex.apache.org
> > > > > Betreff: flex compilation diferent from maven compilation
> > > > >
> > > > > Hi all,
> > > > >
> > > > > Last week i developed some menu items for the context menu in a
flex application.
> > > > > When i compile it with FB 4.7 every option is show without any
problem but when i compile with maven the context menu is always the
default one?
> > > > >
> > > > > I am using SDK 4.10.flash version 10.0.45
> > > > >
> > > > > <properties>
 <flex.version>4.10.0.20130801</flex.version>
 <flexmojos.version>3.6.1</flexmojos.version>
 <flash.version>10.0.45</flash.version>
 <playerglobal.version>11.8</playerglobal.version>
<flexlib.classifier>flex3</flexlib.classifier>
 <target.dir>target</target.dir> </properties>
> > > > > I am quite new with maven.
> > > > > I can see that is a old version of flex mojos. Is that the
solution? to update to the most recent.
> > > > > Or the compiler have to have some extra argument?
> > > > > Thank you in advance for some feedback.
> > > > > Miguel.
> >
>

AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
I Think I might whip up an official documentation on how to Mavenize Apache Flex SDKs and how to setup maven builds using Flexmojos 7.0.0
Would it be OK for me to add that to the Apache Flex Wiki?

Chris

-----Ursprüngliche Nachricht-----
Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com] 
Gesendet: Freitag, 16. Mai 2014 10:33
An: users@flex.apache.org
Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation

Hi Chris,
I went forward.
I am using flexmojos 7.0.0
I mavenize the project with true in the end of the command i add that to my repository.
but when i run in my first sub project i get this error [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.


But i add the dependecy 
<plugin>					<groupId>net.flexmojos.oss</groupId>					<artifactId>flexmojos-maven-plugin</artifactId>					<version>${flexmojos.version}</version>					<extensions>true</extensions>
					<dependencies>						<dependency>							<groupId>org.apache.flex</groupId>							<artifactId>compiler</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>												<dependency>							<groupId>org.apache.flex.framework</groupId>							<artifactId>flex-framework</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>
</plugin>.....
Even in the project

	<dependencies>		<dependency>			<groupId>org.apache.flex.framework</groupId>			<artifactId>flex-framework</artifactId>			<version>${flex.version}</version>			<type>pom</type>


So, maybe you can point why he is looking for version 3.5 the default version.



Thanks in advance for the help
Miguel

> From: miguel.cd.ferreira@hotmail.com
> To: users@flex.apache.org
> Subject: RE: AW: AW: AW: flex compilation diferent from maven 
> compilation
> Date: Wed, 14 May 2014 15:12:07 +0100
> 
> 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> I can also update to the version 7 but in the nexus i could not find 
> it
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: flex compilation diferent from maven 
> > compilation
> > Date: Tue, 13 May 2014 13:08:53 +0000
> > 
> > Hi Miguel,
> > 
> > yes I have an Artifactory in which I have all the artifacts. But No, 
> > I can't give you access to that. Aotherwise Adobe would probably 
> > start writing mad letters to me ;-)
> > 
> > What version of Flexmojos are you using? 6.x or 7.x?
> > 
> > Chris
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Dienstag, 13. Mai 2014 11:00
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: flex compilation diferent from maven 
> > compilation
> > 
> > Hi Chris,
> > Even related to the topic,
> > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > 
> > Thank you,
> > Miguel
> > 
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 11:13:56 +0000
> > >
> > > Hi Miguel,
> > >
> > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > Especially this article should be a good starting point:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p
> > > oms But I currently do see that these pages could use an update to 
> > > the latest Flexmojos and Apache Flex versions.
> > >
> > > Just come back if you have any problems.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 12:04
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > >
> > > Hi Chris,
> > > I was waiting for your response!
> > > I enter in this project and a lot of libraries and etc are 1000 
> > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > Miguel
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK
> > > > +Mavenizer
> > > >
> > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating
> > > > +to+6.x
> > > >
> > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > An: users@flex.apache.org
> > > > Betreff: flex compilation diferent from maven compilation
> > > >
> > > > Hi all,
> > > >
> > > > Last week i developed some menu items for the context menu in a flex application.
> > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > >
> > > > I am using SDK 4.10.flash version 10.0.45
> > > >
> > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > I am quite new with maven.
> > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > Or the compiler have to have some extra argument?
> > > > Thank you in advance for some feedback.
> > > > Miguel.
>  		 	   		  
 		 	   		  

RE: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Hi Chris,
I went forward.
I am using flexmojos 7.0.0
I mavenize the project with true in the end of the command i add that to my repository.
but when i run in my first sub project i get this error
[ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check.  Please refer to Flexmojos maven doc.


But i add the dependecy 
<plugin>					<groupId>net.flexmojos.oss</groupId>					<artifactId>flexmojos-maven-plugin</artifactId>					<version>${flexmojos.version}</version>					<extensions>true</extensions>
					<dependencies>						<dependency>							<groupId>org.apache.flex</groupId>							<artifactId>compiler</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>												<dependency>							<groupId>org.apache.flex.framework</groupId>							<artifactId>flex-framework</artifactId>							<version>${flex.version}</version>							<type>pom</type>						</dependency>
</plugin>.....
Even in the project

	<dependencies>		<dependency>			<groupId>org.apache.flex.framework</groupId>			<artifactId>flex-framework</artifactId>			<version>${flex.version}</version>			<type>pom</type>


So, maybe you can point why he is looking for version 3.5 the default version.



Thanks in advance for the help
Miguel

> From: miguel.cd.ferreira@hotmail.com
> To: users@flex.apache.org
> Subject: RE: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Wed, 14 May 2014 15:12:07 +0100
> 
> 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> I can also update to the version 7 but in the nexus i could not find it
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: flex compilation diferent from maven compilation
> > Date: Tue, 13 May 2014 13:08:53 +0000
> > 
> > Hi Miguel,
> > 
> > yes I have an Artifactory in which I have all the artifacts. But No, I can't give you access to that. Aotherwise Adobe would probably start writing mad letters to me ;-)
> > 
> > What version of Flexmojos are you using? 6.x or 7.x?
> > 
> > Chris
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Dienstag, 13. Mai 2014 11:00
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: flex compilation diferent from maven compilation
> > 
> > Hi Chris,
> > Even related to the topic,
> > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > 
> > Thank you,
> > Miguel
> > 
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 11:13:56 +0000
> > >
> > > Hi Miguel,
> > >
> > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > Especially this article should be a good starting point:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
> > > But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
> > >
> > > Just come back if you have any problems.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 12:04
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > >
> > > Hi Chris,
> > > I was waiting for your response!
> > > I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
> > > Thanks for the links i will give it a try.
> > > Miguel
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
> > > >
> > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
> > > >
> > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > An: users@flex.apache.org
> > > > Betreff: flex compilation diferent from maven compilation
> > > >
> > > > Hi all,
> > > >
> > > > Last week i developed some menu items for the context menu in a flex application.
> > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > >
> > > > I am using SDK 4.10.flash version 10.0.45
> > > >
> > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > I am quite new with maven.
> > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > Or the compiler have to have some extra argument?
> > > > Thank you in advance for some feedback.
> > > > Miguel.
>  		 	   		  
 		 	   		  

RE: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Chris,
How i can specify a flex version for flex mojos:
In our post you have this:-          The default FDK (The one used if you don't explicitly specify one) is now also changed to an Apache FDK (4.11.0) 
but i want to use version 4.10
How can i reach this goal
Thank you very  much
Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Wed, 14 May 2014 20:59:05 +0000
> 
> HI Miguel,
> 
> I think I remember that problem. I think I resolved that in Flexmojos 7 and eventually it's resolved in 6.1.0-SNAPSHOT.
> I'd suggest to give one of those a try. But if you are planning on Apache Flex, use 7.0.0 because that's optimized on Apache and I will not be porting back a lot of the things I'm doing on the 7.x branch.
> 
> Chris
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com] 
> Gesendet: Mittwoch, 14. Mai 2014 16:12
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
> 
> 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> I can also update to the version 7 but in the nexus i could not find it
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: flex compilation diferent from maven compilation
> > Date: Tue, 13 May 2014 13:08:53 +0000
> > 
> > Hi Miguel,
> > 
> > yes I have an Artifactory in which I have all the artifacts. But No, I 
> > can't give you access to that. Aotherwise Adobe would probably start 
> > writing mad letters to me ;-)
> > 
> > What version of Flexmojos are you using? 6.x or 7.x?
> > 
> > Chris
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Dienstag, 13. Mai 2014 11:00
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: flex compilation diferent from maven compilation
> > 
> > Hi Chris,
> > Even related to the topic,
> > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > 
> > Thank you,
> > Miguel
> > 
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 11:13:56 +0000
> > >
> > > Hi Miguel,
> > >
> > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > Especially this article should be a good starting point:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+pom
> > > s But I currently do see that these pages could use an update to the 
> > > latest Flexmojos and Apache Flex versions.
> > >
> > > Just come back if you have any problems.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 12:04
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > >
> > > Hi Chris,
> > > I was waiting for your response!
> > > I enter in this project and a lot of libraries and etc are 1000 
> > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > Miguel
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+M
> > > > avenizer
> > > >
> > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+t
> > > > o+6.x
> > > >
> > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > An: users@flex.apache.org
> > > > Betreff: flex compilation diferent from maven compilation
> > > >
> > > > Hi all,
> > > >
> > > > Last week i developed some menu items for the context menu in a flex application.
> > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > >
> > > > I am using SDK 4.10.flash version 10.0.45
> > > >
> > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > I am quite new with maven.
> > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > Or the compiler have to have some extra argument?
> > > > Thank you in advance for some feedback.
> > > > Miguel.
>  		 	   		  
 		 	   		  

RE: AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
thank you i will give a try i am already connected to the http://oss.sonatype.org/content/repositories/snapshots/
and i will try this forum guidelines :
http://apache-flex-users.2333346.n4.nabble.com/New-Flexmojos-7-0-0-SNAPSHOT-available-td3798.html
i come back if something good or bad happens
miguel
> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Wed, 14 May 2014 20:59:05 +0000
> 
> HI Miguel,
> 
> I think I remember that problem. I think I resolved that in Flexmojos 7 and eventually it's resolved in 6.1.0-SNAPSHOT.
> I'd suggest to give one of those a try. But if you are planning on Apache Flex, use 7.0.0 because that's optimized on Apache and I will not be porting back a lot of the things I'm doing on the 7.x branch.
> 
> Chris
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com] 
> Gesendet: Mittwoch, 14. Mai 2014 16:12
> An: users@flex.apache.org
> Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation
> 
> 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
> I can also update to the version 7 but in the nexus i could not find it
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: AW: flex compilation diferent from maven compilation
> > Date: Tue, 13 May 2014 13:08:53 +0000
> > 
> > Hi Miguel,
> > 
> > yes I have an Artifactory in which I have all the artifacts. But No, I 
> > can't give you access to that. Aotherwise Adobe would probably start 
> > writing mad letters to me ;-)
> > 
> > What version of Flexmojos are you using? 6.x or 7.x?
> > 
> > Chris
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Dienstag, 13. Mai 2014 11:00
> > An: users@flex.apache.org
> > Betreff: RE: AW: AW: flex compilation diferent from maven compilation
> > 
> > Hi Chris,
> > Even related to the topic,
> > Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> > Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> > 
> > Thank you,
> > Miguel
> > 
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 11:13:56 +0000
> > >
> > > Hi Miguel,
> > >
> > > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > > Especially this article should be a good starting point:
> > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+pom
> > > s But I currently do see that these pages could use an update to the 
> > > latest Flexmojos and Apache Flex versions.
> > >
> > > Just come back if you have any problems.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 12:04
> > > An: users@flex.apache.org
> > > Betreff: RE: AW: flex compilation diferent from maven compilation
> > >
> > > Hi Chris,
> > > I was waiting for your response!
> > > I enter in this project and a lot of libraries and etc are 1000 
> > > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > > Miguel
> > >
> > > > From: christofer.dutz@c-ware.de
> > > > To: users@flex.apache.org
> > > > Subject: AW: flex compilation diferent from maven compilation
> > > > Date: Mon, 5 May 2014 09:35:15 +0000
> > > >
> > > > Hi Miguel,
> > > >
> > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+M
> > > > avenizer
> > > >
> > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+t
> > > > o+6.x
> > > >
> > > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > > >
> > > > Chris
> > > >
> > > > ________________________________________
> > > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > > Gesendet: Montag, 5. Mai 2014 11:20
> > > > An: users@flex.apache.org
> > > > Betreff: flex compilation diferent from maven compilation
> > > >
> > > > Hi all,
> > > >
> > > > Last week i developed some menu items for the context menu in a flex application.
> > > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > > >
> > > > I am using SDK 4.10.flash version 10.0.45
> > > >
> > > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > > I am quite new with maven.
> > > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > > Or the compiler have to have some extra argument?
> > > > Thank you in advance for some feedback.
> > > > Miguel.
>  		 	   		  
 		 	   		  

AW: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
HI Miguel,

I think I remember that problem. I think I resolved that in Flexmojos 7 and eventually it's resolved in 6.1.0-SNAPSHOT.
I'd suggest to give one of those a try. But if you are planning on Apache Flex, use 7.0.0 because that's optimized on Apache and I will not be porting back a lot of the things I'm doing on the 7.x branch.

Chris


-----Ursprüngliche Nachricht-----
Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com] 
Gesendet: Mittwoch, 14. Mai 2014 16:12
An: users@flex.apache.org
Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation

6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
I can also update to the version 7 but in the nexus i could not find it

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 13 May 2014 13:08:53 +0000
> 
> Hi Miguel,
> 
> yes I have an Artifactory in which I have all the artifacts. But No, I 
> can't give you access to that. Aotherwise Adobe would probably start 
> writing mad letters to me ;-)
> 
> What version of Flexmojos are you using? 6.x or 7.x?
> 
> Chris
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Dienstag, 13. Mai 2014 11:00
> An: users@flex.apache.org
> Betreff: RE: AW: AW: flex compilation diferent from maven compilation
> 
> Hi Chris,
> Even related to the topic,
> Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> 
> Thank you,
> Miguel
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: flex compilation diferent from maven compilation
> > Date: Mon, 5 May 2014 11:13:56 +0000
> >
> > Hi Miguel,
> >
> > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > Especially this article should be a good starting point:
> > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+pom
> > s But I currently do see that these pages could use an update to the 
> > latest Flexmojos and Apache Flex versions.
> >
> > Just come back if you have any problems.
> >
> > Chris
> >
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Montag, 5. Mai 2014 12:04
> > An: users@flex.apache.org
> > Betreff: RE: AW: flex compilation diferent from maven compilation
> >
> > Hi Chris,
> > I was waiting for your response!
> > I enter in this project and a lot of libraries and etc are 1000 
> > years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :) Thanks for the links i will give it a try.
> > Miguel
> >
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 09:35:15 +0000
> > >
> > > Hi Miguel,
> > >
> > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+M
> > > avenizer
> > >
> > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+t
> > > o+6.x
> > >
> > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 11:20
> > > An: users@flex.apache.org
> > > Betreff: flex compilation diferent from maven compilation
> > >
> > > Hi all,
> > >
> > > Last week i developed some menu items for the context menu in a flex application.
> > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > >
> > > I am using SDK 4.10.flash version 10.0.45
> > >
> > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > I am quite new with maven.
> > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > Or the compiler have to have some extra argument?
> > > Thank you in advance for some feedback.
> > > Miguel.
 		 	   		  

RE: AW: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
6.0.1 and is points for the 4.6.0 that i can not find ? there is a away to get that artifact that i can pass it to the Nexus team?
I can also update to the version 7 but in the nexus i could not find it

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: AW: flex compilation diferent from maven compilation
> Date: Tue, 13 May 2014 13:08:53 +0000
> 
> Hi Miguel,
> 
> yes I have an Artifactory in which I have all the artifacts. But No, I can't give you access to that. Aotherwise Adobe would probably start writing mad letters to me ;-)
> 
> What version of Flexmojos are you using? 6.x or 7.x?
> 
> Chris
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Dienstag, 13. Mai 2014 11:00
> An: users@flex.apache.org
> Betreff: RE: AW: AW: flex compilation diferent from maven compilation
> 
> Hi Chris,
> Even related to the topic,
> Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
> Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.
> 
> Thank you,
> Miguel
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: AW: flex compilation diferent from maven compilation
> > Date: Mon, 5 May 2014 11:13:56 +0000
> >
> > Hi Miguel,
> >
> > You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> > Especially this article should be a good starting point:
> > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
> > But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
> >
> > Just come back if you have any problems.
> >
> > Chris
> >
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Montag, 5. Mai 2014 12:04
> > An: users@flex.apache.org
> > Betreff: RE: AW: flex compilation diferent from maven compilation
> >
> > Hi Chris,
> > I was waiting for your response!
> > I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
> > Thanks for the links i will give it a try.
> > Miguel
> >
> > > From: christofer.dutz@c-ware.de
> > > To: users@flex.apache.org
> > > Subject: AW: flex compilation diferent from maven compilation
> > > Date: Mon, 5 May 2014 09:35:15 +0000
> > >
> > > Hi Miguel,
> > >
> > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
> > >
> > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
> > >
> > > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> > >
> > > Chris
> > >
> > > ________________________________________
> > > Von: Miguel Ferreira <mi...@hotmail.com>
> > > Gesendet: Montag, 5. Mai 2014 11:20
> > > An: users@flex.apache.org
> > > Betreff: flex compilation diferent from maven compilation
> > >
> > > Hi all,
> > >
> > > Last week i developed some menu items for the context menu in a flex application.
> > > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> > >
> > > I am using SDK 4.10.flash version 10.0.45
> > >
> > > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > > I am quite new with maven.
> > > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > > Or the compiler have to have some extra argument?
> > > Thank you in advance for some feedback.
> > > Miguel.
 		 	   		  

AW: AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Miguel,

yes I have an Artifactory in which I have all the artifacts. But No, I can't give you access to that. Aotherwise Adobe would probably start writing mad letters to me ;-)

What version of Flexmojos are you using? 6.x or 7.x?

Chris
________________________________________
Von: Miguel Ferreira <mi...@hotmail.com>
Gesendet: Dienstag, 13. Mai 2014 11:00
An: users@flex.apache.org
Betreff: RE: AW: AW: flex compilation diferent from maven compilation

Hi Chris,
Even related to the topic,
Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.

Thank you,
Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: flex compilation diferent from maven compilation
> Date: Mon, 5 May 2014 11:13:56 +0000
>
> Hi Miguel,
>
> You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> Especially this article should be a good starting point:
> https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
> But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
>
> Just come back if you have any problems.
>
> Chris
>
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Montag, 5. Mai 2014 12:04
> An: users@flex.apache.org
> Betreff: RE: AW: flex compilation diferent from maven compilation
>
> Hi Chris,
> I was waiting for your response!
> I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
> Thanks for the links i will give it a try.
> Miguel
>
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: flex compilation diferent from maven compilation
> > Date: Mon, 5 May 2014 09:35:15 +0000
> >
> > Hi Miguel,
> >
> > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
> >
> > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
> >
> > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> >
> > Chris
> >
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Montag, 5. Mai 2014 11:20
> > An: users@flex.apache.org
> > Betreff: flex compilation diferent from maven compilation
> >
> > Hi all,
> >
> > Last week i developed some menu items for the context menu in a flex application.
> > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> >
> > I am using SDK 4.10.flash version 10.0.45
> >
> > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > I am quite new with maven.
> > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > Or the compiler have to have some extra argument?
> > Thank you in advance for some feedback.
> > Miguel.

RE: AW: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Hi Chris,
Even related to the topic,
Do you have a Nexus Proxy were i can connect to have the correct dependencies and the correct versions?
Because in the pom file i have the dependency of  the flex compiler version 4.6.0 but i only can find the dependency for the version 4.6.b.And is a headache because i don't "control" the Nexus environment, but, a can tell the Nexus team to open a Nexus proxy for this dependency and that will solve my issue and also future dependencies problems where i can update always the flexmojos without looking if the dependencies are correct or not.

Thank you,
Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: AW: flex compilation diferent from maven compilation
> Date: Mon, 5 May 2014 11:13:56 +0000
> 
> Hi Miguel,
> 
> You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
> https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
> Especially this article should be a good starting point:
> https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
> But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.
> 
> Just come back if you have any problems.
> 
> Chris
> 
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Montag, 5. Mai 2014 12:04
> An: users@flex.apache.org
> Betreff: RE: AW: flex compilation diferent from maven compilation
> 
> Hi Chris,
> I was waiting for your response!
> I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
> Thanks for the links i will give it a try.
> Miguel
> 
> > From: christofer.dutz@c-ware.de
> > To: users@flex.apache.org
> > Subject: AW: flex compilation diferent from maven compilation
> > Date: Mon, 5 May 2014 09:35:15 +0000
> >
> > Hi Miguel,
> >
> > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
> >
> > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
> >
> > The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> >
> > Chris
> >
> > ________________________________________
> > Von: Miguel Ferreira <mi...@hotmail.com>
> > Gesendet: Montag, 5. Mai 2014 11:20
> > An: users@flex.apache.org
> > Betreff: flex compilation diferent from maven compilation
> >
> > Hi all,
> >
> > Last week i developed some menu items for the context menu in a flex application.
> > When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> >
> > I am using SDK 4.10.flash version 10.0.45
> >
> > <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> > I am quite new with maven.
> > I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> > Or the compiler have to have some extra argument?
> > Thank you in advance for some feedback.
> > Miguel.
 		 	   		  

AW: AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Miguel,

You can have a look at my confluence ... here I documented a lot of stuff back in the days where I didn't have write Access to the Flexmojos Wiki:
https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section
Especially this article should be a good starting point:
https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms
But I currently do see that these pages could use an update to the latest Flexmojos and Apache Flex versions.

Just come back if you have any problems.

Chris

________________________________________
Von: Miguel Ferreira <mi...@hotmail.com>
Gesendet: Montag, 5. Mai 2014 12:04
An: users@flex.apache.org
Betreff: RE: AW: flex compilation diferent from maven compilation

Hi Chris,
I was waiting for your response!
I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
Thanks for the links i will give it a try.
Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: flex compilation diferent from maven compilation
> Date: Mon, 5 May 2014 09:35:15 +0000
>
> Hi Miguel,
>
> well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool:
> https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
>
> Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
>
> The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
>
> Chris
>
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Montag, 5. Mai 2014 11:20
> An: users@flex.apache.org
> Betreff: flex compilation diferent from maven compilation
>
> Hi all,
>
> Last week i developed some menu items for the context menu in a flex application.
> When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
>
> I am using SDK 4.10.flash version 10.0.45
>
> <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> I am quite new with maven.
> I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> Or the compiler have to have some extra argument?
> Thank you in advance for some feedback.
> Miguel.

RE: AW: flex compilation diferent from maven compilation

Posted by Miguel Ferreira <mi...@hotmail.com>.
Hi Chris,
I was waiting for your response!
I enter in this project and a lot of libraries and etc are 1000 years old because i did not know Maven i let it be quiet there but in this moment i was already reading and trying to update this historical version to a update one :)
Thanks for the links i will give it a try.
Miguel

> From: christofer.dutz@c-ware.de
> To: users@flex.apache.org
> Subject: AW: flex compilation diferent from maven compilation
> Date: Mon, 5 May 2014 09:35:15 +0000
> 
> Hi Miguel,
> 
> well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool: 
> https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer
> 
> Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
> https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
> 
> The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.
> 
> Chris
> 
> ________________________________________
> Von: Miguel Ferreira <mi...@hotmail.com>
> Gesendet: Montag, 5. Mai 2014 11:20
> An: users@flex.apache.org
> Betreff: flex compilation diferent from maven compilation
> 
> Hi all,
> 
> Last week i developed some menu items for the context menu in a flex application.
> When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?
> 
> I am using SDK 4.10.flash version 10.0.45
> 
> <properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
> I am quite new with maven.
> I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
> Or the compiler have to have some extra argument?
> Thank you in advance for some feedback.
> Miguel.
 		 	   		  

AW: flex compilation diferent from maven compilation

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Miguel,

well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all capable of compiling with Apache Flex versions. If you want to use Apache Flex releases you have to upgrade to Flexmojos 7.0.0 and currently you have to create the Mavenized version of the Flex SDK by using our cool Mavenizer tool: 
https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer

Flexmojos also has a new GroupId strarting from verion 5.x: net.oss.flexmojos. I think having a look at this document is a good starting point:
https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x

The only main difference between Flexmojos 6 and 7 is that the Flex SDK now has the group Id org.apache.flex instead of com.adobe.flex.

Chris

________________________________________
Von: Miguel Ferreira <mi...@hotmail.com>
Gesendet: Montag, 5. Mai 2014 11:20
An: users@flex.apache.org
Betreff: flex compilation diferent from maven compilation

Hi all,

Last week i developed some menu items for the context menu in a flex application.
When i compile it with FB 4.7 every option is show without any problem but when i compile with maven the context menu is always the default one?

I am using SDK 4.10.flash version 10.0.45

<properties>            <flex.version>4.10.0.20130801</flex.version>            <flexmojos.version>3.6.1</flexmojos.version>            <flash.version>10.0.45</flash.version>          <playerglobal.version>11.8</playerglobal.version>               <flexlib.classifier>flex3</flexlib.classifier>          <target.dir>target</target.dir> </properties>
I am quite new with maven.
I can see that is a old version of flex mojos. Is that the solution? to update to the most recent.
Or the compiler have to have some extra argument?
Thank you in advance for some feedback.
Miguel.