You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <da...@yahoo.com> on 2005/10/10 17:45:58 UTC
Re: svn commit: r312666 - in /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model: maven.xml project.properties
What does this jelly code do? If it updates older plans to the newer
schemas, should we work a bit to make the upgrading code in
SchemaConversionUtils more accessible to outside tools?
thanks
david jencks
On Oct 10, 2005, at 8:26 AM, sppatel@apache.org wrote:
> Author: sppatel
> Date: Mon Oct 10 08:26:43 2005
> New Revision: 312666
>
> URL: http://svn.apache.org/viewcvs?rev=312666&view=rev
> Log:
> fix for schema validation errors
>
> Modified:
>
> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/
> org.apache.geronimo.deployment.model/maven.xml
>
> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/
> org.apache.geronimo.deployment.model/project.properties
>
> Modified:
> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/
> org.apache.geronimo.deployment.model/maven.xml
> URL:
> http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-
> plugin/plugins/org.apache.geronimo.deployment.model/maven.xml?
> rev=312666&r1=312665&r2=312666&view=diff
> =======================================================================
> =======
> ---
> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/
> org.apache.geronimo.deployment.model/maven.xml (original)
> +++
> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/
> org.apache.geronimo.deployment.model/maven.xml Mon Oct 10 08:26:43
> 2005
> @@ -53,7 +53,10 @@
> <replaceregexp file="${schema}"
> match="schemaLocation="(.*/)(.*xsd)"
> replace="schemaLocation="\2" byline="true"/>
> <j:if
> test="${schema.getName().equals('geronimo-connector-1.0.xsd')}">
> <replaceregexp file="${schema}" match="(xs:import.*/>)"
> replace="\1${patch}"/>
> - </j:if>
> + </j:if>
> + <j:if
> test="${schema.getName().equals('geronimo-security-1.0.xsd')}">
> + <replaceregexp file="${schema}" match='(version="1.0">)'
> replace="\1${patch2}"/>
> + </j:if>
> </j:forEach>
> </goal>
>
>
> Modified:
> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/
> org.apache.geronimo.deployment.model/project.properties
> URL:
> http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-
> plugin/plugins/org.apache.geronimo.deployment.model/
> project.properties?rev=312666&r1=312665&r2=312666&view=diff
> =======================================================================
> =======
> ---
> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/
> org.apache.geronimo.deployment.model/project.properties (original)
> +++
> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/
> org.apache.geronimo.deployment.model/project.properties Mon Oct 10
> 08:26:43 2005
> @@ -1,2 +1,3 @@
> maven.jar.manifest=META-INF/MANIFEST.MF
> -patch=<xs:import namespace="http://www.w3.org/XML/1998/namespace"
> schemaLocation="xml.xsd"/>
> \ No newline at end of file
> +patch=<xs:import namespace="http://www.w3.org/XML/1998/namespace"
> schemaLocation="xml.xsd"/>
> +patch2=<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
> schemaLocation="xml.xsd"/>
> \ No newline at end of file
>
>
Re: svn commit: r312666 - in /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model:
maven.xml project.properties
Posted by Sachin Patel <sp...@gmail.com>.
Yes,
So I fed the scheams through some validations and there are several
validation errors reported that prevent my codegen from working
correctly. So I have hacks to include an import of the xml.xsd schema
to fix these. I was about to open a jira(s) to not only include these
validation errors but all validation errors reported for all the schema's
Sachin
David Jencks wrote:
> What does this jelly code do? If it updates older plans to the newer
> schemas, should we work a bit to make the upgrading code in
> SchemaConversionUtils more accessible to outside tools?
>
> thanks
> david jencks
>
> On Oct 10, 2005, at 8:26 AM, sppatel@apache.org wrote:
>
>> Author: sppatel
>> Date: Mon Oct 10 08:26:43 2005
>> New Revision: 312666
>>
>> URL: http://svn.apache.org/viewcvs?rev=312666&view=rev
>> Log:
>> fix for schema validation errors
>>
>> Modified:
>>
>> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml
>>
>>
>> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties
>>
>>
>> Modified:
>> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml
>>
>> URL:
>> http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml?rev=312666&r1=312665&r2=312666&view=diff
>>
>> ==============================================================================
>>
>> ---
>> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml
>> (original)
>> +++
>> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/maven.xml
>> Mon Oct 10 08:26:43 2005
>> @@ -53,7 +53,10 @@
>> <replaceregexp file="${schema}"
>> match="schemaLocation="(.*/)(.*xsd)"
>> replace="schemaLocation="\2" byline="true"/>
>> <j:if
>> test="${schema.getName().equals('geronimo-connector-1.0.xsd')}">
>> <replaceregexp file="${schema}" match="(xs:import.*/>)"
>> replace="\1${patch}"/>
>> - </j:if>
>> + </j:if>
>> + <j:if
>> test="${schema.getName().equals('geronimo-security-1.0.xsd')}">
>> + <replaceregexp file="${schema}" match='(version="1.0">)'
>> replace="\1${patch2}"/>
>> + </j:if>
>> </j:forEach>
>> </goal>
>>
>>
>> Modified:
>> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties
>>
>> URL:
>> http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties?rev=312666&r1=312665&r2=312666&view=diff
>>
>> ==============================================================================
>>
>> ---
>> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties
>> (original)
>> +++
>> geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/project.properties
>> Mon Oct 10 08:26:43 2005
>> @@ -1,2 +1,3 @@
>> maven.jar.manifest=META-INF/MANIFEST.MF
>> -patch=<xs:import namespace="http://www.w3.org/XML/1998/namespace"
>> schemaLocation="xml.xsd"/>
>> \ No newline at end of file
>> +patch=<xs:import namespace="http://www.w3.org/XML/1998/namespace"
>> schemaLocation="xml.xsd"/>
>> +patch2=<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
>> schemaLocation="xml.xsd"/>
>> \ No newline at end of file
>>
>>
>
>