I agree with your assessment on this. it is very similar to the way that we change out the JavaME libraries when the target device is altered. This is a non-trivial feature to add to the system and definitely needs to be part of a major release. I am thinking how to define source folders for each configuration. I am afraid JDT don't support this feature. So we can 1. Set source folders information in configuration meta data. 2. Only current active configuration's source folders are JDT Java source folder. Other source folders are set to normal folder. 3. When active configuration switch, source folders switch too. 4. Modify Antenna build files exporting feature. 5. When packaging, go through every configurations, switch source folders, build source code, and copy JAD and JAR files. I guess only if configurations share some source folders, put them in one project make sense; otherwise, user can create separate projects. I think it's better to add this feature in feature release, if it is important.
Best Regards, Feng(Marvin) Wang(王峰) Sybase Software (China) Co., Ltd Room 1202-1203, Building One, Zhangjiang Semiconductor Industry Park 3000 Longdong Avenue Pudong, Shanghai 201203 Tel: +8621-38657441 or 258-7441 email: feng.wang@xxxxxxxxxx If it is important, and not currently in the roadmap, then it seems that we should put it there. Would this be a good 1.1 feature? Eric Hildum Senior Product Manager, Mobile Developer Tools & SDK Software Platforms and Delivery Ecosystem and Market Development Motorola Direct: +1-408-541-6809 Mobile: +1-510-305-0801 809 11th Avenue Sunnyvale, CA 94089 USA From: dsdp-mtj-dev-bounces@xxxxxxxxxxx [mailto:dsdp-mtj-dev-bounces@xxxxxxxxxxx] On Behalf Of Craig Setera Sent: Monday, December 08, 2008 4:18 To: Mobile Tools for The Java Platform mailing list Subject: Re: [dsdp-mtj-dev] Separate resources folders for multi-target buildand distribution This has been in the conceptual design for quite some time (back in EclipseME days). I agree that it is an important piece of functionality. On Dec 8, 2008, at 6:12 AM, Ales Milan (Inlogic Software s.r.o.) wrote: One more issue what I need in MTJ. Developer of limited devices many times require to use different resource folders for each configuration. My suggestion is 1) define default resource folders for project (this choice is currently available) 2) possibility to define resource folders for each device configuration. what you think ? similar problem was: [multdevice]: Separate deploy folders for multi-target build and distribution https://bugs.eclipse.org/bugs/show_bug.cgi?id=249834 Ales _______________________________________________ dsdp-mtj-dev mailing list dsdp-mtj-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dsdp-mtj-dev _______________________________________________ dsdp-mtj-dev mailing list dsdp-mtj-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dsdp-mtj-dev _______________________________________________ dsdp-mtj-dev mailing list dsdp-mtj-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dsdp-mtj-dev
|