Hello Flexmojos group,

I'm building an AIR library and cannot seem to run the unit test goal from 
the command line using flexmojos.  I'm fairly comfortable with flexmojos 
and have built numerous projects using the plugin, and in fact, loading the 
project into IntelliJ, I can test/develop no problem thru the IDE.  When I 
try to pass thru the test goal from the command line, however, I'm met with 
the following error.
[ERROR] Failed to execute goal<br> 
org.sonatype.flexmojos:flexmojos-maven-plugin:4.2-beta:test-run<br> 
(default-test-run) on project myProject: Address already in use: JVM_Bind
I don't quite understand the error: it's not related to an IDE using the 
ADL - I receive this error even if I've just booted do nothing else but run 
any Maven command on the project.

I do have the Flex SDK on my path so that the ADL is available, etc.  Is 
there another configuration I need to set up in the pom to enable unit 
testing via the AIR debugger?  Given this is a library, there's no 
application.xml file, etc.

I'd greatly appreciate any help! Thanks!


The pom.xml does specify using ADL under the build tag and includes the AIR 
SDK as a dependency.

    <build> 
        <plugins>
            <plugin>
                <groupId>org.sonatype.flexmojos</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <version>${flexmojos.version}</version>
                <extensions>true</extensions>

                <dependencies>
                    <dependency>
                        <groupId>com.adobe.flex</groupId>
                        <artifactId>compiler</artifactId>
                        <version>${flex.version}</version>
                        <type>pom</type>
                    </dependency>
                    <dependency>
                        <groupId>com.adobe.flex.compiler</groupId>
                        <artifactId>adt</artifactId>
                        <version>${flex.version}</version>
                        <scope>compile</scope>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>

... and of course, in dependencies I'm specifying the AIR SDK:

<dependencies>
        <!-- Air SDK -->
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>air-framework</artifactId>
            <version>${flex.version}</version>
            <type>pom</type>
        </dependency>
</dependencies>

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