Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358511 - No error message when the generation was set incorrectly
Summary: No error message when the generation was set incorrectly
Status: CLOSED INVALID
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: Tony Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 02:10 EDT by Yu Hao CLA
Modified: 2017-02-23 14:15 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yu Hao CLA 2011-09-22 02:10:07 EDT
Build Identifier:  (EDT) SDK	0.7.0.v201109212102

When the generation setting is incorrect. There is no error message in the problem view. 

Reproducible: Always

Steps to Reproduce:
1.Create a web client application with services
2.Create a service in package server and create a RUI handler in package client to call this service
3.Change the generation setting for package client to java(Default is javascript). Change the generation setting for package server to JavaScript(default is Java). 
4.Trigger the build/generate by clean the project
5.The project was NOT built nor generated and there is no error message shown
Comment 1 Tony Chen CLA 2011-09-22 02:27:50 EDT
This works as designed. The default packages (client, server) are created to make things easier for user, so are the default compiler settings. User can always change the setting to make fit better (or not working). We did not prevent user from changing the settings. The behavior you inspected is exactly what should the generator operate based on your setting. JavaGenerator will ignore RUIHandlers, and JavaScriptGenerator should ignore services.
Comment 2 Yu Hao CLA 2011-09-30 01:41:53 EDT
worked as design