ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Wood <kenneth.w...@e2open.com>
Subject RE: Urgent Please help with invoking ftp client on windows with a nt
Date Thu, 26 Feb 2004 19:55:46 GMT
I would begin by requesting help from the correct group.
This is the Ant DEVELOPERS list, your question is more
appropriate for the Ant USERS list.

-----Original Message-----
From: Majumdar, Anamitra [mailto:amajumda@visa.com] 
Sent: Thursday, February 26, 2004 1:50 PM
To: 'Ant Developers List'
Subject: Urgent Please help with invoking ftp client on windows with ant


Can somebody tell me how do I call  windows ftp client shell from and using
the exec or apply task

I am using syntax

         <exec  dir="${Outgoing.Input.Directory}/ftp"
executable="c:/winnt/system32/ftp.exe "  >
	      <arg value="10.200.141.143" />
	    </exec>

and I am receiving this error

     [exec] User (10.200.141.143:(none)):
     [exec] java.lang.reflect.InvocationTargetException
     [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
     [exec]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
     [exec]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
     [exec]     at java.lang.reflect.Method.invoke(Method.java:324)
     [exec]     at
org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(ProcessDes
troyer.ja
     [exec]     at
org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.java:
186)
     [exec]     at
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
     [exec]     at
org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:525)
     [exec]     at
org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:566)
     [exec]     at
org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:415)
     [exec]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
     [exec]     at org.apache.tools.ant.Task.perform(Task.java:364)
     [exec]     at org.apache.tools.ant.Target.execute(Target.java:301)
     [exec]     at org.apache.tools.ant.Target.performTasks(Target.java:328)
     [exec]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1215)
     [exec]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1063)
     [exec]     at org.apache.tools.ant.Main.runBuild(Main.java:632)
     [exec]     at org.apache.tools.ant.Main.startAnt(Main.java:183)
     [exec]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
     [exec]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
     [exec] Caused by: java.lang.IllegalStateException: Shutdown in progress
     [exec]     at java.lang.Shutdown.remove(Shutdown.java:102)
     [exec]     at java.lang.Runtime.removeShutdownHook(Runtime.java:218)
     [exec]     ... 20 more
     [exec] Result: 1

BUILD SUCCESSFUL
Total time: 26 seconds


Please help


Thanks
Anamitra
*650-432-4696


-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com]
Sent: Tuesday, February 24, 2004 7:10 AM
To: Ant Developers List
Subject: Re: cvs diff format


--- Peter Reilly <peter.reilly@corvil.com> wrote:
> Check the contents of your
> ~/.cvsrc file.

Hmmm.  I didn't have one.  Maybe it was inadvertently
blown away...

> It should have a line:
> diff -u
> 

That did it.  Thanks Peter!

-Matt

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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

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

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


Mime
View raw message