3 Replies Latest reply on Aug 13, 2013 11:58 AM by Jae Hui

    bean scanner trigger

    Jae Hui Newbie

      What triggers the BeanSwitchYardScanner maven plugin? I would assume a file change, but that appears not to be the case. I edited a SW Service in vi, saved it, and the switchyard.xml not updated, No change. but a chnage happns to file when changed in jboss tool. Thanks for help!

        • 1. Re: bean scanner trigger
          David Ward Master

          Do you have the BeanSwitchYardScanner set up in your switchyard:configure maven plugin (in your pom.xml)?

          If not, you should add it.  If so, try a clean before your build. i.e.: "mvn clean install"

           

          Also, and this might be what you're experiencing…

          The output of the eclipse tooling will overwrite src/main/resources/META-INF/switchyard.xml.

          However, the output of mvn running the scanner(s) will be target/classes/META-INF/switchyard.xml.  So, look there too.

          1 of 1 people found this helpful
          • 2. Re: bean scanner trigger
            Rob Cernich Master

            If you are using the SwitchYard tooling, the Eclipse auto-build will compile the modified file, which will trigger execution of the SwitchYard configure goal defined in your pom.  If you edit the file outside Eclipse, you will have to manually build your project (as David suggested) or refresh the modified file in your Eclipse workspace.

             

            Hope that helps,

            Rob

            • 3. Re: bean scanner trigger
              Jae Hui Newbie

              So it is the build that triggers it. Thanks.

              1 of 1 people found this helpful