This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 49474 - Directory mapping missing when creating midlet suite
Summary: Directory mapping missing when creating midlet suite
Status: RESOLVED INVALID
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 12:46 UTC by rubesm
Modified: 2006-10-23 16:41 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rubesm 2004-09-23 12:46:09 UTC
I can not map subdirectories in project into other
directories/files in midlet suite (eg. project
file /res/icon.png -> /icon.png in midlet suite).
This mapping should be depended on current
configuration to make posible to use different
resources with  different configurations.
Comment 1 Adam Sotona 2004-09-23 13:17:10 UTC
Of course you can.
You can add whatever folder as root of your resources to any project
configuration.
This can be done from Project Properties / Libraries & Resources panel
/ Add Folder button.
The folder (or jar or zip) you select is the root and its content is
taken as is. If you add for example your /res folder the /res/icon.png
will be mapped to /icon.png in your application jar.