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 99887 - integrated freemarker is an incomplete re-packaged freemarker 2.3.8 distribution
Summary: integrated freemarker is an incomplete re-packaged freemarker 2.3.8 distribution
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 5.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 99404
  Show dependency tree
 
Reported: 2007-04-03 21:41 UTC by Viktor Lapitski
Modified: 2008-12-22 11:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Lapitski 2007-04-03 21:41:35 UTC
The freemarker integrated in NB60 is an re-packaged stripped down 
version of freemarker 2.3.8 distribution. Thus templates that work 
with standard freemarker 2.3.8 download wouldn't necessarily work 
with freemarker integrated in NB60 (and some actually existing 
teplates don't really work). 

This is a stopper for UML codegen integration with NB freemarker 
engine as it is impossible to rely on freemarker public interface 
documented at the freemarker site.
Comment 1 Jaroslav Tulach 2007-04-03 21:47:43 UTC
Yes, I know. I did it to minimize the amount of broken links as original 
freemarker jar depens on a lot of libraries that are not present in NetBeans 
at all.

Please write me a testcase to demonstrate what API you are using and reopen. 
I'll extend the current filter. Hopefully I will not need to include 
everything...
Comment 2 Viktor Lapitski 2007-04-03 21:53:18 UTC
i'm using API documented at the freemarker site. And if something of the API
isn't used now i might use it later. How did you verify that your version do 
support the whole API? Obviuosly it doesn't. Then, where is the 
documentation of what your version supports? Until that documentation provided 
this bug can't be closed.
Comment 3 Jaroslav Tulach 2007-04-04 09:29:50 UTC
You need to be more concrete about things that do not work. List of excludes 
is here:
http://www.netbeans.org/source/browse/libs/freemarker/build.xml
and as far as I can tell it contains classes that would not be loadable into 
VM anyway - e.g. Rhino, Log4J, Jython, servlet...

The list can of course be modified, if there is a reason. So far the biggest 
concern has been the size of the list of warnings printed in 
verify-class-linkage step of ant -f libs/freemarker/build.xml