ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Huang" <judoscr...@hotmail.com>
Subject [Ann] Ant task for the JudoScript language
Date Fri, 06 Aug 2004 06:25:44 GMT
Hi, Ant users and development team,


I have created a <judoscript> task and am hereby submitting it to be added 
to the Ant task list per the instructions on the Ant web site. The following 
is the information to be added to the external.xml found on Ant's web site:

8< ----------------------------------------------------------
      <subsection name="JudoScript Ant Task">

        <p>The &lt;judoscript&gt; task is an easy way to embed JudoScript 
code in the Ant build script. The tag format is quite simple. You can either 
embed code directly, or can specify an external JudoScript program file as 
the <code>src</code> attribute value. Parameters can be specified as the 
<code>params</code> attribute; this is applicable to both embedded code and 
external files.</p>

        <table class="externals">
          <tr>
            <th>Compatibility:</th>
            <td>Ant 1.5 or higher</td>
          </tr>
          <tr>
            <th>URL:</th>
            <td><a 
href="http://www.judoscript.com/articles/ant.html">http://www.judoscript.com/articles/ant.html</a></td>
          </tr>
          <tr>
            <th>Contact:</th>
            <td><a href="mailto:judoscript@hotmail.com">James Jianbo 
Huang</a></td>
          </tr>
          <tr>
            <th>License:</th>
            <td>Lesser GNU Public License</td>
          </tr>
        </table>
      </subsection>
---------------------------------------------------------- >8


Alternatively, I wish this <judoscript> task can become an optional Ant 
task.
To do this, the Ant project team needs only do these:

1. In org/apache/tools/ant/taskdefs/defaults.properties, add the following 
judoscript=org.apache.tools.ant.taskdefs.optional.JudoScript

2. Simply have class org.apache.tools.ant.taskdefs.optional.JudoScript 
extend class com.judoscript.AntJudoScriptTask.

Should you have any questions, please feel free to contact me.


Thank you very much!

-James Huang


======================================================

JudoScript is a functional scripting language. Its focus is on practical 
uses, although it is also a potent, "top-of-the-line" Java scripting 
language, and employs an enhanced JavaScript-like programming model. 
JudoScript focuses on practical uses by including domain-specific supports 
such as JDBC scripting, SGML and XML scripting, file system and OS commands, 
internet scripting, Ant task scripting, and others. Many Ant tasks have 
counterparts in JudoScript that are easier, more flexible and powerful. The 
synergy of having these practical utilities atop of a powerful programming 
and Java scripting language makes JudoScript very useful in software 
building process, data processing, document management, Java software 
testing and prototyping, and any daily operations.

The web site contains all the latest documentation and a large number of 
examples; the following articles can also help:

JudoScript web site:
  http://www.judoscript.com

JDBC Scripting I & II,
  http://www.javaworld.com/javaworld/jw-06-2004/jw-0621-jdbc.html
  http://www.javaworld.com/javaworld/jw-07-2004/jw-0705-jdbc2.html

JudoScript: Scripting for Java and Beyond:
  http://www.linuxjournal.com/article.php?sid=5671

======================================================



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


Mime
View raw message