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 73664 - Have source-libraries besides of binary libraries
Summary: Have source-libraries besides of binary libraries
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Suchomel
URL:
Keywords:
: 81235 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-16 15:28 UTC by ieising
Modified: 2009-10-01 13:24 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 ieising 2006-03-16 15:28:35 UTC
Hi,

I would like to be able to have the availability of source libraries. We have
many classes that are used in many projects, but based on abilities of the
MIDlet that uses one or more of these classes, we want different pieces of code
to be active, we use pre-processor blocks for this.
Unfortunately, the classes when put in a library project are used in their
binary form, thus it doesn't matter which pre-processor blocks we want to use at
any other time than when the library is compiled. At the moment we have all
sorts of configurations defined to get the various 'most common denominator'
JAR-files, and have the pre-processor blocks in the calling code, which makes
some files unneceraily large.

Now my suggestion is that there is a 'source library project' type and when you
define a project to depend on this 'source library project' it won't compile the
project but copies the sources to the project that depends on it. The obfuscator
, pre-processor and compiler will take care of the rest.

Iwan
Comment 1 Lukas Hasik 2007-01-09 14:12:54 UTC
reassigning
Comment 2 Adam Sotona 2007-05-21 15:07:12 UTC
With a small fix this would be possible by adding the root (folder, zip, jar...)
with the sources as a resource.
Comment 3 Adam Sotona 2007-05-21 15:38:29 UTC
*** Issue 81235 has been marked as a duplicate of this issue. ***