ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@antbuild.com>
Subject AW: Is it okay to include a jarfile as testdata in project?
Date Sun, 21 Sep 2003 19:42:34 GMT


-----Ursprungliche Nachricht-----
Von: Per Olesen [mailto:polesen@nordija.com]
Gesendet: Sonntag, 21. September 2003 21:28
An: list-dev-ant
Betreff: Q: Is it okay to include a jarfile as testdata in project?


Hi,

>I'm writing some testcases for my ejbclientjar task, and for that, I need a
>ejb file, packaged as a jar. This is input to my task and hereby to the
test.

>In this regard, I have a question:

>1) Would it be okay to include a *binary* file like a ejb jarfile under
>"src/etc/testcases/taskdefs/optional/ejb" as it is test input?, or

this is OK


>2) Can I instead include sources for an ejb, which I build as a part of the
>test, and then use as input? At first, this seems like the best solution,
but
>as ejb sources reference "javax.ejb", these classes will be needed for
>compiling the testcase then.

sounds even better. ant's build.xml will need a new selector to decide
whether this testcase can be compiled.




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


Mime
View raw message