Hello,

I have some non-source files that need to be included in a swc, but I
can't seem to configure my pom.xml correctly. Here's what I have..

The file I'd like to include is at the following location in my
project.
        ... /src/assets/config/ApplicationContext.xml


My pom.xml is set up as follows (slimmed down for clarity):
        <build>
                <sourceDirectory>src</sourceDirectory>
                <plugins>
                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>4.0-RC1</version>
                                <extensions>true</extensions>
                                <configuration>
                                        
<configurationReport>true</configurationReport>
                                        <includeSources>
                                                
<includeSource>${basedir}/src</includeSource>
                                        </includeSources>
                                        <includeFiles>
                                                
<include>${basedir}/src/assets/config/ApplicationContext.xml</
include>
                                        </includeFiles>
                                </configuration>
                        </plugin>
                </plugins>
        </build>


The config dump after building shows the following, but this inserts
the fully qualified path into the swc.
   <include-file>
      <name>/Users/ ... /src/assets/config/ApplicationContext.xml</
name>
      <path>/Users/ ... /src/assets/config/ApplicationContext.xml</
path>
   </include-file>


Based on the config dump that Flash Builder generates, what I expect
to see is the following.
   <include-file>
      <name>assets/config/ApplicationContext.xml</name>
      <path>/Users/ ... /src/assets/config/ApplicationContext.xml</
path>
   </include-file>


I feel like there's probably something simple I'm missing. Any
guidance would be much appreciated.

- Jeff

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