Hello Jamie

I tried to convert an example from the xfire distribution to an wtp project.
I used the following commands:

mvn eclipse:clean eclipse:eclipse

This command created 4 files (.component,
org.eclispe.wst.common.project.facet.core.xml, .classpath , .project). But
when use the context menu "Add and Remove Projects" from the server view
this project isn't in the list so I can't select it. I created I simple
Dynamic Web Project with the eclipse wizard and there are some differences
between these two projects. The eclipse project created 4 files in the
folder .settings: org.eclipse.jdt.core.prefs,
org.eclipse.jst.common.project.facet.core.prefs,
org.eclipse.wst.common.component,
org.eclipse.wst.common.project.facet.core.xml. There are also differences in
the project file.

If you need more information please ask.

Cheers Christian

[xfire].settings/.component:
<project-modules id="moduleCoreId">
  <wb-module deploy-name="xfire-book">
    <wb-resource deploy-path="/" source-path="src/main"/>
  </wb-module>
</project-modules>

[eclispe].settings/.component:
This file wasn't created by the wizard

[xfire].settings/org.eclispe.wst.common.project.facet.core.xml:
<faceted-project>
  <fixed facet="jst.java"/>
  <fixed facet="jst.utility"/>
  <installed facet="jst.utility" version="1.0"/>
  <installed facet="jst.java" version="1.4"/>
</faceted-project>

[eclipse].settings/org.eclispe.wst.common.project.facet.core.xml:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
  <runtime name="tomcat-5.5.15"/>
  <fixed facet="jst.web"/>
  <fixed facet="jst.java"/>
  <installed facet="jst.web" version="2.4"/>
  <installed facet="jst.java" version="5.0"/>
</faceted-project>

[eclispe].settings/org.eclipse.jdt.core.prefs:
#Thu Jun 08 07:42:25 CEST 2006
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.5

[eclispe].settings/org.eclipse.jst.common.project.facet.core.prefs:
#Thu Jun 08 07:42:43 CEST 2006
classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_07/owners=jst.java\:5.0
classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.server.tomcat.runtimeTarget\:\:tomcat-5.5.15/owners=jst.web\:2.4
eclipse.preferences.version=1

[eclispe].settings/org.eclipse.wst.common.component:
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="xfire.demo.weppapp.test">
<wb-resource deploy-path="/" source-path="/WebContent"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<property name="context-root" value="xfire.demo.weppapp.test"/>
<property name="java-output-path" value="build/classes"/>
</wb-module>
</project-modules>

[xfire].classpath:
<classpath>
  <classpathentry kind="src" path="src/main"/>
  <classpathentry kind="src" path="src/test" output="target/test-classes"/>
  <classpathentry kind="output" path="target/classes"/>
  <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  <classpathentry kind="var"
path="M2_REPO/org/codehaus/xfire/xfire-aegis/1.1/xfire-aegis-1.1.jar"/>
  <classpathentry kind="var"
path="M2_REPO/xmlbeans/xbean/2.1.0/xbean-2.1.0.jar"/>
  <classpathentry kind="var"
path="M2_REPO/wsdl4j/wsdl4j/1.5.2/wsdl4j-1.5.2.jar"/>
  <classpathentry kind="var"
path="M2_REPO/javax/mail/mail/1.4/mail-1.4.jar"/>
  <classpathentry kind="var"
path="M2_REPO/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar"/>
  <classpathentry kind="var"
path="M2_REPO/org/codehaus/xfire/xfire-xmlbeans/1.1/xfire-xmlbeans-1.1.jar"/>
  <classpathentry kind="var"
path="M2_REPO/net/java/dev/stax-utils/stax-utils/20040917/stax-utils-20040917.jar"/>
  <classpathentry kind="var"
path="M2_REPO/org/codehaus/xfire/xfire-core/1.1/xfire-core-1.1.jar"/>
  <classpathentry kind="var"
path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
  <classpathentry kind="var"
path="M2_REPO/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar"/>
  <classpathentry kind="var"
path="M2_REPO/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar"/>
  <classpathentry kind="var"
path="M2_REPO/woodstox/wstx-asl/2.9.3/wstx-asl-2.9.3.jar"/>
  <classpathentry kind="var" path="M2_REPO/qdox/qdox/1.5/qdox-1.5.jar"/>
  <classpathentry kind="var"
path="M2_REPO/org/apache/ws/commons/XmlSchema/1.0.3/XmlSchema-1.0.3.jar"/>
  <classpathentry kind="var"
path="M2_REPO/org/apache/xbean/xbean-spring/2.3/xbean-spring-2.3.jar"/>
  <classpathentry kind="var" path="M2_REPO/jdom/jdom/1.0/jdom-1.0.jar"/>
  <classpathentry kind="var"
path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"/>
  <classpathentry kind="var"
path="M2_REPO/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.jar"/>
  <classpathentry kind="var"
path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/>
  <classpathentry kind="var"
path="M2_REPO/org/codehaus/xfire/xfire-annotations/1.1/xfire-annotations-1.1.jar"/>
  <classpathentry kind="var"
path="M2_REPO/org/codehaus/xfire/xfire-spring/1.1/xfire-spring-1.1.jar"/>
  <classpathentry kind="var"
path="M2_REPO/org/springframework/spring/1.2.6/spring-1.2.6.jar"/>
  <classpathentry kind="var"
path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar"/>
  <classpathentry kind="var"
path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
  <classpathentry kind="var"
path="M2_REPO/commons-attributes/commons-attributes-api/2.1/commons-attributes-api-2.1.jar"/>
</classpath>

[xfire].project:
<projectDescription>
  <name>xfire.demo.book</name>
  <comment/>
  <projects/>
  <buildSpec>
    <buildCommand>
      <name>org.eclipse.jdt.core.javabuilder</name>
      <arguments/>
    </buildCommand>
    <buildCommand>
      <name>org.eclipse.wst.validation.validationbuilder</name>
      <arguments/>
    </buildCommand>
  </buildSpec>
  <natures>
    <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
    <nature>org.eclipse.jdt.core.javanature</nature>
    <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
    <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
  </natures>
</projectDescription>

[xfire].project:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
        <name>xfire.demo.weppapp.test</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
                <buildCommand>
                        <name>org.eclipse.jdt.core.javabuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        
<name>org.eclipse.wst.common.project.facet.core.builder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        
<name>org.eclipse.wst.validation.validationbuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
        </buildSpec>
        <natures>
                
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
                <nature>org.eclipse.jdt.core.javanature</nature>
                
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
                <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
        </natures>
</projectDescription>
--
View this message in context: 
http://www.nabble.com/Maven-2-and-WTP-t1746013.html#a4766746
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to