File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
tasks(wsdl2java) from Maven. 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.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
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-2015