You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by "wim.deblauwe" <wi...@gmail.com> on 2013/12/23 10:35:25 UTC

Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

I am trying to migrate from flexmojos 4 to 6 so I can start using the Apache
Flex SDKs. I am using Flexmojos 6.0.1 and get this output:

[ERROR] Failed to execute goal on project client-domain: Could not resolve
dependencies for project
com.traficon.tmsng:client-domain:swc:E2.03.01-SNAPSHOT: Failure to find
com.adobe.flex.framework:halo:swc:theme:4.10.0.20130801 in
http://nexusserver:8081/nexus/content/groups/public was cached in the local
repository, resolution will not be reattempted until the update interval of
nexus-traficon has elapsed or updates are forced -> [Help 1]

If I check in the target directory that the mavenizer created, there is
indeed no directory 'halo' in com/adobe/flex/framework/ 

Did I do something wrong with the Mavenizer maybe? Or is there something
else I need to do?

regards,

Wim




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Posted by "wim.deblauwe" <wi...@gmail.com>.
Yes, the air app is working now.

regards,

Wim


2013/12/23 Christofer Dutz [via Apache Flex Users] <
ml-node+s2333346n4272h5@n4.nabble.com>

> So did you get your air application working with AIR? Didn't quite get
> that ;-)
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: wim.deblauwe [mailto:[hidden email]<http://user/SendEmail.jtp?type=node&node=4272&i=0>]
>
> Gesendet: Montag, 23. Dezember 2013 15:10
> An: [hidden email] <http://user/SendEmail.jtp?type=node&node=4272&i=1>
> Betreff: Re: AW: Problem migrating to Flexmojos 6: Failure to find
> com.adobe.flex.framework:halo:swc
>
> Sorry about that last message, it is in the docs here:
> https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x
>
> To be explicit, this is what I had with Flexmojos 4:
>
> <dependency>
>                         <groupId>com.adobe.flex.framework</groupId>
>                         <artifactId>air-framework</artifactId>
>                         <version>${flex-framework.version}</version>
>                         <type>pom</type>
>                 </dependency>
>
> This is what I have now:
>
> <dependency>
>             <groupId>com.adobe.air.framework</groupId>
>             <artifactId>common-framework</artifactId>
>             <version>${air.version}</version>
>             <type>pom</type>
>         </dependency>
>         <dependency>
>             <groupId>com.adobe.flex.framework.air</groupId>
>             <artifactId>air-framework</artifactId>
>             <version>${flex.version}</version>
>             <type>pom</type>
>         </dependency>
>
>
> On a sidenote, I also depend on the adt jar (We are calling ADT directly
> via the exec-maven-plugin). This used to be this:
>
> <dependency>
>                         <groupId>com.adobe.flex</groupId>
>                         <artifactId>adt</artifactId>
>                         <version>${flex-framework.version}</version>
>                         <type>jar</type>
>                         <scope>compile</scope>
>                 </dependency>
>
> I had to change it to:
>
> <dependency>
>                         <groupId>com.adobe.air.compiler</groupId>
>                         <artifactId>adt</artifactId>
>                         <version>${air.version}</version>
>                         <type>jar</type>
>                         <scope>compile</scope>
>                 </dependency>
>
> regards,
>
> Wim
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4267.html
>
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4272.html
>  To unsubscribe from Problem migrating to Flexmojos 6: Failure to find
> com.adobe.flex.framework:halo:swc, click here<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4254&code=d2ltLmRlYmxhdXdlQGdtYWlsLmNvbXw0MjU0fDExMzA2NTE5NDc=>
> .
> NAML<http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4280.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: AW: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Posted by Christofer Dutz <ch...@c-ware.de>.
So did you get your air application working with AIR? Didn't quite get that ;-)

Chris

-----Ursprüngliche Nachricht-----
Von: wim.deblauwe [mailto:wim.deblauwe@gmail.com] 
Gesendet: Montag, 23. Dezember 2013 15:10
An: users@flex.apache.org
Betreff: Re: AW: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Sorry about that last message, it is in the docs here:
https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x

To be explicit, this is what I had with Flexmojos 4:

<dependency>
			<groupId>com.adobe.flex.framework</groupId>
			<artifactId>air-framework</artifactId>
			<version>${flex-framework.version}</version>
			<type>pom</type>
		</dependency>

This is what I have now:

<dependency>
            <groupId>com.adobe.air.framework</groupId>
            <artifactId>common-framework</artifactId>
            <version>${air.version}</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>com.adobe.flex.framework.air</groupId>
            <artifactId>air-framework</artifactId>
            <version>${flex.version}</version>
            <type>pom</type>
        </dependency>


On a sidenote, I also depend on the adt jar (We are calling ADT directly via the exec-maven-plugin). This used to be this:

<dependency>
			<groupId>com.adobe.flex</groupId>
			<artifactId>adt</artifactId>
			<version>${flex-framework.version}</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>

I had to change it to:

<dependency>
			<groupId>com.adobe.air.compiler</groupId>
			<artifactId>adt</artifactId>
			<version>${air.version}</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>

regards,

Wim



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4267.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Posted by "wim.deblauwe" <wi...@gmail.com>.
Sorry about that last message, it is in the docs here:
https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating+to+6.x

To be explicit, this is what I had with Flexmojos 4:

<dependency>
			<groupId>com.adobe.flex.framework</groupId>
			<artifactId>air-framework</artifactId>
			<version>${flex-framework.version}</version>
			<type>pom</type>
		</dependency>

This is what I have now:

<dependency>
            <groupId>com.adobe.air.framework</groupId>
            <artifactId>common-framework</artifactId>
            <version>${air.version}</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>com.adobe.flex.framework.air</groupId>
            <artifactId>air-framework</artifactId>
            <version>${flex.version}</version>
            <type>pom</type>
        </dependency>


On a sidenote, I also depend on the adt jar (We are calling ADT directly via
the exec-maven-plugin). This used to be this:

<dependency>
			<groupId>com.adobe.flex</groupId>
			<artifactId>adt</artifactId>
			<version>${flex-framework.version}</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>

I had to change it to:

<dependency>
			<groupId>com.adobe.air.compiler</groupId>
			<artifactId>adt</artifactId>
			<version>${air.version}</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>

regards,

Wim



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4267.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Posted by "wim.deblauwe" <wi...@gmail.com>.
I re-downloaded the AIR SDK from
http://helpx.adobe.com/air/kb/archived-air-sdk-version.html (I picked the
version called Adobe AIR 3.9.0.1380 SDK Mac ) and the mavenizer now did no
longer give the error. However, what is the correct groupId and artifactId
for adt and air-framework ? I could not find this in the docs.

