List Info

Thread: DO NOT REPLY New: - symlink fails on second call




DO NOT REPLY New: - symlink fails on second call
user name
2006-01-09 15:37:19
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=38
199>.
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=38199

           Summary: symlink fails on second call
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: devant.apache.org
        ReportedBy: jhatfielyahoo.com


The second time a symlink line gets called, it fails. 
Specificially, I was
seeing this when a symlink was being created in a dependent
target, but you can
get the same result by calling ant with the same target name
twice on the
command line.

Run the (to be attached) build.xml file either way, and it
will fail with:
build.xml:14: Must define the resource to symlink to!

Of course, it works the first time through the target.

ant taska taskb
ant subtask subtask

Both fail as described above.

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

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org

DO NOT REPLY - symlink fails on second call
country flaguser name
United States
2007-08-09 14:55:43
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=38
199>.
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=38199





------- Additional Comments From jkellerberkeley.edu  2007-08-09 12:55 -------
Created an attachment (id=20626)
 --> (http://issues.apache.org/bugzilla/attac
hment.cgi?id=20626&action=view)
another build.xml illustrating problem!

Here are the results of this build.xml file =>
test1:
  [symlink] ln -s bar foo

test2:
  [symlink] ln -s bar foo
  [symlink] /bin/ln: `foo': File exists

BUILD FAILED
build.xml:6: ln failed with return code 1

------
It seems that neither "overwrite" and
"failonerror" is working as expected. (I
would expect "overwrite=true" to prevent this
problem, and "failonerror=false"
to stop the build from failing when the problem does
occur.)

When I do "ln -s -f bar foo" from the command
line, it works fine.


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

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


DO NOT REPLY - symlink fails on second call
country flaguser name
United States
2007-09-19 07:29:51
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=38
199>.
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=38199


stevelapache.org changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From stevelapache.org  2007-09-19 05:29 -------
fixed in SVN

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

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )