ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roelof Blom (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATISNET-81) SqlMap validation
Date Tue, 14 Jun 2005 12:55:48 GMT
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
@@ -19,6 +19,10 @@
             <resources basedir="Resources">
                 <include name="**/*" />
+            <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:
For more information on JIRA, see:

View raw message