Hi, This might seem to be a simple question. I am trying to write to a build.xml to fetch all the files from Microsoft Visual Sourcesafe. The script should fetch all the files after a specified date. I am seeing the following error: what is the fix: ----------------------------- ERROR:
Buildfile: build.xml fetch: BUILD FAILED file:C://build.xml:8: java.io.IOException: CreateProcess: \\10.154.87.24\gif_vss \SS.EXE\ss Get "$$/PMO/Source Code/Production/GIFPMO/SourceCode/src" -GLC:\gm o\src -I- -Ygoneln,tester123 error=3 Total time: 1 second ----------------------------- <project name="GMO" default="fetch"> <description>GMO Build </description> <target name="fetch" description="Fetch the source " > <vssget localPath="C:/gmo/src" login="test,wipro123" ssdir="\\10.154.87.24\gif_vss\SS.EXE" serverPath="\\10.154.87.24\win32\srcsafe.ini" vsspath="$/PMO/SourceCode/Production/GMO/SourceCode/src"/> </target> </project> FYI: The sourcesafe is installed on a different system. Thanks & Regards, Gonella N.V.Jayprakash -----Original Message----- From: Master, Tariq (Abbeywood) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 3:34 PM To: user@ant.apache.org Subject: No public execute() in com.mydomain.AllUpperCaseCondition I get an error making my own custom condition. I am using the example on: http://ant.apache.org/manual/CoreTypes/custom-programming.html#customcon ditions It looks like AntTypeDefinitions wants it to have an execute() method, though the dev guide states not to (I even checked the other condition sources). I was a bit confused by TaskAdapter.java's javadocs which seem to indicate a condition needs an execute, but ConditionTask calls eval() only. Output: mytest: No public execute() in class com.bp.ist.ops.build.AllUpperCaseCondition BUILD FAILED C:\WORK\build.xml:168: No public execute() in class com.mydomain.AllUpperCaseCondition at org.apache.tools.ant.TaskAdapter.checkTaskClass(TaskAdapter.java:70) at org.apache.tools.ant.TaskAdapter.checkProxyClass(TaskAdapter.java:85) at org.apache.tools.ant.AntTypeDefinition.checkClass(AntTypeDefinition.java :248) at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:476) at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut or.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Total time: 1 second C:\WORK>ant -v -debug mytest Environment: Apache Ant version 1.6.5 compiled on June 2 2005 Detected Java version: 1.4 in: C:\j2sdk1.4.2_11\jre Detected OS: Windows XP What am I doing wrong? Tariq The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]