aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Ant-only WSAD EAR building..." Watch "Ant-only WSAD EAR building..." New topic
Author

Ant-only WSAD EAR building...

Mark Hissink Muller
Greenhorn

Joined: Sep 15, 2003
Posts: 4
All,
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:
http://www7b.software.ibm.com/wsdd/library/techarticles/0203_searle/searle1.html
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">
<ejb>SomeEJB.jar</ejb>
</module>
Could anyone explain me what kind of issue I'm encountering and how to solve this?
Thanks for your insights.
Regards,
Mark Hissink Muller
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant-only WSAD EAR building...