Well it appears to be a maven issue, when binding to the install phase it's true. When binding to the asdoc phase aggregate is false even though the configuration is true.

After inspecting the -X ouput I've come up with a workaround:

mvn flexmojos:asdoc -Dflex.asdoc.aggregate=true

I don't want to bind asdoc to the install phase as the asdoc program is far too slow.

Glad to have a workaround. Thanks for your help.

mischa.

On 18 Oct 2010, at 13:49, Marvin Froeder <[email protected]> wrote:

Can tell, this is a maven thing, maybe a bug... but has nothing to do with flexmojos.

Did you tried the -X as I asked you for? If maven is indeed injecting true, then it is a bug on flexmojos, but I really doubt that is the case.


VELO

On Mon, Oct 18, 2010 at 10:46 AM, Mischa Williamson <[email protected] > wrote:
Ok, something seems to be getting lost in translation here...

What I am trying to say is when I bind to the install phase with:

<execution>
      <id>generate-asdoc</id>
      <phase>install</phase>
      <goals>
              <goal>asdoc</goal>
      </goals>
      <configuration>
              <aggregate>true</aggregate>
<outputDirectory>${project.build.directory}/asdoc</ outputDirectory>
              <sourcePaths>
                      <path>${project.build.sourceDirectory}</path>
<path>${project.build.testSourceDirectory}</ path>
              </sourcePaths>
              <excludeClasses>
                      <class>TestRunner</class>
              </excludeClasses>
      </configuration>
</execution>

And run "mvn install" the asdocs are created in an aggregate manner.
When I bind to the asdoc phase with:

<execution>
      <id>generate-asdoc</id>
      <phase>asdoc</phase>
      <goals>
              <goal>asdoc</goal>
      </goals>
      <configuration>
              <aggregate>true</aggregate>
<outputDirectory>${project.build.directory}/asdoc</ outputDirectory>
              <sourcePaths>
                      <path>${project.build.sourceDirectory}</path>
<path>${project.build.testSourceDirectory}</ path>
              </sourcePaths>
              <excludeClasses>
                      <class>TestRunner</class>
              </excludeClasses>
      </configuration>
</execution>

And run "mvn flexmojos:asdoc" the aggregate property is ignored and
the docs are not built in an aggregate manner.

Am I doing something wrong? Is this expected behaviour?

I want to build the docs explicitly in an aggregate manner using "mvn
flexmojos:asdoc", how do I achieve this please?

Thanks,

mischa.

On Mon, Oct 18, 2010 at 1:37 PM, Marvin Froeder <[email protected]> wrote:
>>> mvn flexmojos:asdoc
> No you are not.
>
> VELO
>
> On Mon, Oct 18, 2010 at 10:35 AM, Mischa Williamson
> <[email protected]> wrote:
>>
>> You might want to read my original post again. I am setting aggregate
>> to true, as the example I posted clearly shows.
>>
>> It works in aggregate mode when binding to the install phase but not
>> when binding to the asdoc phase - is this expected behaviour?
>>
>> Thanks for any help.
>>
>> mischa.
>>
>> On Sat, Oct 16, 2010 at 7:04 PM, Marvin Froeder <[email protected]> wrote:
>> >
>> >
>> > On Sat, Oct 16, 2010 at 1:24 PM, Mischa Williamson
>> > <[email protected]> wrote:
>> >>
>> >> I would like to build the asdocs in an aggregate manner with:
>> >>
>> >> mvn flexmojos:asdoc
>> >
>> > You must set aggregate to trye
>> >
>> > --
>> > 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/
>> >
>>
>>
>>
>> --
>> mischa (aka muji).
>> http://cyberfunk.org
>> http://freeformsystems.com
>>
>> --
>> 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]
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>



--
mischa (aka muji).
http://cyberfunk.org
http://freeformsystems.com

--
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]
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