Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-978

Switchyard not generating "component" tags in switchyard.xml, if workspace-path contains space

    Details

    • Steps to Reproduce:
      Hide

      Copy the component-rules quickstart directory to a workspace whose path contains a space.

      Run it (as a maven build).

      Observe that build is successful.

      Now look at the switchyard.xml file in target/classes/META-INF of your project root. See that the "component" tag for the rule-service is not generated there.

      Show
      Copy the component-rules quickstart directory to a workspace whose path contains a space. Run it (as a maven build). Observe that build is successful. Now look at the switchyard.xml file in target/classes/META-INF of your project root. See that the "component" tag for the rule-service is not generated there.

      Description

      I had posted this in discussion forum first, and after a suggestion by developers, filing it here. Not sure if this is fixed in the latest version (0.5).

      I downloaded switchyard 0.4, and ran the quickstarts (especially, bean service and rule service). I copied the code, modified it a bit to create my "hello-world" example, in my workspace, and it won't work.

      As in, the project was getting built successfully, but finally, the "component" tags which should be generated for each service, were not getting generated (I had disabled the testing class for all this time).

      I noticed that the switchyard quickstarts was on C: and my workspace was on the Desktop (i.e. the path to it contained spaces, as in "Documents and Settings", etc). So I shifted my workspace to C: and it started working.

      To double check this, I created two new workspaces, one on C:, other on Desktop, created the same project from scratch in both of these workspaces, and ran them. The one on C: generated the switchyard.xml properly, the other one didn't.

      Please let me know if I should provide information to reproduce the behaviour.

        Gliffy Diagrams

          Attachments

          1. switchyard.xml
            0.5 kB
          2. switchyard.xml
            1 kB
          3. switchyard-latest-NOSPACE.xml
            1 kB
          4. switchyard-latest-SPACE.xml
            1 kB

            Activity

              People

              • Assignee:
                mageshbk Magesh Bojan
                Reporter:
                avadhut.sardeshmukh Avadhut Sardeshmukh
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: