You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Roelof Blom (JIRA)" <ib...@incubator.apache.org> on 2005/06/14 14:55:48 UTC

[jira] Created: (IBATISNET-81) SqlMap validation

SqlMap validation
-----------------

         Key: IBATISNET-81
         URL: http://issues.apache.org/jira/browse/IBATISNET-81
     Project: iBatis for .NET
        Type: Bug
    Versions: DataMapper 1.2.1    
    Reporter: Roelof Blom
 Assigned to: Gilles Bayon 
    Priority: Minor


When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]

===================================================================
--- IBatisNet.DataMapper.build	(revision 190584)
+++ IBatisNet.DataMapper.build	(working copy)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<project name="IBatisNet.DataMapper" default="build">
+<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
     <!--
         Required properties:
             * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
@@ -19,6 +19,10 @@
             <resources basedir="Resources">
                 <include name="**/*" />
             </resources>
+            <resources basedir="." prefix="IBatisNet.DataMapper.">
+                <include name="SqlMapConfig.xsd" />
+                <include name="SqlMap.xsd" />
+            </resources>
             <references basedir="${build.dir}/bin">
                 <include name="*.dll"/>
                 <exclude name="${nant.project.name}.dll"/>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATISNET-81) SqlMap validation

Posted by "Ron Grabowski (JIRA)" <ib...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/IBATISNET-81?page=comments#action_12322994 ] 

Ron Grabowski commented on IBATISNET-81:
----------------------------------------

Close the task Roberto?

> SqlMap validation
> -----------------
>
>          Key: IBATISNET-81
>          URL: http://issues.apache.org/jira/browse/IBATISNET-81
>      Project: iBatis for .NET
>         Type: Bug
>   Components: DataAccess
>     Versions: DataMapper 1.2.1
>     Reporter: Roelof Blom
>     Assignee: Roberto Rabe
>     Priority: Minor
>  Attachments: IBatisNet.DataMapper.build.patch
>
> When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]
> ===================================================================
> --- IBatisNet.DataMapper.build	(revision 190584)
> +++ IBatisNet.DataMapper.build	(working copy)
> @@ -1,5 +1,5 @@
>  <?xml version="1.0"?>
> -<project name="IBatisNet.DataMapper" default="build">
> +<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
>      <!--
>          Required properties:
>              * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
> @@ -19,6 +19,10 @@
>              <resources basedir="Resources">
>                  <include name="**/*" />
>              </resources>
> +            <resources basedir="." prefix="IBatisNet.DataMapper.">
> +                <include name="SqlMapConfig.xsd" />
> +                <include name="SqlMap.xsd" />
> +            </resources>
>              <references basedir="${build.dir}/bin">
>                  <include name="*.dll"/>
>                  <exclude name="${nant.project.name}.dll"/>
> </textarea>
>                     </td>
>     </tr>
>     
>                     
>                 
>             
>                 
>                 
>                     
>                     
>                         
>                     
>                 
>             
>         
>         
>             
>     <tr><td colspan=2 bgcolor=ffffff>&nbsp;
>     <style>
>     <!--
>     .fieldLabelArea
>     {
>         width: 30%;
>     }
>     -->
>     </style>
>     </td></tr>
>     <tr><td colspan=2 bgcolor=f0f0f0>
>         <b>Comment</b>: (an optional comment describing this update)
>     </td></tr>
>     
> 	
> 	<tr 
>         
>         
>     >
> 		
> 		
> 			
> 			
> 				<td class="fieldLabelArea">
> 			
> 		
>         
>         
>  		
> 		Update comment:
>         
>         
> 		</td>
> 	
> 	
> 	<td bgcolor="ffffff" nowrap class="fieldValueArea">
> <textarea name="comment"
>           cols="70"
>           rows="4"
>           wrap="virtual"
>             
>             
>             style="width:90%"
>          
>          
>             
>          
>          
>             accesskey="m"
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
> >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATISNET-81) SqlMap validation

Posted by "Roberto Rabe (JIRA)" <ib...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/IBATISNET-81?page=comments#action_12316586 ] 

Roberto Rabe commented on IBATISNET-81:
---------------------------------------

In SVN.  Thanks!

