Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355232

Summary: Get HTML file for every Locale not just the one selected by default
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
projects
none
Patch
none
icons none

Description Kathy Carroll CLA 2011-08-19 11:41:47 EDT
I'm working from a development image.  I have all the projects from the eclipse CVS and org.eclipse.edt.runtime.javascript from IBM.

I'm trying to create and deploy a simple hello world RUI app.  Since I don't have access to any widgets, I'm just using writeStdOut in the start function.  I verified the scenario works as desired in RBD.

Here are the steps to recreate:

1. Define a tomcat server
2. Create a new web client project
3. Create a new RUI handler
4. Edit the rui handler to remove the UI specific stuff and add writeStdOut
handler Greetings type RUIhandler { onConstructionFunction = start, cssFile="css/AgainREDO3.css", title="Greetings"}
	function start()
		syslib.writeStdout("This is another test");
	end	
end
5. Open the dd file and specify new target project
6. Verify only one locale setting is selected on RUI Deployment Page
7. Save the DD changes without closing file
8. Select the Deploy Descriptor Icon
9. Note that a html file is generated for each Locale not just the one selected.

If you repeat the process and add an additional locale at setp 6, no html files will be generated.
Comment 1 Kathy Carroll CLA 2011-08-22 15:30:19 EDT
Created attachment 201951 [details]
projects
Comment 2 Kathy Carroll CLA 2011-08-22 15:32:03 EDT
Added attachment to recreate the problem.

Import the existing projects from the attached zip file.

Deploy ECK_Script.eunit.javascript to project DeployECK.

Note you need to update the java path of the DeployECK with
org.eclipse.edt.runtime.java to resolve compile errors. (defect 355427 )
Comment 3 Yun Feng Ma CLA 2011-08-24 04:06:44 EDT
Created attachment 202056 [details]
Patch

Here is the patch for this issue.
Comment 4 Yun Feng Ma CLA 2011-08-24 04:09:41 EDT
Created attachment 202057 [details]
icons

Two icons are missing, please unzip the icons in icons.zip into org.eclipse.edt.ide.deployment.rui/icons/. Thanks.
Comment 5 Yun Feng Ma CLA 2011-08-28 21:15:24 EDT
Resolved.
Comment 6 Kathy Carroll CLA 2011-08-29 10:41:44 EDT
verified
Comment 7 Kathy Carroll CLA 2011-08-29 11:38:39 EDT
Sorry modified the wrong defect.  I'm not getting any HTML files at the moment.  I will try again with a new set up.
Comment 8 Kathy Carroll CLA 2011-08-29 14:18:06 EDT
I have to modify the locale selection to have more than one selected in order to get any HTML files.  If any HTML files are produced, it will be for what I have selected.
Comment 9 Yun Feng Ma CLA 2011-08-30 23:07:55 EDT
Resolved, please re-verify. Thanks a lot.
Comment 10 Kathy Carroll CLA 2011-09-01 07:52:27 EDT
Thanks.  Verified it works.
Comment 11 Lisa Lasher CLA 2011-10-11 16:25:44 EDT
Closing this defect.