ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject Re: ClearCase <ccheckout> task (ant1.4)
Date Fri, 17 Aug 2001 21:31:25 GMT
Compile the source yourself.  declare a new taskdef

retry

----- Original Message -----
From: "Anthony Rodriguez" <Anthony@WeddingChannel.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, August 17, 2001 3:20 PM
Subject: RE: ClearCase <ccheckout> task (ant1.4)


> I changed my task to this:
> <target name="checkout">
>      <cccheckout
>         cleartooldir="c:/Program Files/Rational/ClearCase/bin/"
>         viewpath="c:/ant_sview/ant_vob/specific.file"
>         nowarn="true"
>         reserved="true"
>         comment="Test"
>         branch="ant_branch"
>         out="report.txt"
>      />
>    </target>
>
>
> And when I ran "ant -v checkout", I got this:
>
> 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:\ant_Build\build.xml with URI =
> file:C:/ant_Build/build.xml
> Project base dir set to: C:\ant_Build
> Property ${classpath} has not been set
> Property ${home} has not been set
> Build sequence for target `checkout' is [checkout]
> Complete build sequence is [checkout]
>
> checkout:
>
> BUILD FAILED
>
> C:\ant_Build\build.xml:81: The <cccheckout> task doesn't support the
> "cleartooldir" attribute.
>         at
>
org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.ja
> va:273)
>         at
> org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:656)
>         at
>
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.
> 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)
>
> Total time: 1 second
>
> It doesn't matter what attribute I put, when I run the task it says the
> attribute is unsupported.  Does anyone have this working?
>
> -Anthony
>
> -----Original Message-----
> From: T Master [mailto:tmaster@iknowledgeinc.com]
> Sent: Friday, August 17, 2001 12:38 PM
> To: ant-user@jakarta.apache.org
> Subject: ClearCase <ccheckout> task (ant1.4)
>
>
> 1.  You did not say which attribute was not supported.  Error reports are
> nice to read :o)
> 2.  Here is what I have assertained from the source of the task.
>
>    <target name="checkout">
>      <cccheckout
>         cleartooldir="cleartool_dir_path"
>         viewpath="c:/ant_sview/ant_vob/specific.file"
>         nowarn="true"
>         reserved="true"
>         comment="Test"
>         commentfile="commentfile"
>         branch="branchname"
>         out="output_filename"
>      />
>    </target>
>
> I don't use clearcase, so am unable to test.
>
> T Master.
>
> ----- Original Message -----
> From: "Anthony Rodriguez" <Anthony@WeddingChannel.com>
> To: <ant-user@jakarta.apache.org>
> Sent: Friday, August 17, 2001 1:01 PM
> Subject: RE: JDependTask (ant1.4 beta1)
>
>
> > Interesting about the comments being incorrect.  That would make using
the
> > task more difficult.  I'm not really trying to checkout a directory or a
> > bunch of files.  I'm merely trying to check out one specific file so my
> task
> > really looks like this:
> >
> >   <target name="checkout">
> >     <cccheckout viewpath="c:/ant_sview/ant_vob/specific.file"
> nowarn="true"
> > reserved="true" comment="Test"/>
> >   </target>
> >
> > I'm still getting the attribute not supported error.  Since the comments
> > about the task are wrong, could I be using the wrong names for the
> > attributes?  If anyone has this task working, please post the exact
syntax
> > you used.  Thank you.
> >
> > -Anthony
> >
> > -----Original Message-----
> > From: T Master [mailto:tmaster@iknowledgeinc.com]
> > Sent: Friday, August 17, 2001 11:49 AM
> > To: ant user mailist
> > Subject: RFE: JDependTask (ant1.4 beta1)
> >
> >
> >
> > I have used this task, and here are the problems with it:
> >
> > 1. Comments are incorrect.
> > 2. The sourcespath fileset has to have explicit path elements for each
> > directory exactly.   A smarter move would be to use DirectoryScanner to
> > obtain all the included directories, from a fileset.  I prefer a
<fileset>
> > to a <path> tag.  Less typing then.
> >
> >
> > T Master.
> >
>


Mime
View raw message