File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Ant-only WSAD EAR building... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Ant-only WSAD EAR building..." Watch "Ant-only WSAD EAR building..." New topic

Ant-only WSAD EAR building...

Mark Hissink Muller

Joined: Sep 15, 2003
Posts: 4
Kindly I would like to ask your help regarding a problem I have with a self-assembled EAR (using Ant), when testing under WSAD/WAS. Although I read Barry Searle's article at:
I would like to build the EAR-file completely detached from WSAD, with an Ant-script which automatically 'gets' from CVS, runs all the Unit-tests and if correct assembles the EAR. I've written a series of Ant-scripts which zip-up an EAR from all components, which I build separately.
(To my surprise) I've noticed that using a standard application.xml-file from another (exported) EAR doesn't do the job and gives me ClassNotFoundExceptions when starting the application. In some way a reference to the jar is missing. I suspect it might have to do with with the module_id in the application.xml which in some way doesn't match to id in the jar, but I could not find any info and I'm not 100% sure.
<module id="EjbModule_1063637237627">
Could anyone explain me what kind of issue I'm encountering and how to solve this?
Thanks for your insights.
Mark Hissink Muller
I agree. Here's the link:
subject: Ant-only WSAD EAR building...
It's not a secret anymore!