You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


DRAFT: What are the changes to the deployment plans. Backward compatibility.

Basically replace the old structure containing the configId as shown in the following example

<?xml version="1.0"?>
<web-app 
   xmlns="http://geronimo.apache.org/xml/ns/web" 
   xmlns:naming="http://geronimo.apache.org/xml/ns/naming"
   configId="HelloWorld">

   <context-root>/hello</context-root>

</web-app>

Replace the previous line with the following structure:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1">
  <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
    <dep:moduleId>
      <dep:groupId>geronimo</dep:groupId>
      <dep:artifactId>HelloWorld</dep:artifactId>
      <dep:version>1.1</dep:version>
      <dep:type>war</dep:type>
    </dep:moduleId>

<!-- if needed uncomment these lines

	<dep:dependencies>
	  <dep:dependency />
	</dep:dependencies>

	<dep:hidden-classes/>

	<dep:non-overridable-classes/>
-->

  </dep:environment>

  <context-root>/hello</context-root>

</web-app>
  • No labels