Where to change the name of the project?

Asked

Viewed 2,088 times

-1

  • 1

    Do you want to change the context from Trust to Forecast to Right Sales? Which server are you using?

  • I’m doing Tomcat 8.5

2 answers

3


This varies depending on the server.


Tomcat

The context root in the project properties. For this, access the project properties (ALT + ENTER) and select Web Project Settings:

inserir a descrição da imagem aqui


Jboss

In the case of Jboss it is necessary to add the file jboss-web.xml inside WEB-INF with the content:

<jboss-web>
    <context-root>PrevisaoVendas</context-root>
</jboss-web>

For the other servers I do not know how it works. I always handled these two only.

0

Inside the archive pom.xml you can find these settings, just modify:

<groupId>br.com.home</groupId>
<artifactId>PrevisaoVendas</artifactId>
<version>1.0</version>
<packaging>war</packaging>
<name>PrevisaoVendas</name>
  • 1

    @diegofm encotra? Got the flu?

  • @Blogger was not my mistake, it was the author, I only removed the snippet.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.