> SqlMap validation
> -----------------
>
>          Key: IBATISNET-81
>          URL: http://issues.apache.org/jira/browse/IBATISNET-81
>      Project: iBatis for .NET
>         Type: Bug
>   Components: DataAccess
>     Versions: DataMapper 1.2.1
>     Reporter: Roelof Blom
>     Assignee: Roberto Rabe
>     Priority: Minor
>  Attachments: IBatisNet.DataMapper.build.patch
>
> When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]
> ===================================================================
> --- IBatisNet.DataMapper.build	(revision 190584)
> +++ IBatisNet.DataMapper.build	(working copy)
> @@ -1,5 +1,5 @@
>  <?xml version="1.0"?>
> -<project name="IBatisNet.DataMapper" default="build">
> +<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
>      <!--
>          Required properties:
>              * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
> @@ -19,6 +19,10 @@
>              <resources basedir="Resources">
>                  <include name="**/*" />
>              </resources>
> +            <resources basedir="." prefix="IBatisNet.DataMapper.">
> +                <include name="SqlMapConfig.xsd" />
> +                <include name="SqlMap.xsd" />
> +            </resources>
>              <references basedir="${build.dir}/bin">
>                  <include name="*.dll"/>
>                  <exclude name="${nant.project.name}.dll"/>
> </textarea>
>                     </td>
>     </tr>
>     
>                     
>                 
>             
>                 
>                 
>                     
>                     
>                         
>                     
>                 
>             
>         
>         
>             
>     <tr><td colspan=2 bgcolor=ffffff>&nbsp;
>     <style>
>     <!--
>     .fieldLabelArea
>     {
>         width: 30%;
>     }
>     -->
>     </style>
>     </td></tr>
>     <tr><td colspan=2 bgcolor=f0f0f0>
>         <b>Comment</b>: (an optional comment describing this update)
>     </td></tr>
>     
> 	
> 	<tr 
>         
>         
>     >
> 		
> 		
> 			
> 			
> 				<td class="fieldLabelArea">
> 			
> 		
>         
>         
>  		
> 		Update comment:
>         
>         
> 		</td>
> 	
> 	
> 	<td bgcolor="ffffff" nowrap class="fieldValueArea">
> <textarea name="comment"
>           cols="70"
>           rows="4"
>           wrap="virtual"
>             
>             
>             style="width:90%"
>          
>          
>             
>          
>          
>             accesskey="m"
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
> >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (IBATISNET-81) SqlMap validation

Posted by "Roberto Rabe (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATISNET-81?page=all ]

Roberto Rabe reassigned IBATISNET-81:
-------------------------------------

    Assign To: Roberto Rabe  (was: Gilles Bayon)

> SqlMap validation
> -----------------
>
>          Key: IBATISNET-81
>          URL: http://issues.apache.org/jira/browse/IBATISNET-81
>      Project: iBatis for .NET
>         Type: Bug
>     Versions: DataMapper 1.2.1
>     Reporter: Roelof Blom
>     Assignee: Roberto Rabe
>     Priority: Minor

>
> When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]
> ===================================================================
> --- IBatisNet.DataMapper.build	(revision 190584)
> +++ IBatisNet.DataMapper.build	(working copy)
> @@ -1,5 +1,5 @@
>  <?xml version="1.0"?>
> -<project name="IBatisNet.DataMapper" default="build">
> +<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
>      <!--
>          Required properties:
>              * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
> @@ -19,6 +19,10 @@
>              <resources basedir="Resources">
>                  <include name="**/*" />
>              </resources>
> +            <resources basedir="." prefix="IBatisNet.DataMapper.">
> +                <include name="SqlMapConfig.xsd" />
> +                <include name="SqlMap.xsd" />
> +            </resources>
>              <references basedir="${build.dir}/bin">
>                  <include name="*.dll"/>
>                  <exclude name="${nant.project.name}.dll"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (IBATISNET-81) SqlMap validation

Posted by "Ron Grabowski (JIRA)" <ib...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/IBATISNET-81?page=comments#action_12315488 ] 

Ron Grabowski commented on IBATISNET-81:
----------------------------------------

Could you re-attach your patch as an attached file please. The xml format of the build file caused Jira to mess up the xml/html.

> SqlMap validation
> -----------------
>
>          Key: IBATISNET-81
>          URL: http://issues.apache.org/jira/browse/IBATISNET-81
>      Project: iBatis for .NET
>         Type: Bug
>   Components: DataAccess
>     Versions: DataMapper 1.2.1
>     Reporter: Roelof Blom
>     Assignee: Roberto Rabe
>     Priority: Minor