regards,

Wim



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4266.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: AW: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Posted by "wim.deblauwe" <wi...@gmail.com>.
I got my first maven module running. I did have to rename "Flash Player" to
"flashplayer" otherwise the unit tests did not run. I don't know if anything
changed in that regard?

I do need AIR, but I am not yet at my AIR module. Can you elaborate what I
did wrong to get the error message about AIR in the mavenizer ?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4260.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Posted by Christofer Dutz <ch...@c-ware.de>.
Ok ... should have read your third post before replying to the first two :-)
So did you get your build working?

If you want, you could also give the Flexmojos 7.0.0-SNAPSHOT a spin. I updated Flexmojos to work with (only) the groupId "org.apache.flex" instead of "com.adobe.flex" and added some minor updates not longer bugging users about the missing license jar change FM that it outputs some unimportant log messages as "INFO" instead of "WARNING".

Chris

-----Ursprüngliche Nachricht-----
Von: wim.deblauwe [mailto:wim.deblauwe@gmail.com] 
Gesendet: Montag, 23. Dezember 2013 11:41
An: users@flex.apache.org
Betreff: Re: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Found the problem. I was using this dependency:

<dependency>
  <groupId>com.adobe.flex.framework</groupId>
  <artifactId>halo</artifactId>
  <type>swc</type>
  <classifier>theme</classifier>
  <scope>theme</scope>
  <version>${flex-framework.version}</version>
</dependency>

I had to change it to:

<dependency>
  <groupId>com.adobe.flex.framework.themes</groupId>
  <artifactId>halo</artifactId>
  <type>swc</type>
  <scope>theme</scope>
  <version>${flex-framework.version}</version>
</dependency>

