Gathering the resource files from different jars is a sound approach. For the 
struts libraries, these all contain a NOTICE file. Please add it as 
`<basename>-notice.txt`.

The gathered DTDs and Schemas come from the Struts project and require additons 
to the NOTICE file. A possible approach is visible in `ide/xml.wsdl.model`. 
There a secondary jar is created and added to the classpath. One problem here 
might be, that you'll get a split package (parts of 
`org.netbeans.modules.web.struts.resources` will be in the modules jar and 
parts in the secondary jar).

The `struts.xml` file is important and must be included (please clear with 
oracle if you are allowed to include it under the ALv2-ASF license). The file 
contains the library definition, that is used by netbeans java project. The 
file is also referenced by the layer.xml (see line 121-127). The same goes for 
the struts-config_1_2.mdd file.

The build currently fails for me (the filesets in build.xml lines 54-57 are not 
correct).

[ Full content available at: 
https://github.com/apache/incubator-netbeans/pull/940 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

Reply via email to