On Fri, Nov 12, 2010 at 4:57 PM, P T Withington <[email protected]>wrote:
> Two issues: > > 1) There is a method on env, isExternal, that you can use to decide if a > resource is coming from outside the library. > > oops missed that, I'll use it > 2) You also need to do something to keep the same resource from being added > more than once. Either change the resource list to a set and define equals > on ResourceDescriptor to compare names, or make the list a hashtable that > you insert based on the name. > k > > On 2010-11-12, at 13:54, Henry Minsky wrote: > > > Change hqm-20101112-Y3l by [email protected] on 2010-11-12 13:19:42 > EST > > in /Users/hqm/openlaszlo/trunk2 > > for http://svn.openlaszlo.org/openlaszlo/trunk > > > > Summary: fix for "Resources in lzo files get declared multiple times" > > > > New Features: > > > > Bugs Fixed: LPP-9526 > > > > Technical Reviewer: ptw > > QA Reviewer: fellenberger > > Doc Reviewer: (pending) > > > > Documentation: > > > > Release Notes: > > > > Overview: > > > > > > Details: > > > > DHTMLWriter: > > don't write mastersprite if we're compiling an lzo > > > > IntermediateWriter: > > Do not add a resource if it is external to the lzo library's home > directory > > > > Tests: > > > > + compile jade example with lzo's, compile completes, and .lzo files do > not have > > duplicate <resource> declarations in them > > > > Files: > > M WEB-INF/lps/server/src/org/openlaszlo/compiler/DHTMLWriter.java > > M > WEB-INF/lps/server/src/org/openlaszlo/compiler/IntermediateWriter.java > > > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101112-Y3l.tar > > > -- Henry Minsky Software Architect [email protected]
