0

By using Ant, how to write classpath info into the jar. Anyone can show how to do it?

AlBlue
  • 23,254
  • 14
  • 71
  • 91
user496949
  • 83,087
  • 147
  • 309
  • 426

1 Answers1

2

If you want to write the classpath to the manifest within the jar use the manifestclasspath task.

Take a look at the following question: Generate manifest class-path from <classpath> in ant for more details.

Community
  • 1
  • 1
dogbane
  • 266,786
  • 75
  • 396
  • 414