-
1. Re: Error on Windows in trailblazer during ant configure ste
kurtstam Aug 15, 2006 10:09 AM (in response to marklittle)It's ant. If you want to use back-slashes you need to double them up, or else it thinks it's an escape character. In other words: it's safer to use all forward-slashes.
-
2. Re: Error on Windows in trailblazer during ant configure ste
marklittle Aug 15, 2006 10:11 AM (in response to marklittle)Is that ant or just the usual problem from C/C++ printf/sscanf days: \n is not the same as \\n for example?
-
3. Re: Error on Windows in trailblazer during ant configure ste
kurtstam Aug 15, 2006 10:40 AM (in response to marklittle)It's ant. Just add:
Running File Based Bank, dir= ${file.monitored.directory}
to the runFileBank task and you will see. -
4. Re: Error on Windows in trailblazer during ant configure ste
kurtstam Aug 15, 2006 10:45 AM (in response to marklittle)hmm. My echo tags where stripped in that post. Maybe I should have escape them with backslashes.
Running File Based Bank, dir= ${file.monitored.directory} -
5. Re: Error on Windows in trailblazer during ant configure ste
marklittle Aug 15, 2006 10:49 AM (in response to marklittle)You missed my point. In general, don't use a single backslash because in most cases I've encountered over the years (e.g., ant, cygwin), the C rules will be used for interpretation: \n is not the same as \\n.
-
6. Re: Error on Windows in trailblazer during ant configure ste
kurtstam Aug 15, 2006 11:04 AM (in response to marklittle)I still think it's ant. And my echo tags got stripped again, and it looked soo good in preview mode. On top of that, I don't like C ever since I learned how to do java. I give up, since I'm probably missing the point again anyway.
-
7. Re: Error on Windows in trailblazer during ant configure ste
marklittle Aug 15, 2006 11:05 AM (in response to marklittle)You're missing the point ;-) C is the only language you'll ever need.
-
8. Re: Error on Windows in trailblazer during ant configure ste
tfennelly Aug 16, 2006 6:14 AM (in response to marklittle)This was fixed yesterday - about the time these posts were being added. "ant configure" makes sure the path is appropriate for the OS and only contains "/" slashes.
E.g.
file.monitored.directory=C:/Tools/BossESB4.0_Beta1/docs/samples/trailblazer/bankloanbrokerdemo/TrailBlazer-rtfiles/BankInput
or
file.monitored.directory=/home/tfennelly/Tools/BossESB4.0_Beta1/docs/samples/trailblazer/bankloanbrokerdemo/TrailBlazer-rtfiles/BankInput -
9. Re: Error on Windows in trailblazer during ant configure ste
marklittle Aug 16, 2006 6:18 AM (in response to marklittle)Tom, to save people having to check out the svn source, is it possible to show the changes that you made so they can make them manually?
-
10. Re: Error on Windows in trailblazer during ant configure ste
tfennelly Aug 16, 2006 6:22 AM (in response to marklittle)Nope, because I extended that ant task I wrote. It's in svn so people would need to do an update anyway to get that. Sorry :-(
-
11. Re: Error on Windows in trailblazer during ant configure ste
marklittle Aug 16, 2006 6:26 AM (in response to marklittle)For those people who don't want to (or can't) check out the source, using / or \\ works though with what is currently available from the download page, right?
-
12. Re: Error on Windows in trailblazer during ant configure ste
tfennelly Aug 16, 2006 6:43 AM (in response to marklittle)Sure - a single forward slash ala "/" or an escaped backslash ala "\\". Easiest thing to do is just replace all unescaped "\" with "/".