You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jh...@apache.org on 2008/05/21 08:32:25 UTC

svn commit: r658565 - /ant/ivy/site/xooki/antlib.xml

Author: jhm
Date: Tue May 20 23:32:24 2008
New Revision: 658565

URL: http://svn.apache.org/viewvc?rev=658565&view=rev
Log:
Enhance Ant-Logging by providing a more meaningful taskname for <exec>.
I used the name of the surrounding <scriptdef>s.

Modified:
    ant/ivy/site/xooki/antlib.xml

Modified: ant/ivy/site/xooki/antlib.xml
URL: http://svn.apache.org/viewvc/ant/ivy/site/xooki/antlib.xml?rev=658565&r1=658564&r2=658565&view=diff
==============================================================================
--- ant/ivy/site/xooki/antlib.xml (original)
+++ ant/ivy/site/xooki/antlib.xml Tue May 20 23:32:24 2008
@@ -42,6 +42,7 @@
     	        exec = project.createTask("exec");
     	        exec.setDir(new File(basedir));
     	        exec.setExecutable("jrunscript");
+    	        exec.setTaskName("generate");
     	        exec.createArg().setValue(srcDir+"/xooki/xooki.js");
     	        exec.createArg().setValue(filename);
     	        exec.createArg().setValue(attributes.get("destdir")+"/"+filepath);
@@ -84,6 +85,7 @@
 		        exec = project.createTask("exec");
 		        exec.setDir(new File(basedir));
 		        exec.setExecutable("jrunscript");
+   	        exec.setTaskName("print");
 		        exec.createArg().setValue(project.getProperty("basedir")+"/xooki/xooki.js");
 		        exec.createArg().setValue(filename);
 		        exec.createArg().setValue(destFile);