Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357032 - No generation or message before deployment if project haven't been generated
Summary: No generation or message before deployment if project haven't been generated
Status: CLOSED WONTFIX
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-09-08 01:36 EDT by Xin Wu CLA
Modified: 2017-02-23 14:16 EST (History)
4 users (show)

See Also:


Attachments

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