Ant build scripts, antcall, dependencies, etc

后端 未结 3 987
野性不改
野性不改 2021-01-31 17:56

I have a build script and as part of that script it copies a jar file to a directory, for ease lets call it the utils jar. the utils jar is built by another build script sittin

3条回答
  •  一个人的身影
    2021-01-31 18:22

    I've got something similar set up: I have a main Ant build.xml which calls a separate build.xml that takes care of building my tests. This is how I do it:

    
        
          
        
    
    

    The trick is to use subant instead of antcall. You don't have to import the other build file.

提交回复
热议问题