Issue 11222

Summary: after renaming parcel recipe, parcel fails to build
Product: General Reporter: robert.kinsella
Component: scriptingAssignee: tomaisoc
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: 644   
Target Milestone: OOo 2.0   
Hardware: Sun   
OS: SunOS   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description robert.kinsella 2003-02-05 18:01:16 UTC
Scripting framework date 02.04.2003, on StarOffice 6.1 build u (OpenOffice.org
644 is not yet available for test)
Tested on Solaris sparc 9 and Windows 2000 with NetBeans3.4

In NetBeans, create a new parcel recipe
1. Select file mount filesystem, select local directory, next and select 
a directory where you wish to create your new parcel recipe.
2. In the right hand frame, right click on the mounted directory (e.g. dir1)
and select New, Office Scripting, Parcel Recipe. Enter a name e.g. Beans and
select an Initial script language, e.g. BeanShell.

3. Right click on the newly created parcel recipe and select rename,
in the rename dialog rename the parcel recipe to beans1, select ok
4. right click on the beans1 parcel recipe and select build,
select the Empty.bsh, and add to scripts, select ok.

Bug Generation failed reason java.io.FielNotFoundException
<dir_path>\beans\beans1.sxp.tmp (The system cannot find the path specified)

If the user renames the parcel recipe back from 'beans1' to 'beans' 
the parcel builds successfully.
Comment 1 Unknown 2003-02-07 10:43:44 UTC
Assign to Tom to fix
If it's easy to implement the rename fine - if not then remove it.
Comment 2 tomaisoc 2003-02-12 13:37:57 UTC
Changing the Target Milestone to OOo 2.0 as the Framework
won't be fully integrated into the OOo installation in the 1.1 timeframe.

Changed the parcel generation code to not check the Location property
for the parcel recipe as this property is not displayed anymore and does
not stay in sync with changes in the parcel recipe name.
Comment 3 robert.kinsella 2003-02-13 17:15:38 UTC
verified fixed, build SFrameworkINstall.jar.02.13.2003
closing issue as verified
Comment 4 michael.bemmer 2003-03-13 11:10:26 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.