-----Ursprungliche Nachricht----- Von: Per Olesen [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]