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 87413 - Preverify task doesn't receive the project libraries on the classpath
Summary: Preverify task doesn't receive the project libraries on the classpath
Status: VERIFIED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-18 14:50 UTC by Fabiola Rios
Modified: 2007-03-21 14:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
build-impl (31.14 KB, text/xml)
2006-10-18 14:54 UTC, Fabiola Rios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiola Rios 2006-10-18 14:50:34 UTC
Preverify task doesn't receive the project libraries on the classpath therefore
it fails.

Create a visual MIDlet with SVG components and run it.

See line:
<nb-preverify ... classpath="${platform.bootclasspath}<ERROR>" .../>
Comment 1 Fabiola Rios 2006-10-18 14:54:59 UTC
Created attachment 35325 [details]
build-impl
Comment 2 Adam Sotona 2006-10-18 15:27:04 UTC
It works as designed. Preverification should get the only bootstrap libraries on
classpath. All the rest is an object of preverification (including SVG libraries).

The problem will be probably sowhere else. Could you try to clean and build? If
it passes the compilation then it should pass even preverification.
Comment 3 Adam Sotona 2006-10-19 14:56:52 UTC
The primary source of the problem is in nb-extract task that wrongly calculates
the up-to-date state.
The only reason why this does not happen in 5.5 is that there is different order
of complilation and extraction of the libraries.
First I am going to quickly fix this issue by setting the order back to the
state in 5.5.
Secondary a new P3 issue will be filled to completely rewrite the up-to-date
check of nb-extract task.
Comment 4 Lukas Hasik 2007-03-21 14:10:00 UTC
verified in 070321