This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant script for WAS 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant script for WAS 7" Watch "Ant script for WAS 7" New topic
Author

Ant script for WAS 7

nancy andrew
Ranch Hand

Joined: Jan 19, 2010
Posts: 30
I need to write an ant script for wensphere 7. Kindly let me know the steps and the WAS 7 specific jars required for ANT build.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

See: NotACodeMill

What kind of app are you building? EJB JAR? Web app? EAR? Other?

What do you have so far in your Ant script?


JBoss In Action
Kalpesh Soni
Ranch Hand

Joined: Jan 02, 2001
Posts: 311
http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Ftovr_ant.html start here

samples
http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html

more

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.nd.multiplatform.doc%2Finfo%2Fae%2Fae%2Fwelc6topscripting.html

expect to spend a month to figure out all the settings that an app needs to be scripted


Test 094, IBM WID 6.0 cert
SCJP 1.2
SCBCD 1.3 Beta
SCWCD 1.4 Beta
SCMAD Beta
SCDJWS Beta

KS
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29233
    
136

You'll also want to decide if you really want to do this. The alternative is to create an EAR in Ant and then deploy using a jacl/jython script.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
nancy andrew
Ranch Hand

Joined: Jan 19, 2010
Posts: 30
I want to build ERA file for my application and deplot the EAR into websphere 7. I have not written any ant script for this till now. Wanted to know how to write the ant script (setting the classpath etc) specifically for websphere 7
 
 
subject: Ant script for WAS 7
 
Similar Threads
wlcompile not working
XML property - confused
Can Ant run script generated by XDE?
Eclips error
Compiling and running multiple source files in Eclipse