[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binarycloud-dev
Subject:    Re: [binarycloud-dev] New Package Xml Format
From:       Andreas Aderhold <a.aderhold () thyrell ! com>
Date:       2002-10-31 14:49:56
[Download RAW message or body]

Hi,

>>             <file tasks="ent2qry, ent2schema, bcc"
>>             type="entity">App.php</file>
>
> Why not simply have type attribute,
> and in a phing-conf file, have
>   <tasks-rules>
>      <tasks for-file-types="entity">
>          ent2qry, ent2schema, bcc
>      </tasks>
>   </tasks-rules>

That's sorta what Andrus was working on. Pattern files that tell configure 
that a file that holds patterns that apply to the task the pattern file 
belongs to. I.e. bcc task has a pattern file:

*.php
*.html
...

That's baiscally done inline the generic build.xml file.

> so specifying tasks would be necessary only for user designed tasks ?
>
>  > phing add FileName.php
>  > ... File added
>  > ... Edit package.xml to set the type and tasks.
>
> or
> phing add-entity EntityFile.xml
> phing add-class  ClassFile.php

I've to admit i can't follow that ..


.andi

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@binarycloud.tigris.org
For additional commands, e-mail: dev-help@binarycloud.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic