使用Axis和Ant在./src而不是根目录中生成存根
如何让这个Ant文件在./src目录而不是目标“generate service stub”的根目录中生成存根 我的目录结构如下所示:使用Axis和Ant在./src而不是根目录中生成存根,ant,axis,Ant,Axis,如何让这个Ant文件在./src目录而不是目标“generate service stub”的根目录中生成存根 我的目录结构如下所示: - My Project/ - build.xml - src/ - org/ <-- notice how this falls outside of the src/ directory - example - www - SimpleService - *.java
- My Project/
- build.xml
- src/
- org/ <-- notice how this falls outside of the src/ directory
- example
- www
- SimpleService
- *.java
- *.wsdd
- My Project/
- build.xml
- src/
- org/ <-- notice how this falls within the src/ directory
- example
- www
- SimpleService
- *.java
- *.wsdd
- 我的项目/
- build.xml
- src/
- My Project/
- build.xml
- src/
- org/ <-- notice how this falls outside of the src/ directory
- example
- www
- SimpleService
- *.java
- *.wsdd
- My Project/
- build.xml
- src/
- org/ <-- notice how this falls within the src/ directory
- example
- www
- SimpleService
- *.java
- *.wsdd
-我的项目/
-build.xml
-src/
-org/有一个属性输出
来控制目的地。所以应该是这样的:
<axis-wsdl2java serverside="true" url="SimpleService.wsdl" output="src" />
具有一个属性输出
,用于控制目的地。所以应该是这样的:
<axis-wsdl2java serverside="true" url="SimpleService.wsdl" output="src" />
谢谢你,马丁。正如你所知,我对Ant和Axis是新手。谢谢你给我指点文档。那很有帮助。谢谢你,马丁。正如你所知,我对Ant和Axis是新手。谢谢你给我指点文档。这很有帮助。