Oh, I see !
I did test this approach but I didn't specified the crossdomain url twice, hence the maven build task was throwing out exceptions and I gave up.
Many thanks for that tip Remi ?

(Btw, "Remi", that's a french firstname, non ?)

Le 28/10/2010 14:54, Remi P a écrit :
Ok thanks. Please find below the solution I finally retained:
no private installation of any artefacts required: just specify the
sdk version for the textLayout (this one choosed by Velo) :
  <groupId>com.adobe.flex.framework</groupId>
<artifactId>textLayout</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
in order to build successfully your app.

Then my workaround for the runtime swz loading error consists in
adding an entry in the rslUrls tag:
  <policyFileUrls>
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
<url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</url>
  </policyFileUrls>
<rslUrls>
<url>http://fpdownload.adobe.com/pub/{extension}/flex/${flex.sdk.version}/{artifactId}_{version}.{extension}</url>
<url>http://fpdownload.adobe.com/pub/{extension}/tlf/${flex.sdk.textLayout.version}/{artifactId}_${flex.sdk.textLayout.version}.{extension}</url>
</rslUrls>
As you can see I just added the specific tlf url using a custom
version property. this works fine even if we really need to specify a
RSL url/policy for each dependency. Please have a look in the attached
proposal if you're interested.

Thanks for your help!

remi




On 10/28/10, Simon Morvan<gar...@zone84.net>  wrote:
I reference a local subdir of my app in wich I put the swz.
But as I was telling, I don't know if it's properly caching those swz as
if they come from adobe and if the user already have them from adobe, if
they are re-downloaded from my server or not.

Le 28/10/2010 12:10, Remi P a écrit :
Many thanks Simon for your explanation and for your solution.

So I guess you have combined "caching scope" with a relative path
specified in the<rslUrls>?
Or do you still reference the fpdownload.adobe.com url in your
<rslUrls>   tag AND you include swzs in your webapp?

remi



On 10/28/10, Simon Morvan<gar...@zone84.net>   wrote:
For some reason, Adobe releases FDK of a certain version number that
include textLayout (and osmf IIRC) with different version number.
Velo maintain the sonatype maven repository, hosting the Opensource FDK
but he give osmf and textlayout the same version number than de FDK
itself. So if you use it with the signed rsl mechanisem, you'll end up
in two case (neither works)
* You setup a cached dependency on textlayout and osmf using the FDK
version number. It'll find the swf/swc for compilation but at runtime,
it'll try to download from fbdownload.adobe.com with an incorrect
version number, thus your app won't start.
* You setup a cached dependency on textlayout and osmf with their
respective correct version number, in order to make the download work at
runtime. But in this case, you won't have the swf/swc on sonatype
repository so your build won't succeed.

My solution : I reference all artifacts using the FDK version number but
I host the swz myself so I just have to rename textLayout(.swz) and
osmf(.swz). I've not checked if it will really used cached swz
(previously downloaded from adobe) instead of those I host.

But I agree with velo : Adobe should host a mavenized version of their
FDK. Indeed, the seems to have a good opinion on flexmojos....

Maybe It's time to start some lobbying...

Le 28/10/2010 07:28, Remi P a écrit :
I don't understand why my webapp module is complaining about missing
swz artefacts whereas I configured the<rslUrls>   tag to enable
framework libs downloading at runtime from
http://fpdownload.adobe.com/pub/...

remi



On Wed, Oct 27, 2010 at 4:53 PM, Marvin Froeder<velo.br
<http://velo.br>@gmail.com<http://gmail.com>>   wrote:

      That is no faq, that is a jira ticket....

      The only fix I have for this textLayout issue is ask to adobe to
      publish flex SDK on a maven consumable format.

      VELO


      On Wed, Oct 27, 2010 at 12:46 PM, Remi P<rpatr...@gmail.com
      <mailto:rpatr...@gmail.com>>   wrote:

          sorry I probably did not understand your first advice. I don't
          want to
          use an inexisting dependency but this dependency was specified
          in the
          FAQ so I've used it.
          So what I have to do to get it working?

          remi


          On 10/27/10, Marvin Froeder<velo.br
          <http://velo.br>@gmail.com<http://gmail.com>>   wrote:
          >   You are using an artifact that doesn't exists, then you
          decided to install
          >   it manually, so you need to install the SWC, SWF and SWZ....
          >
          >   On Wed, Oct 27, 2010 at 12:23 PM, Remi P<rpatr...@gmail.com
          <mailto:rpatr...@gmail.com>>   wrote:
          >
          >>   Sorry but does that mean we have to install all required
          signed adobe
          >>   SWZs in our private repository manager? Is this the right
way?
          >>
          >>   remi
          >>
          >>   On 10/27/10, Marvin Froeder<velo.br
          <http://velo.br>@gmail.com<http://gmail.com>>   wrote:
          >>   >   Yes, that dependency doesn't exists.
          >>   >
          >>   >   On Wed, Oct 27, 2010 at 12:17 PM, Remi P
          <rpatr...@gmail.com<mailto:rpatr...@gmail.com>>   wrote:
          >>   >
          >>   >>   Thanks for your answer Velo,
          >>   >>
          >>   >>   Ok I've installed the missing textLayout artefact with
          the correct
          >>   >>   version number in my local repository manager, but it
          seems that the
          >>   >>   copy-flex-resources goal configured in my webapp failed
          to retrieve
          >>   >>   swzs :
          >>   >>
          >>   >>   [INFO] Unable to download the artifact from any
repository
          >>   >>
          >>   >>   Try downloading the file manually from the project
website.
          >>   >>   ...
          >>   >>    com.adobe.flex.framework:framework:swz:4.1.0.16076
          >>   >>
          >>   >>   Any idea?
          >>   >>
          >>   >>   remi
          >>   >>
          >>   >>
          >>   >>
          >>   >>   On 10/27/10, Marvin Froeder<velo.br
          <http://velo.br>@gmail.com<http://gmail.com>>   wrote:
          >>   >>   >   This dependency doesn't exists.
          >>   >>   >
          >>   >>   >   On Wed, Oct 27, 2010 at 12:05 PM, Remi P
          <rpatr...@gmail.com<mailto:rpatr...@gmail.com>>   wrote:
          >>   >>   >
          >>   >>   >>   Hi all,
          >>   >>   >>
          >>   >>   >>   I have an error when I try to build my app using
          flexmojos 3.8, flex
          >>   >>   >>   sdk 4.1.0.16076.
          >>   >>   >>   I want to use adobe signed rsls. I've read the
          following post
          >>   >>   >>   explaining how to use framework swcs as rsls :
          >>   >>   >>   https://issues.sonatype.org/browse/FLEXMOJOS-347
          >>   >>   >>
          >>   >>   >>   Here is the error:
          >>   >>   >>   [INFO] Failed to resolve artifact.
          >>   >>   >>   Missing:
          >>   >>   >>   ----------
          >>   >>   >>   1)
com.adobe.flex.framework:textLayout:swc:1.1.0.604
          >>   >>   >>
          >>   >>   >>
          >>   >>   >>   If I set the specific textLayout version to match
the
          sdk version,
          >>   >>   >>   of
          >>   >>   >>   course it will find the textLayout  artefact but in
          this case the
          >>   >>   >>   following error is thrown:
          >>   >>   >>   [INFO] Unable to download the artifact from any
          repository
          >>   >>   >>   ...
          >>   >>   >>   com.adobe.flex.framework:textLayout:swz:4.1.0.16076
          >>   >>   >>
          >>   >>   >>   Please find attached my pom, any help is welcome!
          >>   >>   >>
          >>   >>   >>   Best regards
          >>   >>   >>
          >>   >>   >>   remi
          >>   >>   >>
          >>   >>   >>   --
          >>   >>   >>   You received this message because you are
subscribed
          to the Google
          >>   >>   >>   Groups "Flex Mojos" group.
          >>   >>   >>   To post to this group, send email to
          flex-mojos@googlegroups.com<mailto:flex-mojos@googlegroups.com>
          >>   >>   >>   To unsubscribe from this group, send email to
          >>   >>   >>   flex-mojos+unsubscr...@googlegroups.com

<mailto:flex-mojos%2bunsubscr...@googlegroups.com><flex-mojos%2bunsubscr...@googlegroups.com
          <mailto:flex-mojos%252bunsubscr...@googlegroups.com>>
          >>   <flex-mojos%2bunsubscr...@googlegroups.com