Notice how the groupId now has 'themes' at the end and that the classifier is no longer needed.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4256.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Posted by "wim.deblauwe" <wi...@gmail.com>.
Found the problem. I was using this dependency:

<dependency>
  <groupId>com.adobe.flex.framework</groupId>
  <artifactId>halo</artifactId>
  <type>swc</type>
  <classifier>theme</classifier>
  <scope>theme</scope>
  <version>${flex-framework.version}</version>
</dependency>

I had to change it to:

<dependency>
  <groupId>com.adobe.flex.framework.themes</groupId>
  <artifactId>halo</artifactId>
  <type>swc</type>
  <scope>theme</scope>
  <version>${flex-framework.version}</version>
</dependency>

Notice how the groupId now has 'themes' at the end and that the classifier
is no longer needed.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4256.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

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

well actually this is an issue, but it should only have an effect on you if you are using AIR. The problem is that you probably downloaded the FlexSDK without the AIR stuff. Then the Mavenizer can't find the airglobal and the matching AIR sdk so it doesn't quite know which AIR version to link to when generating the AIR artifacts. But as I said ... as long as you don't use AIR there shouldn't be any problems.

When creating the mavenizer I cleaned up a lot of stuff that wasn't handled nicely in Flexmojos till then. Depending on the version of the SDK some themes were provided as a simple css file, some as a swc some as a bundle of resources. So what I did was to automatically compile any theme that is not available in a compiled form to a compiled form. This way all themes are available as SWC and SWFs. The Group ID has also changed slightly as I renamed the groupIds of themes from com.adobe.flex.framework to com.adobe.flex.framework.themes. So you should also change this (Think I'll add that to the migration docs on the Flexmojos Confluence).

Chris



-----Ursprüngliche Nachricht-----
Von: wim.deblauwe [mailto:wim.deblauwe@gmail.com] 
Gesendet: Montag, 23. Dezember 2013 10:43
An: users@flex.apache.org
Betreff: Re: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

This the output of the Mavenizer:

wdb-laptop:mavenizer wdb$ java -cp target/flex-sdk-converter-1.0.jar SDKGenerator "/Applications/Libraries/sdk-4.10-home"
"/Applications/Libraries/sdk-4.10-target" false
---------------------------------------------
-- Generating Air SDK version: 3.9
---------------------------------------------
---------------------------------------------
---------------------------------------------
-- Generating Air SDK version: 3.8
---------------------------------------------
---------------------------------------------
---------------------------------------------
-- Generating Flex SDK version: 4.10.0.20130801
---------------------------------------------
Geneating theme 'AeonGraphical'
Loading configuration file
/Applications/Libraries/sdk-4.10-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.10-target/com/adobe/flex/framework/themes/aeongraphical/4.10.0.20130801/aeongraphical-4.10.0.20130801.swc
(41740 bytes)
Done.
Geneating theme 'Spark'
Loading configuration file
/Applications/Libraries/sdk-4.10-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.10-target/com/adobe/flex/framework/themes/spark/4.10.0.20130801/spark-4.10.0.20130801.swc
(2466 bytes)
Done.
Geneating theme 'MXFTEText.css'
Loading configuration file
/Applications/Libraries/sdk-4.10-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.10-target/com/adobe/flex/framework/themes/mxfte/4.10.0.20130801/mxfte-4.10.0.20130801.swc
(3461 bytes)
Done.
---------------------------------------------

I also ran it with Apache Flex 4.11 SDK:

wdb-laptop:mavenizer wdb$ java -cp target/flex-sdk-converter-1.0.jar SDKGenerator "/Applications/Libraries/sdk-4.11-home"
"/Applications/Libraries/sdk-4.11-target" false
---------------------------------------------
-- Generating Air SDK version: 3.9
---------------------------------------------
---------------------------------------------
---------------------------------------------
---------------------------------------------
-- Generating Flex SDK version: 4.11.0.20131017
---------------------------------------------
Couldn't find matching airglobal for FDK 4.11.0.20131017 Geneating theme 'AeonGraphical'
Loading configuration file
/Applications/Libraries/sdk-4.11-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.11-target/com/adobe/flex/framework/themes/aeongraphical/4.11.0.20131017/aeongraphical-4.11.0.20131017.swc
(41748 bytes)
Done.
Geneating theme 'Spark'
Loading configuration file
/Applications/Libraries/sdk-4.11-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.11-target/com/adobe/flex/framework/themes/spark/4.11.0.20131017/spark-4.11.0.20131017.swc
(2466 bytes)
Done.
Geneating theme 'MXFTEText.css'
Loading configuration file
/Applications/Libraries/sdk-4.11-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.11-target/com/adobe/flex/framework/themes/mxfte/4.11.0.20131017/mxfte-4.11.0.20131017.swc
(3461 bytes)
Done.
---------------------------------------------


