Building example code using asant
I'm studying java web services and trying to follow the oracle tutorial but it tells me to build and deploy the example code using asant. I've looked high and low and I can't find i开发者_运维技巧t. It doesn't seem to be included with Glassfish any more. I'm using Glassfish version 3, JDK 1.6.
Can anybody tell me where it is or how to get it?
Thanks in advance.
asant shipped with the GlassFish 2 releases. It was a wrapper that included a number of convenience tasks.
As the team that Sun used to develop GlassFish shrank, some 'features' of the releases were pruned from the GlassFish 3 development work. Asant was one of those features.
Your best bet may be to follow the Web Services section of the Java EE 6 Tutorial. It will be more up-to-date with the current state of the art.
asant is a command line using apache ant, it helps you to build your project using ant, you have to write a build.xml file, and then run the command asant http://download.java.net/general/open-esb/docs/jbi-ant-targets-reference/target-help/usage.html
Yes I know what it is and what it is supposed to do but I can't find it in my distribution of glassfish, where it is supposed to be. – ac7web
if you have it installed it should be in: glassfish-Install-Folder/bin
精彩评论