Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355232 - Get HTML file for every Locale not just the one selected by default
Summary: Get HTML file for every Locale not just the one selected by default
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yun Feng Ma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 11:41 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments
projects (153.71 KB, application/x-zip-compressed)
2011-08-22 15:30 EDT, Kathy Carroll CLA
no flags Details
Patch (30.35 KB, patch)
2011-08-24 04:06 EDT, Yun Feng Ma CLA
no flags Details | Diff
icons (649 bytes, application/zip)
2011-08-24 04:09 EDT, Yun Feng Ma CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.