IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Changing namespaces in huge project

    Posted 04/10/17 07:46 AM

    Hello,

    My project has a lot of packages and a lot of custom JAVA code inside.
    Im trying change root namespace for some common packages (example: now NS is company1.common.* changing to company2.common.*) Just renaming root folder via Designer is not applicable for me because of tons of references (it tool 1 day for one package, too slow...) Tried change NS using file system by find-replace in all files, except flow.xml.bak, but now I have issue with compiled java files, which are facing to old package namespace. Recompiling doesn't helped.

    Maybe someone faced with similar problem?


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 2.  RE: Changing namespaces in huge project

    Posted 04/11/17 06:38 AM

    Hi,

    Have you run a replacing script (sed or other) on the source files before reloading the packages?

    Best Regards,


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods