On 8/8/01 8:19 PM, "Sam Ruby" <[EMAIL PROTECTED]> wrote:

> Jason van Zyl.
>> 
>>>  <project href="project/jakarta-ant.xml">
>>>  <project name="jakarta-ant">
>> 
>> These are in the profile descriptors, I'm not sure what you are trying to
>> elicit but at the moment I don't see why the href=X isn't sufficient.
> 
> The first is in the profile.  The second is in the referenced file.
> 
> What I am trying to elicit is a concrete proposal.  If it helps, let me add
> a third line to this query:
> 
>  <depend project="jakarta-ant">
> 
> The specific question is: if I "push down" the project so that it is nested
> inside of another element (named what?), when what "handle" should be on
> that outer element, and how should it be referenced?

Maybe we could specify the default/main target in the project descriptor?
Or maybe we give the targets names and than hook onto a target by name:

<depend project="jakarta-ant" target="bootstrap"/>

jakarta-ant.xml
---------------

<project>
  <target name="bootstrap">
    <depend project="jaxp" target="1.0.1"/>
    <script name="bootstrap"/>
    <home nested="bootstrap"/>
    <jar name="lib/ant.jar"/>
  </target>

  </target>
  </target>
</project>

Maybe if there is always a "default" target than if a target= attribute
isn't specified it will be used.
 
>> I don't have a proposal that doesn't involve changing the project
>> descriptors, I don't feel they are correct in their current form, you feel
>> they are fine. C'est la vie :-) If I can get the digester to work on the
>> descriptors in their current form I will use what you have, if it doesn't
> I
>> will use something else.
> 
> Come on.  I said let me know what you would like to see, and I will make it
> happen.

I wasn't thinking that way, I posted a question about using the digester
with the profiles in there current form so someone can help me do it. I'm
sure it can be done I was just pushing for clarity in the descriptors.
 
> - Sam Ruby
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to