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

Bug 357032

Summary: No generation or message before deployment if project haven't been generated
Product: z_Archived Reporter: Xin Wu <cdlwuxin>
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: cdlwuxin, hjiyong, mayunf, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xin Wu CLA 2011-09-08 01:36:42 EDT
Build Identifier: 20110908 nightly build

No generation or message before deployment if project haven't been generated

Reproducible: Always

Steps to Reproduce:
1. Create a Web Client with services project
2. Add a service with simple functions and save the file. It will be generated to folder "GeneratedJava" 
3. Delete the java files in folder "GeneratedJava"
4. Deploy the project to Web Project
5. Project will not be generated before deployment, and no error message alert.
Comment 1 Brian Svihovec CLA 2011-10-31 09:38:23 EDT
This is working as designed.  It would be the equivalent of running a Java class before invoking a compilation.  A No Class Def Found exception is thrown at runtime by Java, and our running application should indicate that definitions cannot be found.

I think a more realistic scenario would be to turn auto-build off instead of deleting the generated content.
Comment 2 Brian Svihovec CLA 2011-11-08 09:37:34 EST
I think we should close this as won't fix, and the real solution would be covered by Bug 362459 - Run JavaScriptGen only at deployment, which would generate code during deployment so that there is no chance of missing code.
Comment 3 Xin Wu CLA 2011-11-08 20:43:34 EST
Marked as won't fix
Comment 4 Xin Wu CLA 2011-11-08 20:43:50 EST
Closed the bug