ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r357910 - /ant/antlibs/dotnet/trunk/src/etc/testcases/nant.xml
Date Tue, 20 Dec 2005 04:53:49 GMT
Author: bodewig
Date: Mon Dec 19 20:53:46 2005
New Revision: 357910

URL: http://svn.apache.org/viewcvs?rev=357910&view=rev
Log:
for reasons I don't understand I get exceptions from Ant (task property is unknown) if I change
the default namespace in some tasks and use import in the same build file

Modified:
    ant/antlibs/dotnet/trunk/src/etc/testcases/nant.xml

Modified: ant/antlibs/dotnet/trunk/src/etc/testcases/nant.xml
URL: http://svn.apache.org/viewcvs/ant/antlibs/dotnet/trunk/src/etc/testcases/nant.xml?rev=357910&r1=357909&r2=357910&view=diff
==============================================================================
--- ant/antlibs/dotnet/trunk/src/etc/testcases/nant.xml (original)
+++ ant/antlibs/dotnet/trunk/src/etc/testcases/nant.xml Mon Dec 19 20:53:46 2005
@@ -14,7 +14,8 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<project name="nant" basedir="." default="echo">
+<project name="nant" basedir="." default="echo"
+  xmlns:dn="antlib:org.apache.ant.dotnet">
 
   <import file="augment-path.xml"/>
 
@@ -26,38 +27,33 @@
   </condition>
 
   <target name="echo">
-    <nant 
+    <dn:nant 
       buildfile="src/nant.build" 
-      xmlns="antlib:org.apache.ant.dotnet"
       >
-      <target name="echo"/>
-      <property name="foo" value="bar"/>
-    </nant>
+      <dn:target name="echo"/>
+      <dn:property name="foo" value="bar"/>
+    </dn:nant>
   </target>
 
   <target name="nested-file">
     <property name="foo" value="bar"/>
-    <nant
-      xmlns="antlib:org.apache.ant.dotnet"
-      >
-      <build>
+    <dn:nant>
+      <dn:build>
         <project basedir="." default="echo">
           <target name="echo">
             <echo message="foo is ${foo}"/>
           </target>
         </project>
-      </build>
-    </nant>
+      </dn:build>
+    </dn:nant>
   </target>
 
   <target name="nested-task">
     <property name="foo" value="bar"/>
-    <nant
-      xmlns="antlib:org.apache.ant.dotnet"
-      >
-      <build>
+    <dn:nant>
+      <dn:build>
         <echo message="foo is ${foo}"/>
-      </build>
-    </nant>
+      </dn:build>
+    </dn:nant>
   </target>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message