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 89570 - Generic Ant task to copy XML referential closure
Summary: Generic Ant task to copy XML referential closure
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Girish Balachandran
URL:
Keywords:
Depends on: 89573
Blocks: 89562
  Show dependency tree
 
Reported: 2006-11-18 00:00 UTC by Nam Nguyen
Modified: 2007-10-02 21:33 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 Nam Nguyen 2006-11-18 00:00:36 UTC
Implement in xml/serviceapi/antsrc, an ant task that recursively build the xml
reference closure and copy the files in the closure to correct location in the
current project build directory.

The implemenation should work both in and outside IDE environment.  The
recursion should be able to use the referenced project catalog module pointer
(delegateURI) when follow each entry link value.  Circularity should be flagged
as error.

-------------
 References:
-------------
http://xdesign-tools.czech.sun.com:8080/JSPWiki/Wiki.jsp?page=XProject_XMLRef_Func_Spec
http://xdesign-tools.czech.sun.com:8080/JSPWiki/Wiki.jsp?page=XmlFileRefsOnepager
Comment 1 Nam Nguyen 2006-11-21 00:02:04 UTC
Needs access utiltity for catalog.xml that could be used outside-ide.
Comment 2 Nam Nguyen 2006-11-21 00:09:46 UTC
Depends on 89573, not 89574.
Comment 3 Nam Nguyen 2007-01-09 01:30:00 UTC
With the change in design spec, we only need to add to 'pre-dist' target an ant
call to build subproject archive and unzip relevant XML files to current project
build directory.

Implemented by Girish see diff:
http://www.netbeans.org/source/browse/enterprise/bpel/project/src/org/netbeans/modules/bpel/project/resources/build-impl.xsl?r1=1.1.2.12&r2=1.1.2.12.4.1
Comment 4 Nam Nguyen 2007-01-09 01:37:17 UTC
Note that if subproject depends on other projects, current project also needs to
have those projects in its subproject list.
Comment 5 tonybeckham 2007-10-02 21:33:13 UTC
Fix happened long ago.  Verified in NetBeans IDE Dev (Build 200710020000)