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 158766 - Project jars not included for XSL compilation
Summary: Project jars not included for XSL compilation
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vitaly Bychkov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-18 17:56 UTC by kevan1138
Modified: 2009-04-22 18:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test project (206.88 KB, application/octet-stream)
2009-02-18 18:02 UTC, kevan1138
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kevan1138 2009-02-18 17:56:28 UTC
If an XSL stylesheet is defined with an extension function and the function's implementation is in a jar added to the 
project, the stylesheet does not compile.  Workaround is to enable the Allow Build with Errors property.

Jars added to a project should be part of classpath when compiling XSL during build process.
Comment 1 kevan1138 2009-02-18 18:02:59 UTC
Created attachment 77119 [details]
test project
Comment 2 kevan1138 2009-02-18 18:04:53 UTC
Mistakenly created ticket for bpel project... correcting to xslt project.
Comment 3 rbalada 2009-03-26 14:11:41 UTC
Rising priority due to Sun-internal escalation.
Comment 4 Vitaly Bychkov 2009-03-30 15:31:01 UTC
The problem is in xsl validation. For now it doesn't know anything about available java libraries.
Comment 5 Vitaly Bychkov 2009-04-14 11:00:24 UTC
Fixed in soa-dev65:
http://hg.netbeans.org/soa-dev65?cmd=changeset;node=8e3e5841d14f
Comment 6 rpoon 2009-04-22 18:28:48 UTC
Verified with build:  \\thumper\50builds\gfesb\v2.1\main\nightly\20090420-0723

With the fix, using the attached project, the XSL style sheet 'InXslFile1.xsl' can now be successfully compiled.  User 
no longer encounter error with:  <xsl:value-of select="edklibrary:getNdmTimestamp()"/> line.