Hi!

In my pom.xml I have turned on filtering for src/test/resources:

      <testResources>
         <testResource>
            <directory>src/test/resources</directory>
            <filtering>true</filtering>
            <includes>
                   <include>**/*</include>
               </includes>
         </testResource>
    </testResources>


When I update source folders using m2eclipse with eclipse 3.4M5 and m2eclipse 0.9.3.20080421-2351 I get the following in my .classpath file:

<classpathentry excluding="**" kind="src" output="src/test/ resources" path="src/test/resources"/>

Is this output path corrent?

What is strange is that some files under src/test/resources is removed, f.x. db.properties which is one of the files which should be filtered. The non filtered version of this file which belongs under src/test/resources is removed and I find a filtered one under ./target/ test-classes/

Am I doing someting wrong here?

I include my .classpath file bellow:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target-eclipse/classes" path="src/ main/java"/> <classpathentry kind="src" output="target-eclipse/test-classes" path="src/test/java">
                <attributes>
                        <attribute name="maven.type" value="test"/>
                </attributes>
        </classpathentry>
<classpathentry excluding="**" kind="src" output="src/main/resources" path="src/main/resources"/> <classpathentry excluding="**" kind="src" output="src/main/webapp/WEB- INF/classes" path="src/main/webapp/WEB-INF/classes"/> <classpathentry excluding="**" kind="src" output="src/test/resources" path="src/test/resources"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
        <classpathentry kind="output" path="target-eclipse/classes"/>
</classpath>



-Kaj :)



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to