Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2621

FileOutboundChannelAdapterIntegrationTests does not pass on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Complete
    • 2.2 M3 Sprint 2
    • 2.2 M3 Sprint 3, 2.2 M3
    • Testing
    •  Windows

    Description

      The main issue is lying on File.separator which is different on different OSs.
      FileOutboundChannelAdapterIntegrationTests#saveToSubDirWithWrongExpression throws on Windows:

      java.lang.IllegalArgumentException: Destination path [target\base-directory\sub-directory\foo.txt] does not point to a directory.

      which isn't the same what expected:

      Destination path [target/base-directory/sub-directory/foo.txt] does not point to a directory.

      Attachments

        Issue Links

          Activity

            People

              abilan Artem Bilan
              abilan Artem Bilan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.25d
                  0.25d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.25d
                  0.25d