<mailto:flex-mojos%252bunsubscr...@googlegroups.com><flex-mojos%252bunsubscr...@googlegroups.com
          <mailto:flex-mojos%25252bunsubscr...@googlegroups.com>>
          >>   >
          >>   >>   <flex-mojos%2bunsubscr...@googlegroups.com

<mailto:flex-mojos%252bunsubscr...@googlegroups.com><flex-mojos%252bunsubscr...@googlegroups.com
          <mailto:flex-mojos%25252bunsubscr...@googlegroups.com>>
          >>   <flex-mojos%252bunsubscr...@googlegroups.com

<mailto:flex-mojos%25252bunsubscr...@googlegroups.com><flex-mojos%25252bunsubscr...@googlegroups.com
          <mailto:flex-mojos%2525252bunsubscr...@googlegroups.com>>
          >>   >
          >>   >>   >
          >>   >>   >>   For more options, visit this group at
          >>   >>   >>   http://groups.google.com/group/flex-mojos
          >>   >>   >>
          >>   >>   >>   http://flexmojos.sonatype.org/
          >>   >>   >>
          >>   >>   >
          >>   >>   >   --
          >>   >>   >   You received this message because you are subscribed
          to the Google
          >>   >>   >   Groups "Flex Mojos" group.
          >>   >>   >   To post to this group, send email to
          flex-mojos@googlegroups.com<mailto:flex-mojos@googlegroups.com>
          >>   >>   >   To unsubscribe from this group, send email to
          >>   >>   >   flex-mojos+unsubscr...@googlegroups.com

<mailto:flex-mojos%2bunsubscr...@googlegroups.com><flex-mojos%2bunsubscr...@googlegroups.com
          <mailto:flex-mojos%252bunsubscr...@googlegroups.com>>
          >>   <flex-mojos%2bunsubscr...@googlegroups.com

<mailto:flex-mojos%252bunsubscr...@googlegroups.com><flex-mojos%252bunsubscr...@googlegroups.com
          <mailto:flex-mojos%25252bunsubscr...@googlegroups.com>>
          >>   >
          >>   >>   >   For more options, visit this group at
          >>   >>   >   http://groups.google.com/group/flex-mojos
          >>   >>   >
          >>   >>   >   http://flexmojos.sonatype.org/
          >>   >>   >
          >>   >>
          >>   >>   --
          >>   >>   You received this message because you are subscribed to
          the Google
          >>   >>   Groups "Flex Mojos" group.
          >>   >>   To post to this group, send email to
          flex-mojos@googlegroups.com<mailto:flex-mojos@googlegroups.com>
          >>   >>   To unsubscribe from this group, send email to
          >>   >>   flex-mojos+unsubscr...@googlegroups.com

<mailto:flex-mojos%2bunsubscr...@googlegroups.com><flex-mojos%2bunsubscr...@googlegroups.com
          <mailto:flex-mojos%252bunsubscr...@googlegroups.com>>
          >>   <flex-mojos%2bunsubscr...@googlegroups.com

