I haven't gotten it to work yet.  Is the 4.x branch no longer being
maintained at http://svn.sonatype.org/flexmojos/branches/flexmojos-4.x?

On Wed, Nov 3, 2010 at 7:18 PM, Marvin Froeder <[email protected]> wrote:

> ok, so in the end is this working on not? (I feel I'm missing something)
>
> VELO
>
> On Wed, Nov 3, 2010 at 5:27 PM, Daniel Teixeira 
> <[email protected]>wrote:
>
>> It's definitely on the path.  You can see this in the above stack trace as
>> well:
>>
>> [DEBUG] Using user defined command for adl:/Applications/Adobe Flash
>> Builder 4 Plug-in/sdks/3.5.0.12683/bin/adl
>>
>>
>>
>> On Wed, Nov 3, 2010 at 3:04 PM, Marvin Froeder <[email protected]> wrote:
>>
>>> For now make sure adl is on system path.... that is not fully tested yet.
>>>
>>> VELO
>>>
>>>
>>> On Wed, Nov 3, 2010 at 4:52 PM, Daniel Teixeira <
>>> [email protected]> wrote:
>>>
>>>> Ummm... not seeing any difference. Has this been pushed to 4.0-
>>>> SNAPSHOT?
>>>>
>>>> Also, what dependency(s) do I need to include in my pom to fetch the
>>>> appropriate adl runtime (if I didn't want to use the system-defined
>>>> one)?
>>>>
>>>> Thanks
>>>>
>>>>
>>>> On Nov 3, 1:49 pm, Marvin Froeder <[email protected]> wrote:
>>>> > http://groups.google.com/group/flex-mojos/msg/305ae3d030d801b7
>>>> >
>>>> > Fixed on latest 4.x branch.
>>>> >
>>>> > On Wed, Nov 3, 2010 at 3:40 PM, Daniel Teixeira <
>>>> [email protected]>wrote:
>>>> >
>>>> >
>>>> >
>>>> > > I am getting the below error when running 'test-compile' with FM4. I
>>>> > > have explicitly specified the adlCommand but it still fails.  Any
>>>> > > ideas?
>>>> >
>>>> > > [DEBUG] Using user defined command for adl:/Applications/Adobe Flash
>>>> > > Builder 4 Plug-in/sdks/3.5.0.12683/bin/adl
>>>> > > [DEBUG] Using connector WagonRepositoryConnector with priority 0 for
>>>> > >http://repository.sonatype.org/content/groups/flexgroup/
>>>> > > Downloading:
>>>> > >
>>>> http://repository.sonatype.org/content/groups/flexgroup/com/adobe/adl.
>>>> ..
>>>> > > [DEBUG] Reading resolution tracking file
>>>> /Users/daniel/.m2/repository/
>>>> > > com/adobe/adl/runtime/1.5/runtime-1.5-mac.tar.gz.lastUpdated
>>>> > > [DEBUG] Writing resolution tracking file
>>>> /Users/daniel/.m2/repository/
>>>> > > com/adobe/adl/runtime/1.5/runtime-1.5-mac.tar.gz.lastUpdated
>>>> > > [DEBUG] Using connector WagonRepositoryConnector with priority 0 for
>>>> > >http://repo1.maven.org/maven2
>>>> > > Downloading:
>>>> > >
>>>> http://repo1.maven.org/maven2/com/adobe/adl/runtime/1.5/runtime-1.5-m.
>>>> ..
>>>> > > [DEBUG] Reading resolution tracking file
>>>> /Users/daniel/.m2/repository/
>>>> > > com/adobe/adl/runtime/1.5/runtime-1.5-mac.tar.gz.lastUpdated
>>>> > > [DEBUG] Writing resolution tracking file
>>>> /Users/daniel/.m2/repository/
>>>> > > com/adobe/adl/runtime/1.5/runtime-1.5-mac.tar.gz.lastUpdated
>>>> > > [INFO]
>>>> > >
>>>> ------------------------------------------------------------------------
>>>> > > [INFO] BUILD FAILURE
>>>> > > [INFO]
>>>> > >
>>>> ------------------------------------------------------------------------
>>>> > > [INFO] Total time: 36.529s
>>>> > > [INFO] Finished at: Wed Nov 03 12:53:11 EDT 2010
>>>> > > [INFO] Final Memory: 15M/265M
>>>> > > [INFO]
>>>> > >
>>>> ------------------------------------------------------------------------
>>>> > > [ERROR] Failed to execute goal
>>>> org.sonatype.flexmojos:flexmojos-maven-
>>>> > > plugin:4.0-SNAPSHOT:test-run (default-test-run) on project foobar:
>>>> > > Execution default-test-run of goal org.sonatype.flexmojos:flexmojos-
>>>> > > maven-plugin:4.0-SNAPSHOT:test-run failed: Failed to resolve
>>>> artifact
>>>> > > com.adobe.adl:runtime:tar.gz:mac:1.5 -> [Help 1]
>>>> >
>>>> > > On Oct 29, 8:48 am, Rafael Adson Barbosa Barros
>>>> > > <[email protected]> wrote:
>>>> > > > Ok, I think I found out what the problem was.
>>>> >
>>>> > > > When I run flex tests, everything occurs exactly how you
>>>> described, and
>>>> > > it
>>>> > > > works (if I don't have the flashplayer:uexe artifact, it will go
>>>> and
>>>> > > execute
>>>> > > > Flash Player from the path.
>>>> >
>>>> > > > But when I test air applications, which was what I was doing, the
>>>> > > > resolveAdlVm from AbstractMavenMojo does not return null, it
>>>> returns [
>>>> > > > '-runtime', <runtime path> ];
>>>> >
>>>> > > > Because of this, when asVmLauncher tests if ( asvmCommand == null
>>>> ) the
>>>> > > > check doesn't return false like it was supposed to, and flexmojos
>>>> tries
>>>> > > to
>>>> > > > run -runtime <runtime path> in the command line, resulting in an
>>>> error.
>>>> >
>>>> > > > I'll fix the resolvedAdlVm to return null if it can't find the adl
>>>> > > artifact,
>>>> > > > so that things will work. When I'm able than to run tests in
>>>> headless
>>>> > > mode,
>>>> > > > I'll make a pull request with this.
>>>> >
>>>> > > > Thanks,
>>>> > > > Rafael.
>>>> >
>>>> > > > On Thu, Oct 28, 2010 at 9:47 PM, Rafael Adson Barbosa Barros <
>>>> >
>>>> > > > [email protected]> wrote:
>>>> > > > > Ok, I'll check it out then. Probably I'm doing something
>>>> wrong...
>>>> >
>>>> > > > > Thanks for the help,
>>>> > > > > Rafael.
>>>> >
>>>> > > > > On Thu, Oct 28, 2010 at 9:42 PM, Marvin Froeder <
>>>> [email protected]>
>>>> > > wrote:
>>>> >
>>>> > > > >> But it does that....
>>>> >
>>>> > > > >>
>>>> http://github.com/Flexmojos/flexmojos/blob/flexmojos-4.x/flexmojos-ma.
>>>> > > ..
>>>> >
>>>> > > > >> If it fails to resolve from local repo it just returns null, an
>>>> that
>>>> > > will
>>>> > > > >> fallback to system default....
>>>> >
>>>> > > > >> VELO
>>>> >
>>>> > > > >> On Thu, Oct 28, 2010 at 9:31 PM, Rafael Adson Barbosa Barros <
>>>> > > > >> [email protected]> wrote:
>>>> >
>>>> > > > >>> In my tests, if it can't find it in the local repo, it just
>>>> throws an
>>>> > > > >>> error, it doesn't look in the system path.
>>>> > > > >>> What I'm proposing is that it does that.
>>>> > > > >>> Maybe I'm overlooking something, but that happened to me. Feel
>>>> free
>>>> > > to
>>>> > > > >>> correct me if I'm wrong.
>>>> >
>>>> > > > >>> Thanks,
>>>> > > > >>> Rafael.
>>>> >
>>>> > > > >>> On Thu, Oct 28, 2010 at 4:18 PM, Marvin Froeder <
>>>> [email protected]
>>>> > > >wrote:
>>>> >
>>>> > > > >>>> On Thu, Oct 28, 2010 at 4:12 PM, Rafael Adson <
>>>> > > [email protected]>wrote:
>>>> >
>>>> > > > >>>>> My suggestion is to add a third option: if the user does not
>>>> do
>>>> > > that,
>>>> > > > >>>>> and flashplayer/adl is not installed in the local
>>>> repository, but
>>>> > > if
>>>> > > > >>>>> the plugin is able to find in the operating system path
>>>> > > flashplayer/
>>>> > > > >>>>> adl with the default name for that operating system, then
>>>> flexmojos
>>>> > > > >>>>> would choose to run the one it finds.  I'm aware that this
>>>> can
>>>> > > result
>>>> > > > >>>>> on unintended behaviour (if the user don't want to use an
>>>> adl that
>>>> > > he
>>>> > > > >>>>> has in the path but would rather download another from adobe
>>>> for
>>>> > > > >>>>> whatever reason, for example), so I would like to hear what
>>>> you
>>>> > > think
>>>> > > > >>>>> about this.
>>>> >
>>>> > > > >>>> Right now it has 3 steps to find adl/fp....
>>>> >
>>>> > > > >>>> 1 - Did user explicit step adl/fp? If so, use it, otherwise:
>>>> > > > >>>> 2 - Does user has adl/fp installed on maven local repository?
>>>> If so,
>>>> > > use
>>>> > > > >>>> it, otherwise:
>>>> > > > >>>> 3 - Assume user has adl/fp on system path, which I can't
>>>> check....
>>>> >
>>>> > > > >>>> If you don't wanna flexmojos to use adl/fp from you local
>>>> repo it
>>>> > > makes
>>>> > > > >>>> more sense to me to not install it on the local repo.... am I
>>>> > > missing
>>>> > > > >>>> something here?
>>>> >
>>>> > > > >>>> VELO
>>>> >
>>>> > > > >>>> --
>>>> > > > >>>> 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]>
>>>> <flex-mojos%2bunsubscr...@googlegrou ps.com>
>>>> > > <flex-mojos%2bunsubscr...@googlegrou ps.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
>>>> [email protected]
>>>> > > > >>> To unsubscribe from this group, send email to
>>>> > > > >>> [email protected]<flex-mojos%[email protected]>
>>>> <flex-mojos%2bunsubscr...@googlegrou ps.com>
>>>> > > <flex-mojos%2bunsubscr...@googlegrou ps.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
>>>> [email protected]
>>>> > > > >> To unsubscribe from this group, send email to
>>>> > > > >> [email protected]<flex-mojos%[email protected]>
>>>> <flex-mojos%2bunsubscr...@googlegrou ps.com>
>>>> > > <flex-mojos%2bunsubscr...@googlegrou ps.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 [email protected]
>>>> > > To unsubscribe from this group, send email to
>>>> > > [email protected]<flex-mojos%[email protected]>
>>>> <flex-mojos%2bunsubscr...@googlegrou ps.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 [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]<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]<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]<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