aspose file tools*
The moose likes Websphere and the fly likes Any WAR utility in WSAD ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Any WAR utility in WSAD ?" Watch "Any WAR utility in WSAD ?" New topic
Author

Any WAR utility in WSAD ?

venkatesh rajmendram
Ranch Hand

Joined: Dec 05, 2000
Posts: 130
Hi,

We have a situation where a we need to have our development project(WAR) needs to be put into a product (which we brought and only have class files) (EAR).

The development team has to test their development of war by putting into ear, Is there a automated process to do this, like we have update zip for jar ?

Thanks
Venkatesh


SCJP 1.4, SCWCD<p>Ours is a world where people don't know what they want and are willing to go through hell to get it.<br /> - Don Marquis
David Hibbs
Ranch Hand

Joined: Dec 19, 2002
Posts: 374
You could always import the EAR, add your own WAR to it, and re-export it.

Otherwise, you have to modify the application.xml file. But you can easily just use WinZip or jar to update the .ear file to include your modified application.xml and new WAR.

Heck, you could just use ANT to do it!


"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
srinivasarao kamani
Greenhorn

Joined: Sep 18, 2003
Posts: 2
Hi,

In WSAD, rightclik on the web project that you want have it as ear module--> click on export-->choose EAR file--->click next-->enter ear file name and location to save the ear file--->click finish .


kamani srinivasarao,<br />HCL Technologies Limited<br />Chennai-India.
venkatesh rajmendram
Ranch Hand

Joined: Dec 05, 2000
Posts: 130
Made decision to go with ANT...that way could do checkstyle and junit and other stuff too...

I wish there was a plugin in WSAD which had a front end to do this...

I guess I am too ambitious
[ November 08, 2004: Message edited by: venkatesh rajmendram ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Any WAR utility in WSAD ?