Apache OpenOffice (AOO) Bugzilla – Issue 15244
Netbeans parcel-descriptor.xml for java incomplete
Last modified: 2010-11-08 12:35:52 UTC
After compiling / deploying a simple java program to Office, examination of the parcel-descriptor reveals that the following lines are missing <languagedepprops> <prop name="classpath" value="./"/> </languagedepprops>
*** Issue 15245 has been marked as a duplicate of this issue. ***
The problem is that the ParcelFolderSupport class and the ConfigurePanel class each have a ParcelDescriptor instance. If the Classpath property for the Parcel Folder is changed in the UI the ParcelFolderSupport instance would update its ParcelDescriptor, but subsequently when generating the Script parcel the ConfigurePanel would create its own ParcelDescriptor object for the parcel-descriptor file which would not have the changes made by ParcelFolderSupport. The fix is for ParcelFolderSupport to pass its ParcelDescriptor instance to ConfigurePanel so they are in sync.
The fix for this issue can be tested by creating a new Parcel Recipe in NetBeans, and running the build command on it, ensuring that at least one Script is added in the Configure dialog. Now mount the result .sxp file as a filesystem in NetBeans, and open the parcel-descriptor.xml file. There should be a classpath xml entry in the parcel-descriptor.xml file.
verified fixed on Solaris and Windows SF ed-0.3 rc6 closing issue
Created attachment 72434
The last attachment is spam, please remove and add the submitter to the blacklist.