Any idea? On 27 mar, 16:54, PeZ <[email protected]> wrote: > Okay, I added these lines in AsDocMojo.java : > > if ( examplesPath != null ) > { > args.add( "-examples-path=" + > PathUtil.getCanonicalPath( examplesPath ) ); > > } > > and successfully did a mvn install after that. > > Then, I configured my project to get an asdoc report : > > <reporting> > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.7-SNAPSHOT</version> > <reportSets> > <reportSet> > <id>flex-reports</id> > <reports> > > <report>asdoc-report</report> > </reports> > <configuration> > <windowTitle>My TEST > API Doc</windowTitle> > > <examplesPath>src/examples/</examplesPath> > </configuration> > > </reportSet> > </reportSets> > </plugin> > </plugins> > </reporting> > > Looking at the asdoc report output , I can see -examples-path has been > added to the compilation options. > However it doesn't seem to work. I get this error : > > defaults: Error: unable to open './flex-config.xml' > > If I remove the <examplesPath> tag, it works fine. > I don't really know where that comes from. Google didn't help a lot. > > On 25 mar, 17:28, Marvin Froeder <[email protected]> wrote: > > > No idea. > > > Flexmojos 3 tends to overwrite anything on flex-config.xml > > > VELO > > > On Thu, Mar 25, 2010 at 1:25 PM, PeZ <[email protected]> wrote: > > > Ok, thanks. > > > I will have a look at the source code tonight. > > > > As a workaround, do you think it will work if I specify a loadConfig > > > file with examples-path defined inside that config file? > > > > On 25 mar, 16:48, Marvin Froeder <[email protected]> wrote: > > > > Not ATM.... > > > > > This is already fixed on 4.xhttp:// > > > repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPS... > > > > > But 3.6 doesn't have this option =/ > > > > You can write a ticket for that and the patch if you are on any rush for > > > it. > > > > > VELO > > > > > On Thu, Mar 25, 2010 at 10:08 AM, PeZ <[email protected]> wrote: > > > > > Hi, > > > > > > I haven't found any subject talking about this here & the docs > > > > > > How can I specify a base example directory to include examples in my > > > > > asdoc using @includeExample tag? > > > > > > I know there is an undocumented examples-path option but I'm not sure > > > > > flexmojos handles it. > > > > > > -- > > > > > 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%[email protected]<flex-mojos%[email protected]> > > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/flex-mojos > > > > > >http://flexmojos.sonatype.org/ > > > > > > To unsubscribe from this group, send email to flex-mojos+ > > > > > unsubscribegooglegroups.com or reply to this email with the words > > > "REMOVE > > > > > ME" as the subject. > > > > -- > > > 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/ > > > > To unsubscribe from this group, send email to flex-mojos+ > > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > > > ME" as the subject. > >
-- 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/ To unsubscribe from this group, send email to flex-mojos+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