>
> When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]
> ===================================================================
> --- IBatisNet.DataMapper.build	(revision 190584)
> +++ IBatisNet.DataMapper.build	(working copy)
> @@ -1,5 +1,5 @@
>  <?xml version="1.0"?>
> -<project name="IBatisNet.DataMapper" default="build">
> +<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
>      <!--
>          Required properties:
>              * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
> @@ -19,6 +19,10 @@
>              <resources basedir="Resources">
>                  <include name="**/*" />
>              </resources>
> +            <resources basedir="." prefix="IBatisNet.DataMapper.">
> +                <include name="SqlMapConfig.xsd" />
> +                <include name="SqlMap.xsd" />
> +            </resources>
>              <references basedir="${build.dir}/bin">
>                  <include name="*.dll"/>
>                  <exclude name="${nant.project.name}.dll"/>
> </textarea>
>                     </td>
>     </tr>
>     
>                     
>                 
>             
>                 
>                 
>                     
>                     
>                         
>                     
>                 
>             
>         
>         
>             
>     <tr><td colspan=2 bgcolor=ffffff>&nbsp;
>     <style>
>     <!--
>     .fieldLabelArea
>     {
>         width: 30%;
>     }
>     -->
>     </style>
>     </td></tr>
>     <tr><td colspan=2 bgcolor=f0f0f0>
>         <b>Comment</b>: (an optional comment describing this update)
>     </td></tr>
>     
> 	
> 	<tr 
>         
>         
>     >
> 		
> 		
> 			
> 			
> 				<td class="fieldLabelArea">
> 			
> 		
>         
>         
>  		
> 		Update comment:
>         
>         
> 		</td>
> 	
> 	
> 	<td bgcolor="ffffff" nowrap class="fieldValueArea">
> <textarea name="comment"
>           cols="70"
>           rows="4"
>           wrap="virtual"
>             
>             
>             style="width:90%"
>          
>          
>             
>          
>          
>             accesskey="m"
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
> >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (IBATISNET-81) SqlMap validation

Posted by "Roberto Rabe (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATISNET-81?page=all ]
     
Roberto Rabe closed IBATISNET-81:
---------------------------------

    Fix Version: DataMapper 1.3
     Resolution: Fixed

Closed!

> SqlMap validation
> -----------------
>
>          Key: IBATISNET-81
>          URL: http://issues.apache.org/jira/browse/IBATISNET-81
>      Project: iBatis for .NET
>         Type: Bug
>   Components: DataAccess
>     Versions: DataMapper 1.2.1
>     Reporter: Roelof Blom
>     Assignee: Roberto Rabe
>     Priority: Minor
>      Fix For: DataMapper 1.3
>  Attachments: IBatisNet.DataMapper.build.patch
>
> When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]
> ===================================================================
> --- IBatisNet.DataMapper.build	(revision 190584)
> +++ IBatisNet.DataMapper.build	(working copy)
> @@ -1,5 +1,5 @@
>  <?xml version="1.0"?>
> -<project name="IBatisNet.DataMapper" default="build">
> +<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
>      <!--
>          Required properties:
>              * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
> @@ -19,6 +19,10 @@
>              <resources basedir="Resources">
>                  <include name="**/*" />
>              </resources>
> +            <resources basedir="." prefix="IBatisNet.DataMapper.">
> +                <include name="SqlMapConfig.xsd" />
> +                <include name="SqlMap.xsd" />
> +            </resources>
>              <references basedir="${build.dir}/bin">
>                  <include name="*.dll"/>
>                  <exclude name="${nant.project.name}.dll"/>
> </textarea>
>                     </td>
>     </tr>
>     
>                     
>                 
>             
>                 
>                 
>                     
>                     
>                         
>                     
>                 
>             
>         
>         
>             
>     <tr><td colspan=2 bgcolor=ffffff>&nbsp;
>     <style>
>     <!--
>     .fieldLabelArea
>     {
>         width: 30%;
>     }
>     -->
>     </style>
>     </td></tr>
>     <tr><td colspan=2 bgcolor=f0f0f0>
>         <b>Comment</b>: (an optional comment describing this update)
>     </td></tr>
>     
> 	
> 	<tr 
>         
>         
>     >
> 		
> 		
> 			
> 			
> 				<td class="fieldLabelArea">
> 			
> 		
>         
>         
>  		
> 		Update comment:
>         
>         
> 		</td>
> 	
> 	
> 	<td bgcolor="ffffff" nowrap class="fieldValueArea">
> <textarea name="comment"
>           cols="70"
>           rows="4"
>           wrap="virtual"
>             
>             
>             style="width:90%"
>          
>          
>             
>          
>          
>             accesskey="m"
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
> >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (IBATISNET-81) SqlMap validation

