Rename servlet plugin?

I have created a servlet plugin module and then I want to change its name. But the atlassian-plugin.xml does not update the class name automaticly.

Manually changing the class name works. But is there some side effect?

2 answers

Hi,

there are two scenarios

1)you want to rename "Servlet plugin name" go to pom.xml change <artifactId>new servlet plugin name</artifactId>

<name>new name</name>

once you compile in this way you could see change your servlet plugin name.

2) you want to rename the specific class- Make appropreate changes in the class first change class name.

replace entry with new class in the atlassian-plugin.xml.you can see internaly class change but you can-not view it.

1 vote
Mizan Community Champion Jun 11, 2012

Changing the class name in atlassian-plugin.xml wont update the class name automatically .

I dont think it will cuase any side effect .

I hope you have renamed the class name wherever it was earlier being used.

Is there a way to remove a module?

Mizan Community Champion Jun 12, 2012

You will have to remove it from the atlassian-plugin.xml . You can also disable it after you install the plugin . What are you trying to do ?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

243 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you