Originally posted by: SystemAdmin
Hello,
Can you help me with this issue please?
I have a problem with launching a compiled WTX map using Command Server and Apache Ant build script when there are any spaces in the path to that map. When there are no spaces, everything works.
I attach an example map and a build script. The script contains 4 targets:
1. compile_test - compiles the map source file, works without errors using any path to a map source file
2. execute_test_1 - executes successfully because no spaces are used in paths
3. execute_test_2 - fails bacause of spaces in paths
4. execute_test_3 - fails bacause of spaces in paths
I tryed to use different argument-passing options like <arg line.. > in exec and spent a lot of time without success.
My environment:
Windows XP Service Pack 3
Apache Ant version 1.7.0
Maps were created using WTX Map Designer Version 8.1.0.3 Build 37
When compiling maps sources from command line mcompile command line utility was used (Version 8.1.0.3 (37))
I am using Command Server Version 8.2(52) to launch compiled maps.
I would like to know how to change execute_test_2 and execute_test_3 targets in Ant build script to be able to launch maps that are located in directories that contain spaces in their names. I tried adding single quotes without success.
Thank you.
Igor
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange