I have created a J2ME project after referring to this article J2MEUsingAntwithJ2ME. Now I am having problems in adding resources (such as images) and libraries (such as jar and zip files).
I have copied the resources in the res
folder as shown in this article but when I extract the .jar
file, it does not have any resources.
相关问题
- 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
From the sample:
This will only include
*.png
files which are in/res
folder. If you want to include more types, add more<include>
lines or include"${package_name}/**"
.If you want to include the content of existing .jar files, you can unjar them like this:
Then you can jar them up again:
The Apache Ant manual contains a lot of examples for all the supported tags.