Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 70913 invoked by uid 500); 17 Aug 2001 17:51:48 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 70904 invoked from network); 17 Aug 2001 17:51:48 -0000 Message-ID: <7D380B2F4B3BD411B748009027855234019E0FB8@laxchange.weddingchannel.com> From: Anthony Rodriguez To: "'ant-user@jakarta.apache.org'" Subject: Optional Task - CCCheckout Date: Fri, 17 Aug 2001 10:43:16 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N My company uses clearcase and I'm trying to use the CCCheckout task that's included in the 1.4 beta release of ant. Here is the part of my build.xml that defines the task: Here is what happens when I run "ant -v init checkout" at the command line: Ant version 1.4Beta1 compiled on August 9 2001 Buildfile: build.xml Detected Java version: 1.3 in: c:\jdk1.3.1\jre Detected OS: Windows 2000 parsing buildfile C:\views\ant_sview\build.xml with URI = file:C:/views/ant_sview/build.xml Project base dir set to: C:\ccviews\ant_sview\ Property ${classpath} has not been set Property ${home} has not been set Build sequence for target `init' is [init] Complete build sequence is [init, checkout] init: [property] Loading C:\Documents and Settings\ant\build.properties [property] Unable to find property file: C:\Documents and Settings\ant\build.properties Build sequence for target `checkout' is [checkout] Complete build sequence is [checkout, init] checkout: Total time: 1 second BUILD FAILED C:\ccviews\ant_sview\build.xml:68: The task doesn't support the "nowarn" attribute. at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHe lper.java:273) at org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:656) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig urable.java:143) at org.apache.tools.ant.Task.maybeConfigure(Task.java:178) at org.apache.tools.ant.Task.perform(Task.java:216) at org.apache.tools.ant.Target.execute(Target.java:164) at org.apache.tools.ant.Target.performTasks(Target.java:182) at org.apache.tools.ant.Project.executeTarget(Project.java:599) at org.apache.tools.ant.Project.executeTargets(Project.java:558) at org.apache.tools.ant.Main.runBuild(Main.java:453) at org.apache.tools.ant.Main.start(Main.java:154) at org.apache.tools.ant.Main.main(Main.java:177) The "init" part is just where I define a whole bunch of properties. But I keep getting this Message saying that doesn't support the "x" attribute. Whatever I put as the first attribute in the task, I get this error message saying it's not supported. I had the viewpath attribute in there before and got the same error. Any help to get this checkout working would be appreciated. (I have already written an exec task that checks out but I am more interested in getting this cccheckout task working.) -Anthony