ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34257] New: - Add the SITE command as an action
Date Thu, 31 Mar 2005 21:44:47 GMT
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=34257>.
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=34257

           Summary: Add the SITE command as an action
           Product: Ant
           Version: unspecified
          Platform: Other
               URL: http://hem.bredband.net/b291533/FTP.java.patch.txt
        OS/Version: other
            Status: NEW
          Keywords: PatchAvailable
          Severity: enhancement
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: erikmattsson@home.se


In my work when creating a fully automaic test process on winCE devices, I
needed a way to talk to a FTP server and issue certain SITE commands. (The SITE
command can start programs on the device, boot the device, etc). 
The ANT FTP taks can do most of the things I want, move files back and forth;
but it could not issue specific SITE commands. (Even if the code is already there).

So I implemented a SITE action, which takes a "sitecommand" attribute.  The
result of the implementation looks like this in an ANT project file:
<ftp server="localhost" userid="erik" password="" action="site" sitecommand="run
'\Temp\TestCore.exe'"/>

I made a patch to the latest source code in the CVS and it is available at
http://hem.bredband.net/b291533/FTP.java.patch.txt

This is the first time Ive done an ANT task, so it might have some sever
problems in it. It would be very nice to have such functionality in the FTP
task, and I hope you will add it. 
Sometimes you need to go outside the file gathering and do other stuff.

-- 
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


Mime
View raw message