Community
Participate
Working Groups
All of the methods in this class that deal with output directories for generated files (debug or target) are invalid in EDT. Files can be generated anywhere in the project, there is no hardcoded "known" location. All references to these methods need to be updated to check the specific output directory for a generator on a file. Deployment, for example, has some references to these methods. In fact, this entire class should go away.
Rewritten EGLProjectInfoUtility. Now there's 3 methods public static String getGeneratedJavaScriptDevFolder( IProject project ) public static String getGeneratedJavaScriptFolder( IProject project ) public static String getGeneratedJavaFolder( IProject project ) There's discussion around whether a project can have multiple output directories for one generator. For now, the method will only return the first entry. When we had a decision on this, we will finalize the interface. Performance also need to be considered, we are doing a lot more calculations then the originally methods which simply return a static string. Since these method can be called many time, we may need to add a cache so that it does not calculate every time.
The changes for this bug will have a impact on VE and Deployment. Yunfeng, Forest, please verify your components.
Created attachment 202973 [details] Change for Deployment part Here is the change for Deployment part. Please review. Thanks.
If there is any type of caching that gets added, it needs to be rock solid at updating when the values are changed.
Since we hide the JS Dev mode generator, I hard coded the directory for it.
Completed
Closing