Yes, this is OK and as designed because some of the tests refer to
WEB-INF to load Spring context files - therefore src/main/webapp has
to be listed as a classpath entry.

Matt

On 10/16/07, SamImari <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is it ok that in eclipse the output of "src/main/webapp" points to
> "target/test-classes"?
>
> Regards
>
> SAM
>
> Environment:
> Windows 2000
> Maven 2.0.6
> JDK 1.5
>
> Eclipse Version: 3.3.0
> Build id: I20070621-1340
>
> Steps I did:
>
> created struts2- project with
> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-basic-struts
> -DremoteRepositories=http://static.appfuse.org/releases
> -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app -DartifactId=myproject
>
> mvn integration-test
> mvn eclipse:eclipse
>
> Import existing project into eclipse
>
> .classpath-File:
>
> <classpath>
>   <classpathentry kind="src" path="src/main/java"/>
>   <classpathentry kind="src" path="src/main/resources"
> excluding="ApplicationResources_de.properties|ApplicationResources_fr.properties|ApplicationResources_ko.properties|ApplicationResources_nl.properties|ApplicationResources_no.properties|ApplicationResources_pt*.properties|ApplicationResources_tr.properties|ApplicationResources_zh*.properties|applicationContext-resources.xml|struts.xml|**/*.java"/>
>   <classpathentry kind="src" path="src/main/webapp"
> output="target/test-classes" including="**/*.xml" excluding="**/*.java"/>
>   <classpathentry kind="src" path="src/test/java"
> output="target/test-classes"/>
>   <classpathentry kind="src" path="src/test/resources"
> output="target/test-classes" excluding="**/*.java"/>
>   <classpathentry kind="src" path="target/classes" excluding="**/*.java"/>
>   <classpathentry kind="output" path="target/classes"/>
>   <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> ...
> ...
>
> --
> View this message in context: 
> http://www.nabble.com/mvn-eclipse%3Aeclipse-classpathentry-src-main-webapp--%3E-target-test-classes-tf4633409s2369.html#a13230741
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to