For some directories ant copies files into the wrong directory. The example show s that Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html is copied into BankCodeSearch.wo/BankCodeSearch.html and hence overwrites the different files in BankCodeSearch.wo/BankCodeSearch.html This happens not in ant version 1.6.1. example: wrong in 1.7.0: [woapplication] Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html added as Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html doesn't exist. [woapplication] Banking.subproj/BankCodeSearch.wo/BankCodeSearch.html added as BankCodeSearch.wo/BankCodeSearch.html doesn't exist. [woapplication] Banking.subproj/Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html added as BankCodeSearch.wo/BankCodeSearch.html doesn't exist. [woapplication] Copying /home/iceadm/src/apps/Viper/Banking.subproj/Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html to /home/iceadm/src/apps/Viper/dist/dbpbc.woa/Contents/Resources/BankCodeSearch.wo/BankCodeSearch.html [woapplication] Copying /home/iceadm/src/apps/Viper/Banking.subproj/BankCodeSearch.wo/BankCodeSearch.html to /home/iceadm/src/apps/Viper/dist/dbpbc.woa/Contents/Resources/BankCodeSearch.wo/BankCodeSearch.html ok in 1.6.1: [woapplication] Banking.subproj/BankCodeSearch.wo/BankCodeSearch.html added as BankCodeSearch.wo/BankCodeSearch.html doesn't exist. [woapplication] Banking.subproj/Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html added as BankCodeSearch.wo/BankCodeSearch.html doesn't exist. [woapplication] Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html added as Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html doesn't exist. [woapplication] Copying /Users/iceadm/work/src/apps/Viper/Banking.subproj/BankCodeSearch.wo/BankCodeSearch.html to /Users/iceadm/work/src/apps/Viper/dist/dbpbc.woa/Contents/Resources/BankCodeSearch.wo/BankCodeSearch.html [woapplication] Copying /Users/iceadm/work/src/apps/Viper/Banking.subproj/Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html to /Users/iceadm/work/src/apps/Viper/dist/dbpbc.woa/Contents/Resources/Mobile.lproj/BankCodeSearch.wo/BankCodeSearch.html
Can you provide an example build file please?
Created attachment 19432 [details] build file this is the build file we're using
The task in question is: woapplication http://wiki.objectstyle.org/confluence/display/WOL/WOProject-Ant It would seem that there is a regression in ant 1.7.0 for this task.
(In reply to comment #3) > The task in question is: woapplication > http://wiki.objectstyle.org/confluence/display/WOL/WOProject-Ant > > It would seem that there is a regression in ant 1.7.0 > for this task. Perhaps, but it's difficult to tell because there are so many variables. Even though we have a sample buildfile, we don't have a sample environment, so we can't see where the various resource files, which appear to actually belong to various filesets, actually reside. This becomes further complicated by the intricate mapping rules implemented by the WOMapper class. I'd love to have someone familiar with the third-party code provide more detail here.
I'm not sure if I can provide a dummy file set/application in an easy way to make that reproducible for you. I guess you'll need at least the sources of woproject.jar and maybe also WebObjects installation? I'll try to help as much as possible. ;-)