how do i set the Main-Class attribute of my jar in ant?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
You can specify it in the manifest by using the Manifest nested element of the Jar task. Set
Main-Class
to the required class.Create a manifest: