Hi

I configured a integration test only project, in a way that every
module uses a configuration that is stored in the parent folder.
I implemented this way:

In the parent pom (in the root of the tree):

     <properties>
      <envType>local</envType> <!-- Default Environment value -->
      <envProps>../autotestProperties/</envProps>
    </properties>
        <build>
    <resources>
      <resource>
        <directory>${envProps}/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
    <filters>
        <filter>${envProps}/env/${envType}.properties</filter>
    </filters>

Then each module will get the generated configuration at the classpath.

As far as maven goes, it works fine, but when I generate the
correspondent eclipse project, it tries to add the resource entry, but
all it gets is a incorrect build path entry:

"Build path entry is missing:
home/emerson/workspace/trunk/autotests/autotestProperties/resources"

Is there anyway to stop eclipse from trying to create this entry?

The normal use of this will be for the developers and qa to create the
project structure using  "maven eclipse:eclipse install -DskipTests"
once via maven and then run the tests straight from eclipse.

Regards
Emerson

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to