<mailto:flex-mojos%252bunsubscr...@googlegroups.com><flex-mojos%252bunsubscr...@googlegroups.com
          <mailto:flex-mojos%25252bunsubscr...@googlegroups.com>>
          >>   >
          >>   >>   For more options, visit this group at
          >>   >>   http://groups.google.com/group/flex-mojos
          >>   >>
          >>   >>   http://flexmojos.sonatype.org/
          >>   >>
          >>   >
          >>   >   --
          >>   >   You received this message because you are subscribed to
          the Google
          >>   >   Groups "Flex Mojos" group.
          >>   >   To post to this group, send email to
          flex-mojos@googlegroups.com<mailto:flex-mojos@googlegroups.com>
          >>   >   To unsubscribe from this group, send email to
          >>   >   flex-mojos+unsubscr...@googlegroups.com

<mailto:flex-mojos%2bunsubscr...@googlegroups.com><flex-mojos%2bunsubscr...@googlegroups.com
          <mailto:flex-mojos%252bunsubscr...@googlegroups.com>>
          >>   >   For more options, visit this group at
          >>   >   http://groups.google.com/group/flex-mojos
          >>   >
          >>   >   http://flexmojos.sonatype.org/
          >>   >
          >>
          >>   --
          >>   You received this message because you are subscribed to the
          Google
          >>   Groups "Flex Mojos" group.
          >>   To post to this group, send email to
          flex-mojos@googlegroups.com<mailto:flex-mojos@googlegroups.com>
          >>   To unsubscribe from this group, send email to
          >>   flex-mojos+unsubscr...@googlegroups.com

<mailto:flex-mojos%2bunsubscr...@googlegroups.com><flex-mojos%2bunsubscr...@googlegroups.com
          <mailto:flex-mojos%252bunsubscr...@googlegroups.com>>
          >>   For more options, visit this group at
          >>   http://groups.google.com/group/flex-mojos
          >>
          >>   http://flexmojos.sonatype.org/
          >>
          >
          >   --
          >   You received this message because you are subscribed to the
          Google
          >   Groups "Flex Mojos" group.
          >   To post to this group, send email to
          flex-mojos@googlegroups.com<mailto:flex-mojos@googlegroups.com>
          >   To unsubscribe from this group, send email to
          >   flex-mojos+unsubscr...@googlegroups.com
          <mailto:flex-mojos%2bunsubscr...@googlegroups.com>
          >   For more options, visit this group at
          >   http://groups.google.com/group/flex-mojos
          >
          >   http://flexmojos.sonatype.org/
          >

          --
          You received this message because you are subscribed to the
Google
          Groups "Flex Mojos" group.
          To post to this group, send email to
          flex-mojos@googlegroups.com<mailto:flex-mojos@googlegroups.com>
          To unsubscribe from this group, send email to
          flex-mojos+unsubscr...@googlegroups.com
          <mailto:flex-mojos%2bunsubscr...@googlegroups.com>
          For more options, visit this group at
          http://groups.google.com/group/flex-mojos

          http://flexmojos.sonatype.org/


      --
      You received this message because you are subscribed to the Google
      Groups "Flex Mojos" group.
      To post to this group, send email to flex-mojos@googlegroups.com
      <mailto:flex-mojos@googlegroups.com>
      To unsubscribe from this group, send email to
      flex-mojos+unsubscr...@googlegroups.com
      <mailto:flex-mojos%2bunsubscr...@googlegroups.com>
      For more options, visit this group at
      http://groups.google.com/group/flex-mojos

      http://flexmojos.sonatype.org/


--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to flex-mojos@googlegroups.com
To unsubscribe from this group, send email to
flex-mojos+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to flex-mojos@googlegroups.com
To unsubscribe from this group, send email to
flex-mojos+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to flex-mojos@googlegroups.com
To unsubscribe from this group, send email to
flex-mojos+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/


--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to flex-mojos@googlegroups.com
To unsubscribe from this group, send email to
flex-mojos+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to