0

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

AlBlue
  • 22,017
  • 14
  • 65
  • 90
user496949
  • 79,431
  • 144
  • 301
  • 419

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
  • 254,755
  • 72
  • 386
  • 405