ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: AW: [Ann] Ant task for the JudoScript language
Date Fri, 06 Aug 2004 08:43:52 GMT
Jan.Materne@rzf.fin-nrw.de wrote:

>Ok, I´ll add that to the external page.
>
>But I would refuse the introducing as new optional task. For supporting
>scripting languages inside buildscripts, the <script*> family is the right
>choice. But if you could modify your code that another language="judoscript"
>is supported, open a bug.
>
>I never tried JudoScript - maybe you´ll should try a 
>  <script language="judoscript">
>      your code
>  </script>
>before working ...
>Maybe Peter, our great script-expert, knows more ;-)
>  
>
Judoscript is already supported by the Languages.properties file in  
bsf.jar so the following
works in ant:

  <script language="judoscript">
      println "Hello world";
  </script>


Peter

>
>Jan
>
>
>  
>
>>-----Ursprüngliche Nachricht-----
>>Von: James Huang [mailto:judoscript@hotmail.com]
>>Gesendet am: Freitag, 6. August 2004 08:26
>>An: user@ant.apache.org
>>Betreff: [Ann] Ant task for the JudoScript language
>>
>>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
>>    
>>
>
>
>  
>


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


Mime
View raw message