Issue 21495 - CommandLineTools for SF produces incorrect parcel-descriptor
Summary: CommandLineTools for SF produces incorrect parcel-descriptor
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 1.1 RC5
Hardware: PC All
: P5 (lowest) Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
: 21369 (view as issue list)
Depends on:
Reported: 2003-10-21 11:32 UTC by noel.power
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description noel.power 2003-10-21 11:32:39 UTC
I started with the 'Hello World in 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"/>
       <logicalname value="MyClass"/>
       <functionname value="MyClass"/>

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
Comment 1 noel.power 2003-10-21 11:35:28 UTC
Changed milestone, assign to TOC
Comment 2 tomaisoc 2003-10-21 12:05:01 UTC
*** Issue 21369 has been marked as a duplicate of this issue. ***
Comment 3 tomaisoc 2003-10-21 12:05:47 UTC
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.
Comment 4 noel.power 2003-12-09 08:15:18 UTC
changed to fixed
Comment 5 noel.power 2003-12-09 08:22:05 UTC
Closed this in error
Comment 6 tomaisoc 2004-02-10 11:19:15 UTC
Lowering the priority on this issue as the CommandLineTools class
is not currently a priority for the 2.0 release.
Comment 7 tomaisoc 2004-08-10 15:59:42 UTC
This will not be addressed in the OOo 2.0 release
Comment 8 tomaisoc 2005-02-25 15:21:35 UTC
The CommandLineTools are no longer supported.
Comment 9 Mathias_Bauer 2005-03-31 16:11:54 UTC
Thomas, we should discuss this issue.
Comment 10 Mathias_Bauer 2005-03-31 16:12:29 UTC
Comment 11 thomas.benisch 2005-12-01 13:50:51 UTC
TBE->AB: As discussed to you.
Comment 12 ab 2006-05-17 16:28:56 UTC
Comment 13 Marcus 2017-05-20 11:29:25 UTC
Reset assigne to the default "".