Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356941 - [EDT test framework] No EGL files in xxx.eunit.java or xxx.eunit.javascript
Summary: [EDT test framework] No EGL files in xxx.eunit.java or xxx.eunit.javascript
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 10:05 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments
runtime files & basic test (2.59 KB, application/x-zip-compressed)
2011-09-07 10:05 EDT, Kathy Carroll 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-09-07 10:05:00 EDT
Created attachment 202901 [details]
runtime files & basic test

Using the install build 0.7.0v201109061723 on Eclipse 3.6.  when I use the Generate EGL Test Driver menu options, the resulting projects don't have any EGL source in the org.eclipse.edt.eunit.runtime package.

Steps
1.  New workspace
2.  Create new EGL Project with pkg org.eclipse.edt.eunit.runtime; Basic without JavaScript generation
3.  Import ConstsLib.egl and LogResults into package
4.  Create package api.eglx_lang and import Basics.egl to it
5.  Select Generate EGL Test Driver--> Java
6.  You will see that xxxx.eunit.java org.eclipse.edt.edu.runtime has no source
Comment 1 Jing Qian CLA 2011-09-07 11:52:46 EDT
This only happens with installable driver, not with development build.

Because org.eclipse.edt.ide.eunit needs to be packaged as directory rather than jar file. 

Because during the EUnit driver generation process, I'm copying bunch of files from a sub directory under org.eclipse.edt.ide.eunit plugin. 

Matt, can you make this change to the build script

Thanks
Comment 2 Matt Heitz CLA 2011-09-07 12:13:52 EDT
Updated.

I'm running many builds today (trying to get some custom build steps to work).  This change will be in every build made after noon today.
Comment 3 Jing Qian CLA 2011-09-08 10:08:50 EDT
The plugin is now a directory, however, I still need a non java source folder called "eunit_runtime" to be there.

Matt, could you add this folder to your build scripts.

Thanks
Comment 4 Matt Heitz CLA 2011-09-08 10:33:45 EDT
The built plugin will now include eunit_runtime.

By the way, when I released this change I found several changes in the .egl files under eunit_runtime that weren't released.  Don't forget to do Team -> Release after you commit a change.
Comment 5 Jing Qian CLA 2011-09-08 15:38:32 EDT
Thanks, did not know I had to release.  Just did that. 
should be in the next build.
Comment 6 Kathy Carroll CLA 2011-09-09 14:39:26 EDT
0.7.0v201109090902
Comment 7 Lisa Lasher CLA 2011-10-11 16:28:29 EDT
Closing this defect.