Rebuilding services
Service-Builder provides the ability to build services and models automatically. However, there are a few scenarios where you need to rebuild services against service.xml
. The following is a list of possible use cases:
Use case 1: Change
package-path
to a different value such ascom.bookpub.knowledgebase
and / or changename-space
to another value such asKBM
Use case 2: Change the entity name to a different value such as
KBArticle
Use case 3: Update the columns, finders, orders, relationship, references, and exceptions
Use case 4: Update signatures (and add new methods) in
local-service-impl
and / orfinder-impl
and / or update constrainthint
inportlet-model-hints.xml
Use case 5: Use other databases in plugins
In use cases 1 and 2, you should clean up the database and plugin source code and rebuild the services. In use cases 3 and 4, you could simply run the Ant target build-service
. In use case 5, you have to use a database other than the default portal database.