Apache OpenOffice (AOO) Bugzilla – Issue 21495
CommandLineTools for SF produces incorrect parcel-descriptor
Last modified: 2017-05-20 11:29:25 UTC
I started with the 'Hello World in Java' (MyClass.java). Then I used the CommandLineTools to generate a ScriptParcel: java CommandLineTools -g -l java -v MyClass which leads to the following XML-file: <?xml version="1.0" encoding="UTF-8"?> <parcel language="java" xmlns:parcel="scripting.dtd"> <script language="java"> <locale lang="en"> <displayname value="MyClass"/> <description>MyClass</description> </locale> <logicalname value="MyClass"/> <functionname value="MyClass"/> </script> </parcel> After deploying the Script Parcel the Script could not be found in OOo. I think, that the produced XML-File is not correct. - the Value of the 'language'-attribute of the 'script'-element should be 'Java' instead of 'java' - concerning to the given DTD the order of the element 'logicalname' and 'functionalname' should be changed. - the value of the 'value'-attribute of the functional-element should be changed to MyClass.showFrame - the DOCTYPE-Declaration should be in the XML-file
Changed milestone, assign to TOC
*** Issue 21369 has been marked as a duplicate of this issue. ***
The CommandLineTools class currently does not do any checking on the language parameter to see if it is OK, it should probably do this. Also the dtd for parcel-descriptor files needs to be part of the install set before we can add the DOCTYPE declaration into the file. All of these issues should be addressed when we merge our CommandLineTools parcel generator and installer with the pkgchk command line tools used for deploying UNO packages, which should be in the next few months.
changed to fixed
Closed this in error
Lowering the priority on this issue as the CommandLineTools class is not currently a priority for the OpenOffice.org 2.0 release.
This will not be addressed in the OOo 2.0 release
The CommandLineTools are no longer supported.
Thomas, we should discuss this issue.
.
TBE->AB: As discussed to you.
STARTED
Reset assigne to the default "issues@openoffice.apache.org".