And where is that "known" location, if I may ask ?

Is the watermark related to the pure existance of the license.jar (it
seems to be included in every sdk version) of the correctness of the
license string ? would I see any error message if I had a typo in the
key ?

In this "known" location my license number is stored without the "-"s.
Maybe that's the difference ?

I'll continue searching tomorrow. Thanks for your efforts so far.


On 14 Jan., 23:27, "RedBugz Software" <[email protected]> wrote:
> On Wed, Jan 14, 2009 at 3:09 PM, ddinger <[email protected]> wrote:
> > [DEBUG]     com.adobe.flex.compiler:license:jar:3.2.0.3958:runtime
> > (selected for runtime)
>
> > This confuses me in two ways: It should reference the artifact that I
> > installed with your installer mojo - which would be "3.2.0.3958.cdm"
> > and it should be selected for compile time, right ?
>
> Yes, I would think that it should be using the version you specified,
> but runtime is actually correct. The license.jar needs to be on the
> runtime classpath *of the plugin* so that the Flex compiler works
> correctly. Compile time dependencies of your Flex projects are all
> .swcs and .swfs.
>
> I'm not sure where you build that is failing lives, but is it possibly
> you installed your licensed FDK with the 3.2.0.3958 version once
> locally before you did the .cdm version, and it's hanging out in your
> local repo w/o being in Archiva? Look in Archiva for the license.jar
> artifact and confirm that it's there as well.
>
> > But in the end that swf that I compile on my machine does not show the
> > watermark.
>
> > To make the confusion perfect I checked the mvn -X output of a totally
> > other project, that uses the "official" 3.2.0.3958 artifacts that I
> > obtained from your repo (http://svn.sonatype.org/). This project does
> > not make use of any charting - I did not even specify any license
> > information in any pom.xml - but the flex mojo prints out the license
> > information from my flex builder license !!!  Where does it get that
> > from ? Is there any windows registry access ? the license string is
> > printed out with all the "-" characters removed.
>
> This is a little "feature" that Velo added. Your Flex Builder license
> is installed in a known location on each platform, so he looks it up
> and automatically inserts it for you if it exists (if you have ever
> installed FB Pro). If you do the build on a machine w/o FB installed
> (like build servers) it won't be there and you'll still need it in
> your pom (or manually put it in the known location).
>
> Logan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to