CI should build it after I commit my changes.

No, they are not.

VELO

On Tue, Aug 24, 2010 at 2:49 PM, Rupert Key <[email protected]> wrote:

>  Super!  Works perfectly!
> Checked-out 4 fresh from SVN, built and my testcase now passes as does that
> subsection of my 'real' build :-)
> Thank-you!
>
> For the rest of my team (we don't yet have an internal Nexus, etc), when
> will the public 4.0-SNAPSHOT be updated?  (e.g. does the build server run
> CDT midnight?)
>
> Back to trying to figure out my AIR build with all its sub-directoried
> modules :-\
> Thanks!
> Rupert.
>
> p.s. Believe these failures are known problems.  I used
> -Dmaven.test.skip=true to bypass:
>
> notResolvePackageArtifactid(org.sonatype.flexmojos.plugin.utilities.SourceFileResolverTest)
>
> notResolveMultipleRoots(org.sonatype.flexmojos.plugin.utilities.SourceFileResolverTest)
>
> notResolvePackage(org.sonatype.flexmojos.plugin.utilities.SourceFileResolverTest)
>
>
>
> On 24/08/2010 15:52, Marvin Froeder wrote:
>
> Ok, I'm on it.
>
> A just checked in a fix on the latest SNAPSHOT
>
> On Tue, Aug 24, 2010 at 9:30 AM, Rupert Key <[email protected]> wrote:
>
>>  That's the sandbox stuff, right?  Had wondered but makes complete sense
>> now :-)
>> Reproductions seems pretty easy using one of your samples...
>>
>> Add the following to the "create-rsl" goal use in "optimized-flex-library"
>> here:
>>
>> http://svn.sonatype.org/flexmojos/branches/flexmojos-4.x/flexmojos-testing/flexmojos-test-harness/projects/concept/optimized-flex-library/pom.xml
>>
>>          <configuration>
>>             <updateSwcDigest>true</updateSwcDigest>
>>         </configuration>
>>
>> Output will end as below -- note no "BUILD SUCCESS" nor "BUILD FAILURE" !
>> (in a multi-Maven-module build, this quits Maven so no other Maven modules
>> are built!)
>>
>> [INFO] Flexmojos 4.0-SNAPSHOT
>> [INFO]   Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
>> C:\Users\MyUser\Dev\FlexMojos4\flexmojos-testing\flexmojos-test-harness\projects\concept\optimized-flex-library\target\classes\original.swf
>> (1078 bytes)
>> C:\Users\MyUser\Dev\FlexMojos4\flexmojos-testing\flexmojos-test-harness\projects\concept\optimized-flex-library\target\classes\optimized.swf
>> (696 bytes)
>> [INFO] Merging ABC files ...
>> [INFO] Rebuilding constant pool ...
>> [INFO] Compression ratio: 31.03%
>> [INFO] Total bytes: 216
>> [INFO] Merging ABC files ...
>> [INFO] Rebuilding constant pool ...
>> [INFO] Compression ratio: 0.00%
>> [INFO] Total bytes: 0
>> [INFO] Optimization result: 44.53%
>> [INFO] Digest information was updated in
>> C:\Users\MyUser\Dev\FlexMojos4\flexmojos-testing\flexmojos-test-harness\projects\concept\optimized-flex-library\target\optimized-flex-library-1.0-SNAPSHOT.swc
>>
>> C:\Users\MyUser\Dev\FlexMojos4\flexmojos-testing\flexmojos-test-harness\projects\concept\optimized-flex-library>
>>
>> For now, guess I'll drop out to Ant to solve.
>> HTH, R.
>>
>> p.s. in case relevant, I run this manually (not in uber-FlexMojos build)
>> so updated "%{flexmojos.version}" to "4.0-SNAPSHOT".
>>
>>
>> On 23/08/2010 13:21, Marvin Froeder wrote:
>>
>>  Can't say, I never noticed anything like that.  AFIK, all flex tools do
>> try to System.exit(), but flexmojos does intercept that and throws an
>> exception (that is correctly handled) preventing the VM from being killed.
>>
>>
>> VELO
>>
>> On Fri, Aug 20, 2010 at 8:39 PM, Rupert <[email protected]> wrote:
>>
>>> Hi,
>>> I'm using the 4.0-SNAPSHOT so probably hitting SDK 4.1.0.16076.
>>>
>>> I've updated my "simple-flex-modular" from
>>>
>>> http://svn.sonatype.org/flexmojos/branches/flexmojos-4.x/flexmojos-testing/flexmojos-test-harness/projects/concept/
>>> to build the library as an RSL using <goal>create-rsl</goal>.  (after
>>> adding use of the library to the Module and use of the Module to the
>>> app.  All worked after this but all merged in then.)
>>>
>>> The RSL builds but I then ran into my old friend "Digest mismatch with
>>> RSL".  So enabled "updateSwcDigest" which, although
>>>
>>> http://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPSHOT/create-rsl-mojo.html#updateSwcDigest
>>> indicates "doesn't make any sense not do it", seems to be disabled by
>>> default (I /think/).
>>>
>>> When next I build, it ends prematurely with:
>>>
>>> [DEBUG] attempting to optimize: library-1.0-SNAPSHOT.swc
>>> [DEBUG] Backuping original file C:\Users\MyUser\Dev
>>> \FlexMojos4\flexmojos-testing\flexmojos-test-harness\projects\concept
>>> \simple-flex-modular\library\target\library-1.0-SNAPSHOT.swf
>>> [DEBUG] Placing optimized file on target folder
>>> [INFO] Optimization result: 100%
>>> [DEBUG] Compilation arguments:
>>> -rsl-file=C:\Users\MyUser\Dev\FlexMojos4\flexmojos-testing\flexmojos-
>>> test-harness\projects\concept\simple-flex-modular\library\target
>>> \library-1.0-SNAPSHOT.swf
>>> -swc-path=C:\Users\MyUser\Dev\FlexMojos4\flexmojos-testing\flexmojos-
>>> test-harness\projects\concept\simple-flex-modular\library\target
>>> \library-1.0-SNAPSHOT.swc
>>> -signed=false
>>> [INFO] Digest information was updated in C:\Users\MyUser\Dev
>>> \FlexMojos4\flexmojos-testing\flexmojos-test-harness\projects\concept
>>> \simple-flex-modular\library\target\library-1.0-SNAPSHOT.swc
>>>
>>> ...and that's it!!!  Nothing else and a successful return code from
>>> mvn ($? = 0).
>>> I'm guessing line 91 in
>>>
>>> http://svn.sonatype.org/flexmojos/branches/flexmojos-4.x/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/plugin/optimizer/RSLCreatorMojo.java
>>> which reads...
>>>
>>>                result =
>>> compiler.digest( getDigestConfiguration( input ),
>>> true ).getExitCode();
>>>
>>> ...is exiting the JVM!?  Btw, I have MAVEN_OPTS=-Xmx512m
>>>
>>> I wondered whether the compression stuff could be causing a problem so
>>> tried to disable it all, eventually giving:
>>>
>>>        <computeDigests>true</computeDigests>
>>>        <updateSwcDigest>true</updateSwcDigest>
>>>
>>>        <!-- disable compression tricks -->
>>>        <optimizeRsl>false</optimizeRsl>
>>>        <reduceMergeABC>false</reduceMergeABC>
>>>        <reduce>false</reduce>
>>>        <reduceSortCPool>false</reduceSortCPool>
>>>        <strip>false</strip>
>>>
>>> (think I got it all -- the log above is from using it, before there
>>> was lots of compression stuff as well)
>>> Result: No change.
>>>
>>> Bit of a loss now.  I haven't built FlexMojos from source in order to
>>> try debugging it.  Think I'll next try optimizing and digesting my SWC
>>> on the command-line and cheating it into the Maven .m2 repo in the
>>> hope of finding out whether the digesting will solve my digest problem
>>> if I can get passed this odd exit.
>>>
>>> I also noticed
>>> http://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPSHOT/plugin-info.html
>>> says "flexmojos:optimize-swf" is "goal is used to produce RSL files."
>>> Should I try that instead?
>>>
>>> All help welcome as always :-)
>>> Rupert.
>>>
>>> p.s. In case someone knows, am I on the right lines with the "Digest
>>> mismatch with RSL" thing?  I had the same problem with our FB build
>>> hence trying this command-line fun for determinism.  Hint came from
>>> http://www.duzengqiang.com/blog/post/625.html  Again, cheers for all
>>> hints!
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Flex Mojos" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<flex-mojos%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex-mojos
>>>
>>> http://flexmojos.sonatype.org/
>>>
>>
>>  --
>>  You received this message because you are subscribed to the Google
>> Groups "Flex Mojos" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/flex-mojos
>>
>> http://flexmojos.sonatype.org/
>>
>>  --
>>  You received this message because you are subscribed to the Google
>> Groups "Flex Mojos" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<flex-mojos%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/flex-mojos
>>
>> http://flexmojos.sonatype.org/
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

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

http://flexmojos.sonatype.org/

Reply via email to