Martin,
Thanks. I needed some Java-to-Javascript reference. At the end, I managed
to create a checksum task via ANT API rather than implementing MD5 hash
from the scratch in the code.
On Tue, May 31, 2016 at 8:46 PM, Martin Gainty wrote:
> function test(){var bytebuffer = new
> java.lang.String
How can I declare a byte[] array inside of scriptdef when the language of
choice is javascript? Ant 1.8.1, The following line:
var bytebuffer = new byte[8192]; // line 36
Would give the following error:
build.xml
:1126: javax.script.ScriptException:
sun.org.mozilla.javascript.internal.EvaluatorE
I think you misunderstood me. The test target does indeed depend on
compilation of base classes. When I run the compile target for the
base classes _only_ (not the compile for test target), the compilation
of such classes result in a correct set of classes (only the base
classes) being compiled an
Hi,
I have the following structure for a project:
com/host/proj/package1/subpackage/{*.java}
com/host/proj/package2/{*.java}
com/host/proj/test/package2/{*.java}
Note: test/package2 indicates that I am writing test cases for classes
in package2 (at least for now). I would like to compile the pa
rt <[EMAIL PROTECTED]> wrote:
On Jul 17, 2007, at 11:18 PM, Evan J wrote:
> if (condition)
> perform some task, i.e. echo message="condition met"
> else
> perform another task
Check out the AntContrib tasks at <http://ant-contrib.sourceforge.net/
tasks/tasks/i
Hi,
I read the documents on Condition and Available tasks and from what I
see, both tasks only set a certain property upon meeting the condition
or otherwise. What I would like to accomplish is to actually perform a
task if a condition met or else do something else. That is,
if (condition)
perf