You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/01/19 17:11:08 UTC

DO NOT REPLY [Bug 41413] New: - ant copy to wrong directory

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41413

           Summary: ant copy to wrong directory
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: mlwl@gft.com


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 41413] - woproject woapplication copy to wrong directory

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41413


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression
             Status|NEEDINFO                    |ASSIGNED
            Summary|ant copy to wrong directory |woproject woapplication copy
                   |                            |to wrong directory




------- Additional Comments From peterreilly@apache.org  2007-01-19 08:59 -------
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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 41413] - woproject woapplication copy to wrong directory

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41413





------- Additional Comments From gudnabrsam@yahoo.com  2007-01-19 11:06 -------
(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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 41413] - woproject woapplication copy to wrong directory

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41413





------- Additional Comments From mlwl@gft.com  2007-01-19 13:11 -------
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. ;-) 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 41413] - ant copy to wrong directory

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41413





------- Additional Comments From mlwl@gft.com  2007-01-19 08:31 -------
Created an attachment (id=19432)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19432&action=view)
build file

this is the build file we're using

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 41413] - ant copy to wrong directory

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41413


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From peterreilly@apache.org  2007-01-19 08:25 -------
Can you provide an example build file please?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org