From: SourceForge.net <no...@so...> - 2008-03-25 11:40:29
|
Bugs item #1903378, was opened at 2008-02-27 21:35 Message generated for change (Comment added) made by innot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=928231&aid=1903378&group_id=189165 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Behavior Group: v2.1 >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Andrew Llewelyn (adlur) Assigned to: Thomas Holland (innot) Summary: AVR Target Hardware missing from C++ Project Initial Comment: The AVR Target Hardware property page is missing from C++ Project's property pages. It can be added by editing the plugin.xml file in the de.innot.avreclipse.core_2.1.0.20080210PRD.jar archive to add the line: <instanceof value="org.eclipse.cdt.core.model.ICXXProject"/> after the line: <instanceof value="org.eclipse.cdt.core.model.ICProject"/> ---------------------------------------------------------------------- >Comment By: Thomas Holland (innot) Date: 2008-03-25 12:40 Message: Logged In: YES user_id=1542541 Originator: NO With the release of version 2.1.1 which fixes bug 1892250, this bug might have been fixed as well. I change the status of this report to pending, so it will automatically close in 14 days unless someone can reproduce it with the 2.1.1 release. ---------------------------------------------------------------------- Comment By: Thomas Holland (innot) Date: 2008-03-03 20:35 Message: Logged In: YES user_id=1542541 Originator: NO Thanks for the investigations. The AVR Target Hardware is only shown when a project has an "AVR Nature". All new "AVR Cross Target" Projects have this nature set, and also old (Plugin 2.0.x) Projects get this Nature from the Project Converter. Somehow this Nature seems to be missing from some of your projects (you can check this by opening the .project file for the project - the natures are somewhere at the end). Are you sure, that you created the failing projects as "AVR Cross Target" Projects? If yes, then there might be some bug in the New Project Wizard which prevents setting of the AVR Nature for a new project. Could you please attach the .cproject and .project files for a non-working project as well as dump of the Eclipse log file ("[Your Eclipse Workspace]/.metadata/.log" or via Help > About Eclipse Platform... -> Configuration Details -> View Error Log) Maybe I can trace this thing down. ---------------------------------------------------------------------- Comment By: Andrew Llewelyn (adlur) Date: 2008-03-02 09:08 Message: Logged In: YES user_id=2021639 Originator: YES I have just updated to Eclipse 3.3.2/CDT 4.0.3 and now the AVR Target hardware options screen appears during the creation of a new C++ project (previously it only appeared for C projects). It appears the issue was only with CDT 4.0.1. There is still the issue of the 'Convert To...' function - two of my projects (one C, one C++) correctly produce the error 'There are no converters available to convert the project...'. Two other projects (also one C, one C++) list 'Update to AVR Eclipse 2.1' as a converter. After executing the converter, the option is still available (even after a restart of Eclipse). This is a minor issue, but I thought I would mention it anyway. ---------------------------------------------------------------------- Comment By: Andrew Llewelyn (adlur) Date: 2008-03-02 08:47 Message: Logged In: YES user_id=2021639 Originator: YES I am using Eclipse 3.3.1.1 on Windows XP SP2 with jdk 1.6.0_03 and CDT 4.0.1.200709241202 With a little more experimentation I've found that there seems to be a little more involved, as sometimes the AVR Target hardware does not appear even after I altered the plugin.xml file. I've found that using the 'Convert To...' project option to run 'Update to AVR Eclipse 2.1' the options appear. I find this especially odd as I do not have any previous versions of AVR-Eclipse installed. I will try updating to CDT 4.0.2 and see if the problem has disappeared. ---------------------------------------------------------------------- Comment By: Thomas Holland (innot) Date: 2008-02-29 12:22 Message: Logged In: YES user_id=1542541 Originator: NO P.S. I - of course - tried to reproduce the bug with my current development setup. Maybe your bug is the same as bug 1892250, which has been fixed in the svn already, so it didn't show up. https://sourceforge.net/tracker/index.php?func=detail&aid=1892250&group_id=189165&atid=928231 ---------------------------------------------------------------------- Comment By: Thomas Holland (innot) Date: 2008-02-29 12:17 Message: Logged In: YES user_id=1542541 Originator: NO Thanks for the bug report. However, I cannot reproduce your bug. On my System (Windows XP / Eclipse 3.3 / CDT 4.0.2), the AVR Target Hardware property page is always shown, regardless of C or C++ Project. What version of CDT are you using? Because I can't find any reference to "org.eclipse.cdt.core.model.ICXXProject" anywhere in the CDT source code. brgds Thomas ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=928231&aid=1903378&group_id=189165 |