A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Ant, Maven and Other Build Tools
Websphere's ant from Maven.
Joined: Oct 11, 2012
Feb 20, 2013 22:46:25
I am trying to invoke Websphere Application Server(WAS) specific
. Websphere ships with it's own ant distribution that is packed with the signed jars and other classpath elements. I've tried the following:
1) third party plugin (
), but this does not produce the right source files
2) tried maven-antrun plugin, does not work as we need to use WAS version of ant.
I can manually invoke the WAS ant distribution with an ant build.xml file(comes as ws_ant.bat for windows and ws_ant.sh for unix), but is there a way to invoke this from Maven?
author & internet detective
Joined: May 26, 2003
Feb 22, 2013 17:17:36
I can think of two ways:
1) Maven provides the ability to run Ant tasks
2) Maven provides the ability to run a command line task
I think you'll have more luck with the second because it will use WebSphere's special Ant contexts.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
subject: Websphere's ant from Maven.
Maven script for wsdl2java
maven calling an ant target
Maven Integration With Subversion
WAR file creation from Eclipse dynamic web project!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014