You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "O'Hara, Patrick" <pa...@workscape.com> on 2001/05/23 18:34:39 UTC

I am a little confused about tasks

I am adding a new Star Team task to label the source.  I have also modified
the Star Team check out task to take a label.  I assume I have to add a task
def for my new task, but I don't see where the task def for the Star Team
check out task is.  Is this automatic?  Is there a config file somewhere I
have overlooked?

Pat O
pdohara@techneex.com


Re: I am a little confused about tasks

Posted by Nico Seessle <ni...@apache.org>.
I am a little confused about tasks
  From: O'Hara, Patrick 
  To: Ant User Mailing List (E-mail) 
  Sent: Wednesday, May 23, 2001 6:34 PM
  Subject: I am a little confused about tasks


  I am adding a new Star Team task to label the source.  I have also modified the Star Team check out task to take a label.  I assume I have to add a task def for my new task, but I don't see where the task def for the Star Team check out task is.  Is this automatic?  Is there a config file somewhere I have overlooked?

  Pat O 
  pdohara@techneex.com 

It's hidden in ant.jar: 

C:\Java\work\jakarta-ant\build>jar tvf lib\ant.jar | grep defaults
  5818 Tue May 01 13:30:22 GMT+02:00 2001 org/apache/tools/ant/taskdefs/defaults.properties
   174 Fri Nov 17 11:00:58 GMT+01:00 2000 org/apache/tools/ant/types/defaults.properties


The first file defines the tasks, the second one the types (fileset, etc). 

They don't contain taskdef's, simply lines mapping a taskname to a classname. 

Nico




Re: I am a little confused about tasks

Posted by Diane Holt <ho...@yahoo.com>.
--- "O'Hara, Patrick" <pa...@workscape.com> wrote:
> I am adding a new Star Team task to label the source.  I have also
> modified the Star Team check out task to take a label.  I assume I have
> to add a task def for my new task, but I don't see where the task def
> for the Star Team check out task is.  Is this automatic?  Is there a
> config file somewhere I have overlooked?

It's in defaults.properties, in org/apache/tools/ant/taskdefs:
  starteam=org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/