<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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/

Reply via email to