Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 44635 invoked by uid 500); 17 Aug 2001 18:46:44 -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 44618 invoked from network); 17 Aug 2001 18:46:44 -0000 Message-ID: <3DAC9CD31458D411BCE700D0B75D0A130255C78E@ES09-HOU.bmc.com> From: "Vittoria, Felice" To: "'ant-user@jakarta.apache.org'" Subject: RE: Optional Task - CCCheckout Date: Fri, 17 Aug 2001 13:46:16 -0500 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 Anthony, I reread your email. Unfortunately, I don't have ClearCase so I can't test it. Hopefully someone else on this list can solve the problem. Felice -----Original Message----- From: Anthony Rodriguez [mailto:Anthony@WeddingChannel.com] Sent: Friday, August 17, 2001 1:08 PM To: 'ant-user@jakarta.apache.org' Subject: RE: Optional Task - CCCheckout I ran "ant -v checkout" and got the same error. There is really nothing in init that the checkout task depends on. Do I need something in init for the checkout task to work? -----Original Message----- From: Vittoria, Felice [mailto:Felice_Vittoria@bmc.com] Sent: Friday, August 17, 2001 11:00 AM To: 'ant-user@jakarta.apache.org' Subject: RE: Optional Task - CCCheckout would it be possible for you to supply the init target info? -----Original Message----- From: Anthony Rodriguez [mailto:Anthony@WeddingChannel.com] Sent: Friday, August 17, 2001 12:43 PM To: 'ant-user@jakarta.apache.org' Subject: Optional Task - CCCheckout 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