Aaron Tarter wrote: > > Thanks franz for digging out the info. That will suit my needs for now. > Do > you know if there is any plan to formalize a schema? > > On 8/30/06, franz see <[EMAIL PROTECTED]> wrote: >> >> >> > Does anyone know where I can find the maven2 archetype descriptor >> schema? >> > >> > -- >> > Regards, >> > Aaron J Tarter >> >> Good day to you, Aaron, >> >> Maven 2 Archetype descriptor does not exactly have a DTD, but it's >> something >> like this: >> >> <!DOCTYPE archetype [ >> <!ELEMENT archetype ( id, allowPartial?, sources?, testSources?, >> resources?, testResources?, siteResources? )> >> <!ELEMENT id (#PCDATA) > >> <!ELEMENT allowPartial (#PCDATA) > >> <!ELEMENT sources (source*) > >> <!ELEMENT testSources (source*) > >> <!ELEMENT resources (resource*) > >> <!ELEMENT testResources (resource*) > >> <!ELEMENT siteResources (resource*) > >> >> <!ATTLIST source encoding CDATA #IMPLIED > >> <!ATTLIST resource encoding CDATA #IMPLIED > >> <!ATTLIST resource filtered CDATA #IMPLIED > >> ]> >> >> ..that is if i understand org.apache.maven.archetype.DefaultArchetype >> correctly ^_^ >> >> * to specify allowPartial to be true, you can put in the value "on", >> "true", >> or "1"...otherwise, it'll be set to false. >> >> * for the resource encoding, if the resource ends with .properties, the >> encoding would be "iso-8859-1". The values available are limited to those >> charsets supported by the Java platform, namely US-ASCII, ISO-8859-1, >> UTF-8, >> UTF-16BE, UTF-16LE, and UTF-16 >> >> Cheers >> Franz >> -- >> View this message in context: >> http://www.nabble.com/archetype-descriptor-schema--tf2181358.html#a6052980 >> Sent from the Maven - Users forum at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Regards, > Aaron J Tarter > > Good day to you, Aaron, Sorry, i do not. But you may want to watch and/or vote for this jira issue, http://jira.codehaus.org/browse/ARCHETYPE-47 ^_^ Cheers, Franz -- View this message in context: http://www.nabble.com/archetype-descriptor-schema--tf2181358.html#a6061573 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