Is it an issue that it states: "Couldn't find matching airglobal for FDK 4.11.0.20131017"  for the 4.11 SDK ?

Is it supposed to say "Generating theme 'Halo' " ?




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4255.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Problem migrating to Flexmojos 6: Failure to find com.adobe.flex.framework:halo:swc

Posted by "wim.deblauwe" <wi...@gmail.com>.
This the output of the Mavenizer:

wdb-laptop:mavenizer wdb$ java -cp target/flex-sdk-converter-1.0.jar
SDKGenerator "/Applications/Libraries/sdk-4.10-home"
"/Applications/Libraries/sdk-4.10-target" false
---------------------------------------------
-- Generating Air SDK version: 3.9
---------------------------------------------
---------------------------------------------
---------------------------------------------
-- Generating Air SDK version: 3.8
---------------------------------------------
---------------------------------------------
---------------------------------------------
-- Generating Flex SDK version: 4.10.0.20130801
---------------------------------------------
Geneating theme 'AeonGraphical'
Loading configuration file
/Applications/Libraries/sdk-4.10-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.10-target/com/adobe/flex/framework/themes/aeongraphical/4.10.0.20130801/aeongraphical-4.10.0.20130801.swc
(41740 bytes)
Done.
Geneating theme 'Spark'
Loading configuration file
/Applications/Libraries/sdk-4.10-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.10-target/com/adobe/flex/framework/themes/spark/4.10.0.20130801/spark-4.10.0.20130801.swc
(2466 bytes)
Done.
Geneating theme 'MXFTEText.css'
Loading configuration file
/Applications/Libraries/sdk-4.10-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.10-target/com/adobe/flex/framework/themes/mxfte/4.10.0.20130801/mxfte-4.10.0.20130801.swc
(3461 bytes)
Done.
---------------------------------------------

I also ran it with Apache Flex 4.11 SDK:

wdb-laptop:mavenizer wdb$ java -cp target/flex-sdk-converter-1.0.jar
SDKGenerator "/Applications/Libraries/sdk-4.11-home"
"/Applications/Libraries/sdk-4.11-target" false
---------------------------------------------
-- Generating Air SDK version: 3.9
---------------------------------------------
---------------------------------------------
---------------------------------------------
---------------------------------------------
-- Generating Flex SDK version: 4.11.0.20131017
---------------------------------------------
Couldn't find matching airglobal for FDK 4.11.0.20131017
Geneating theme 'AeonGraphical'
Loading configuration file
/Applications/Libraries/sdk-4.11-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.11-target/com/adobe/flex/framework/themes/aeongraphical/4.11.0.20131017/aeongraphical-4.11.0.20131017.swc
(41748 bytes)
Done.
Geneating theme 'Spark'
Loading configuration file
/Applications/Libraries/sdk-4.11-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.11-target/com/adobe/flex/framework/themes/spark/4.11.0.20131017/spark-4.11.0.20131017.swc
(2466 bytes)
Done.
Geneating theme 'MXFTEText.css'
Loading configuration file
/Applications/Libraries/sdk-4.11-home/flex/flex_sdk_4.11/frameworks/flex-config.xml
/Applications/Libraries/sdk-4.11-target/com/adobe/flex/framework/themes/mxfte/4.11.0.20131017/mxfte-4.11.0.20131017.swc
(3461 bytes)
Done.
---------------------------------------------


Is it an issue that it states: "Couldn't find matching airglobal for FDK
4.11.0.20131017"  for the 4.11 SDK ?

Is it supposed to say "Generating theme 'Halo' " ?




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Problem-migrating-to-Flexmojos-6-Failure-to-find-com-adobe-flex-framework-halo-swc-tp4254p4255.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.