Guys I use it and it does work.... I have no clue why is it including more then what you expect.... i think your rules aren't well elaborated....
If you are missing anything, then you must add the dependency that contains whatever you wanna onto to your pom. VELO On Tue, Nov 17, 2009 at 6:47 PM, Jboss <[email protected]> wrote: > It seems eman has the same issue then, it skips some and it generates > others ... > > as in eman's post: > [INFO] Generating: /home/emanux/myprojects/flex-ems/flex-ems-server/ > src/main/java/org/apache/xalan/client/XSLTProcessorApplet > $TrustedAgent.as > > my output is similar > [INFO] Skipping: c:\Programming\sandboxes\digit\flex-modules\blazeds- > sample\target\generated-sources\flexmojos\org\apa > che\log4j\jmx\AbstractDynamicMBeanBase.as > [INFO] Generating: c:\Programming\sandboxes\digit\flex-modules > \blazeds-sample\src\main\flex\org\apache\log4j\jmx\Abstr > actDynamicMBean.as > [INFO] Skipping: c:\Programming\sandboxes\digit\flex-modules\blazeds- > sample\target\generated-sources\flexmojos\org\apa > che\log4j\xml\DOMConfigurator$ParseActionBase.as > [INFO] Generating: c:\Programming\sandboxes\digit\flex-modules > \blazeds-sample\src\main\flex\org\apache\log4j\xml\DOMCo > nfigurator$ParseAction.as > [INFO] Skipping: c:\Programming\sandboxes\digit\flex-modules\blazeds- > sample\target\generated-sources\flexmojos\junit\f > ramework\TestListenerBase.as > [INFO] Generating: c:\Programming\sandboxes\digit\flex-modules > \blazeds-sample\src\main\flex\junit\framework\TestListen > er.as > > > yes, i looked at the wiki, have seen nothing that could help me out... > > On 16 nov, 11:12, Marvin Froeder <[email protected]> wrote: > > Did you looked at wiki documentation? > > > > On Sun, Nov 15, 2009 at 8:49 AM, eman <[email protected]> wrote: > > > I just try the config above to genearte as3 and here is the result: > > > > > [flexmojos:generate {execution: default-cli}] > > > [INFO] flexmojos 3.4.2 - GNU GPL License (NO WARRANTY) - See COPYRIGHT > > > file > > > [INFO] Skipping: /home/emanux/myprojects/flex-ems/flex-ems-server/ > > > target/generated-sources/flexmojos/org/hibernate/engine/ > > > BatchFetchQueueBase.as > > > [INFO] Generating: /home/emanux/myprojects/flex-ems/flex-ems-server/ > > > src/main/java/org/hibernate/engine/BatchFetchQueue.as > > > [INFO] Skipping: /home/emanux/myprojects/flex-ems/flex-ems-server/ > > > target/generated-sources/flexmojos/org/apache/xalan/client/ > > > XSLTProcessorApplet$TrustedAgentBase.as > > > [INFO] Generating: /home/emanux/myprojects/flex-ems/flex-ems-server/ > > > src/main/java/org/apache/xalan/client/XSLTProcessorApplet > > > $TrustedAgent.as > > > [INFO] Skipping: /home/emanux/myprojects/flex-ems/flex-ems-server/ > > > target/generated-sources/flexmojos/org/springframework/scripting/bsh/ > > > BshScriptUtils$Base.as > > > [INFO] Generating: /home/emanux/myprojects/flex-ems/flex-ems-server/ > > > src/main/java/org/springframework/scripting/bsh/BshScriptUtils$.as > > > [INFO] Skipping: /home/emanux/myprojects/flex-ems/flex-ems-server/ > > > target/generated-sources/flexmojos/org/aspectj/util/FileUtil$2Base.as > > > [INFO] Generating: /home/emanux/myprojects/flex-ems/flex-ems-server/ > > > src/main/java/org/aspectj/util/FileUtil$2.as > > > > > .................................................................... > > > > > On Nov 14, 7:48 pm, Marvin Froeder <[email protected]> wrote: > > > > That works.... > > > > > > On Fri, Nov 13, 2009 at 7:57 PM, Jboss <[email protected]> > wrote: > > > > > <apology> > > > > > I originally send this mail to the group mail address yesterday, > but > > > > > haven't seen my post there. Potentially something has gone wrong so > I > > > > > decided to try sending it through the "new post" functionality. > > > > > > > My apologies if the post was simply not handled yet. > > > > > </apology> > > > > > > > Hi, > > > > > I've been trying to get this working for quite some time now. > > > > > > > As3 classes are being generated as expected, no problem there. > > > > > However, I tried about every possible combination of excluding and > > > > > including classes i could think of, the exclusion/inclusion is not > > > > > working for me. > > > > > > > The generate goal generates as3 classes for every possible class it > > > > > can find in my dependencies. > > > > > > > As I have many, I end up with as3 classes such as log4j, hibernate, > > > > > junit and so on... > > > > > > > in the following post > > > > > > http://www.mail-archive.com/[email protected]/msg03303.html > > > > > > > someone describes what looks to be the same issue to me. I don't > think > > > > > what he describes is classpath hacking, rather the fact that every > > > > > possible class on the classpath due to maven dependencies is being > > > > > generated. > > > > > > > I have look at the simple-generation sample in the reference > > > > > application, however since this sample has no additional > dependencies, > > > > > the issue is probably not relevant there. I have checked the wiki > and > > > > > almost googled my butt of and can not find an explanation for my > > > > > issue. > > > > > > > Im using flexmojos 3.4.0 atm, I encountered the same issue with > 3.4.2 > > > > > > > I would be very happy if you could point me out what i'm doing > wrong > > > > > as this tool could save me lots of time. > > > > > Greets, > > > > > Tom > > > > > > > my plugin (one of the many I have tried) configuration > > > > > > > <?xml version="1.0" encoding="utf-16"?> > > > > > <plugin> > > > > > <groupId>org.sonatype.flexmojos</groupId> > > > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > > > <version>3.4.0</version> > > > > > <executions> > > > > > <execution> > > > > > <goals> > > > > > <goal>generate</goal> > > > > > </goals> > > > > > <configuration> > > > > > <includeJavaClasses> > > > > > <includeClass>my.specific.class</includeClass> > > > > > </includeJavaClasses> > > > > > <excludeJavaClasses> > > > > > <excludeClass>org.*</excludeClass> > > > > > <excludeClass>org</excludeClass> > > > > > </excludeJavaClasses> > > > > > <excludeClasses> > > > > > <excludeClass>org</excludeClass> > > > > > <excludeClass>org.*</excludeClass> > > > > > </excludeClasses> > > > > > </configuration> > > > > > </execution> > > > > > </executions> > > > > > </plugin> > > > > > > > -- > > > > > 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]> > > > > > <flex-mojos%[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?hl=en?hl=en > > > > > > >http://blog.flex-mojos.info/ > > > > > -- > > > 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?hl=en?hl=en > > > > >http://blog.flex-mojos.info/ > > -- > 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?hl=en?hl=en > > http://blog.flex-mojos.info/ > -- 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?hl=en?hl=en http://blog.flex-mojos.info/
