| View previous topic :: View next topic |
| Author |
Message |
shche123
Joined: 19 May 2009 Posts: 41
|
Posted: Wed Jul 01, 2009 1:46 pm Post subject: Adding a resource to META-INF folder? |
|
|
How would I add say an image to META-INF folder?
What is the most appropriate place for resources like images?
What Java ME spec talks about jar file package structure?
Thanks! |
|
| Back to top |
|
 |
Petr Suchomel Posted via mailing list.
|
Posted: Wed Jul 01, 2009 1:54 pm Post subject: Adding a resource to META-INF folder? |
|
|
Why do you want to do that? This folder is dedicated for manifest.
Images can be anywhere in jar files, you can use e.g. res/ folder to put
them into. There is not any particular guidance for image location AFAIK.
--Petr
shche123 wrote:
| Quote: | How would I add say an image to META-INF folder?
What is the most appropriate place for resources like images?
What Java ME spec talks about jar file package structure?
Thanks!
|
--
Petr Suchomel <address-removed>
Sun Microsystems, Inc.
Phone +420 2 33009234 (x49234), Fax +420 2 33009311 |
|
| Back to top |
|
 |
shche123
Joined: 19 May 2009 Posts: 41
|
Posted: Wed Jul 01, 2009 4:01 pm Post subject: |
|
|
I was thinking about something like WEB-INF where in the web project one can place JSP code snippets and graphics files.
In NB 6.7 I found a spot where I can hard code a full path to res folder in the root of the project. The problem is that I copy projects around and I need a relative path to res folder in the project configuration.
Project Properties > Build > Libraries & Resources > Add Folder.
Is this where I would add res folder to the project and is there a way to add it relative to the project root?
Thanks
Leonid |
|
| Back to top |
|
 |
shche123
Joined: 19 May 2009 Posts: 41
|
Posted: Wed Jul 01, 2009 7:13 pm Post subject: |
|
|
I have moved res folder from the root of the project to the src folder and everything is good.
Thanks |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|