[TIP] Filtering classes in distribution jar

The size of the jar is important in Java ME world. When you want to filter out some files from the final distribution jar you can do it in project properties of the Mobile project. You can set up filtering for every configuration of your project. You set up what classes should be include and what excluded with check boxes in classes tree.

some classes are filtered out

As you can see on the image the unchecked classes will not be included in the configuration. They will be filtered out from the whole build process. In a different configuration you can filter out different classes etc. In this way you can have different versions of your project or library.
Comments:

This is a very good idea but as a beginner with NBmobile how do I know what I can leave out?

Posted by George Fletcher on September 06, 2007 at 10:35 AM CEST #

test and try? ;)

Posted by Lukas on September 06, 2007 at 10:41 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This is the main channel to share news, tips and other stuff related to my work. Sometimes you can find even personal stuff. Enjoy your reading...

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
news
Blogroll

No bookmarks in folder

OldNews
MyTrash
NavBar
NetBeans
LinksToBeExpanded