Hi Marcin, You are right, this are bugs. Could you please file 2 issues for then?
VELO On Oct 13, 2:49 pm, Marcin Łępicki <[email protected]> wrote: > Hi there, > > Today I was trying to migrate my Flex 3.5.0.12683 component (swc) project > from FlexMojos 3.7.1 to 4.0-RC2 and found some issues with asdoc generation. > > First of all, documentation of docClasses of the asdoc goal is probably > wrong - > onhttp://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPS... > I found > <docClasses> > <docClass> > <includes> > <include>com/mycompany/*</include> > </includes> > <excludes> > <exclude>com/mycompany/ui/*</exclude> > </excludes> > </docClass> > </docClasses> > > while property type (SimplifiablePattern) suggests > <docClasses> > <includes> > <include>com/mycompany/*</include> > </includes> > <excludes> > <exclude>com/mycompany/ui/*</exclude> > </excludes> > </docClasses> > > The first one generates error: Cannot find setter, adder nor field in > org.sonatype.flexmojos.plugin.compiler.attributes.SimplifiablePattern for > 'docClass'. > > Another problem occurs when I try to use more than one include property, > namely: > <docClasses> > <includes> > <include>com.mycomponent.FirstClass</include> > <include>com.mycomponent.SecondClass</include> > </includes> > </docClasses> > I get error: > Adobe ASDoc > Version 3.5.0 build 12683 > Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved. > > command line: Error: default arguments may not be interspersed with other > options > > I think it is because of the way flexmojos 4.0-RC2 forwards this options to > asdoc command. With -X option, maven gives me asdoc command with parameters > like > -doc-classes=com.mycomponent.FirstClass > -doc-classes+=com.mycomponent.SecondClass > > while flexmojos 3.7.1 generated > -doc-classes=com.mycomponent.FirstClass,com.mycomponent.SecondClass > > Looks like asdoc does not support += notation :-( > > Please let me know if you need more info. > > Best & thanks for great mojo! > Marcin Lepicki -- 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/
