> Disregard my previous e-mail on this. I have figured out the problems > I had. However, looking at the generated files, for subant and > whichresource, > a new (needed) column has been added for attributes - whether they are > required or not. How does one specify this and how does one specify that > one of a number of attributes are required? > For example in > http://ant.apache.org/manual-1.6beta/CoreTasks/whichresource.html > I assume that one of the attributes class or resource are required. > Peter
Do you asking how to specify AT THE MOMENT (saying this I hope it´s implemented) or how to specify IN THE FUTURE (when it is not implemented yet)? I realized that there was a thread about something like that so did a search on theaimsgroup: Steve started on http://marc.theaimsgroup.com/?l=ant-dev&m=102473037428552&w=2 "more undocumented attrs" (June 2002) Suggestions in the thread: @ant.internal=true Internal setters not to be documented in the manual Erik sais something about fallbacks on http://marc.theaimsgroup.com/?l=ant-dev&m=102474522902362&w=2 ... but I haven´t understood that ... Mmmh - not about "requires" ... I know that there was something ... Something in direction of /** @ant.require.group="one" */ public void setClass(...) /** @ant.require.group="one" */ public void setResource(...) Next search ... Antoine has summed up a discussion about generating manual on http://marc.theaimsgroup.com/?l=ant-dev&m=104179275111877&w=2 Erik starts a new thread about a newer version of the generator on http://marc.theaimsgroup.com/?l=ant-dev&m=104177858401000&w=2 (2003-01-05) - suggestion of @antdoc.example snippet="<foo />" description="Generates a default bar" (some good point against that: large snippets, mergepoints) Explanations of the use of mergepoints by Erik on http://marc.theaimsgroup.com/?l=ant-dev&m=104186638402086&w=2 Jan