Generate manifest class-path from in Ant

后端 未结 4 495
说谎
说谎 2020-11-29 01:12

In the build file below, the jar target refers to the jar.class.path property for the manifest class-path. The compile target refers to project.class.path

There is

4条回答
  •  自闭症患者
    2020-11-29 01:43

    You can use to convert a path (which can contain a fileset) into a plain string. You'll likely need to that string to a file, use either or to chop the leading path bits, then finally use to load the manipulated string into the final property.

    Implementation left as an exercise to the reader.

提交回复
热议问题