Posted by "Gilles Bayon (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATISNET-81?page=all ]

Gilles Bayon updated IBATISNET-81:
----------------------------------

      Component: DataAccess
    Description: 
When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]

===================================================================
--- IBatisNet.DataMapper.build	(revision 190584)
+++ IBatisNet.DataMapper.build	(working copy)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<project name="IBatisNet.DataMapper" default="build">
+<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
     <!--
         Required properties:
             * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
@@ -19,6 +19,10 @@
             <resources basedir="Resources">
                 <include name="**/*" />
             </resources>
+            <resources basedir="." prefix="IBatisNet.DataMapper.">
+                <include name="SqlMapConfig.xsd" />
+                <include name="SqlMap.xsd" />
+            </resources>
             <references basedir="${build.dir}/bin">
                 <include name="*.dll"/>
                 <exclude name="${nant.project.name}.dll"/>
</textarea>

                    </td>
    </tr>
    
                    
                
            
                
                
                    
                    
                        
                    
                
            
        
        



            



    <tr><td colspan=2 bgcolor=ffffff>&nbsp;
    <style>
    <!--
    .fieldLabelArea
    {
        width: 30%;
    }
    -->
    </style>
    </td></tr>
    <tr><td colspan=2 bgcolor=f0f0f0>
        <b>Comment</b>: (an optional comment describing this update)
    </td></tr>
    






	



	<tr 
        
        
    >
		
		
			
			
				<td class="fieldLabelArea">
			
		
        
        
 		
		Update comment:
        
        
		</td>

	
	




	<td bgcolor="ffffff" nowrap class="fieldValueArea">


<textarea name="comment"
          cols="70"
          rows="4"
          wrap="virtual"
            
            
            style="width:90%"
         
         
            
         
         
            accesskey="m"
         
         
            
         
         
            
         
         
            
         
         
            
         
         
            
         
         
            
         
>

  was:
When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]

===================================================================
--- IBatisNet.DataMapper.build	(revision 190584)
+++ IBatisNet.DataMapper.build	(working copy)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<project name="IBatisNet.DataMapper" default="build">
+<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
     <!--
         Required properties:
             * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
@@ -19,6 +19,10 @@
             <resources basedir="Resources">
                 <include name="**/*" />
             </resources>
+            <resources basedir="." prefix="IBatisNet.DataMapper.">
+                <include name="SqlMapConfig.xsd" />
+                <include name="SqlMap.xsd" />
+            </resources>
             <references basedir="${build.dir}/bin">
                 <include name="*.dll"/>
                 <exclude name="${nant.project.name}.dll"/>



> SqlMap validation
> -----------------
>
>          Key: IBATISNET-81
>          URL: http://issues.apache.org/jira/browse/IBATISNET-81
>      Project: iBatis for .NET
>         Type: Bug
>   Components: DataAccess
>     Versions: DataMapper 1.2.1
>     Reporter: Roelof Blom
>     Assignee: Roberto Rabe
>     Priority: Minor

>
> When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]
> ===================================================================
> --- IBatisNet.DataMapper.build	(revision 190584)
> +++ IBatisNet.DataMapper.build	(working copy)
> @@ -1,5 +1,5 @@
>  <?xml version="1.0"?>
> -<project name="IBatisNet.DataMapper" default="build">
> +<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
>      <!--
>          Required properties:
>              * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
> @@ -19,6 +19,10 @@
>              <resources basedir="Resources">
>                  <include name="**/*" />
>              </resources>
> +            <resources basedir="." prefix="IBatisNet.DataMapper.">
> +                <include name="SqlMapConfig.xsd" />
> +                <include name="SqlMap.xsd" />
> +            </resources>
>              <references basedir="${build.dir}/bin">
>                  <include name="*.dll"/>
>                  <exclude name="${nant.project.name}.dll"/>
> </textarea>
>                     </td>
>     </tr>
>     
>                     
>                 
>             
>                 
>                 
>                     
>                     
>                         
>                     
>                 
>             
>         
>         
>             
>     <tr><td colspan=2 bgcolor=ffffff>&nbsp;
>     <style>
>     <!--
>     .fieldLabelArea
>     {
>         width: 30%;
>     }
>     -->
>     </style>
>     </td></tr>
>     <tr><td colspan=2 bgcolor=f0f0f0>
>         <b>Comment</b>: (an optional comment describing this update)
>     </td></tr>
>     
> 	
> 	<tr 
>         
>         
>     >
> 		
> 		
> 			
> 			
> 				<td class="fieldLabelArea">
> 			
> 		
>         
>         
>  		
> 		Update comment:
>         
>         
> 		</td>
> 	
> 	
> 	<td bgcolor="ffffff" nowrap class="fieldValueArea">
> <textarea name="comment"
>           cols="70"
>           rows="4"
>           wrap="virtual"
>             
>             
>             style="width:90%"
>          
>          
>             
>          
>          
>             accesskey="m"
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
> >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (IBATISNET-81) SqlMap validation

Posted by "Roelof Blom (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATISNET-81?page=all ]

Roelof Blom updated IBATISNET-81:
---------------------------------

    Attachment: IBatisNet.DataMapper.build.patch

Patch re-attached as file to to prevent Jira from messing up the xml/html.

> SqlMap validation
> -----------------
>
>          Key: IBATISNET-81
>          URL: http://issues.apache.org/jira/browse/IBATISNET-81
>      Project: iBatis for .NET
>         Type: Bug
>   Components: DataAccess
>     Versions: DataMapper 1.2.1
>     Reporter: Roelof Blom
>     Assignee: Roberto Rabe
>     Priority: Minor
>  Attachments: IBatisNet.DataMapper.build.patch
>
> When you build iBatis with NAnt and enable SqlMap validation iBatis throws an exception. It attempts to load SqlMapConfig.xsd and SqlMap.xsd from the assembly resource stream, and the current NAnt build script does not include those files as resources. The patch below fixes this. Furthermore, it alters the XML namespace of the NAnt build file [see http://nant.sourceforge.net/faq.html#enable-intellisense]
> ===================================================================
> --- IBatisNet.DataMapper.build	(revision 190584)
> +++ IBatisNet.DataMapper.build	(working copy)
> @@ -1,5 +1,5 @@
>  <?xml version="1.0"?>
> -<project name="IBatisNet.DataMapper" default="build">
> +<project name="IBatisNet.DataMapper" default="build" xmlns="http://nant.sf.net/schemas/nant.xsd">
>      <!--
>          Required properties:
>              * build.dir             - (path) root level to build to, assemblies will go in ${build.dir}/bin
> @@ -19,6 +19,10 @@
>              <resources basedir="Resources">
>                  <include name="**/*" />
>              </resources>
> +            <resources basedir="." prefix="IBatisNet.DataMapper.">
> +                <include name="SqlMapConfig.xsd" />
> +                <include name="SqlMap.xsd" />
> +            </resources>
>              <references basedir="${build.dir}/bin">
>                  <include name="*.dll"/>
>                  <exclude name="${nant.project.name}.dll"/>
> </textarea>
>                     </td>
>     </tr>
>     
>                     
>                 
>             
>                 
>                 
>                     
>                     
>                         
>                     
>                 
>             
>         
>         
>             
>     <tr><td colspan=2 bgcolor=ffffff>&nbsp;
>     <style>
>     <!--
>     .fieldLabelArea
>     {
>         width: 30%;
>     }
>     -->
>     </style>
>     </td></tr>
>     <tr><td colspan=2 bgcolor=f0f0f0>
>         <b>Comment</b>: (an optional comment describing this update)
>     </td></tr>
>     
> 	
> 	<tr 
>         
>         
>     >
> 		
> 		
> 			
> 			
> 				<td class="fieldLabelArea">
> 			
> 		
>         
>         
>  		
> 		Update comment:
>         
>         
> 		</td>
> 	
> 	
> 	<td bgcolor="ffffff" nowrap class="fieldValueArea">
> <textarea name="comment"
>           cols="70"
>           rows="4"
>           wrap="virtual"
>             
>             
>             style="width:90%"
>          
>          
>             
>          
>          
>             accesskey="m"
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
>          
>             
>          
> >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira