<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>87</bug_id>
          
          <creation_ts>2010-04-01 12:37:02 +0000</creation_ts>
          <short_desc>toolchain triplet should be project specific</short_desc>
          <delta_ts>2011-01-11 11:26:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Anjuta Plugin</product>
          <component>anjuta-plugin</component>
          <version>0.9</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="liping Ke">liping.ke</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>josh</cc>
    
    <cc>liping.ke</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.ap.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8350</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2010-04-01 12:37:02 +0000</bug_when>
    <thetext>As is, the toolchain triplet is a global setting.
This makes it difficult to work on more than one project where the
target machine architecture changes, e.g. ARM &amp; PowerPC</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8454</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-04-16 15:39:20 +0000</bug_when>
    <thetext>The suggestion ehere would be to store the Anjuta plugin configuration, particularly the toolchain triplet, in the specific project file.

An even better solution would be to enable on the fly toolchain changing, by some highly visible UI such as a toolbar item.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8698</commentid>
    <comment_count>2</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-05-21 04:23:49 +0000</bug_when>
    <thetext>Hi, Josh
This is a good point. Since I often feels uncomfortable with anjuta compares with eclipse experiences.

In Eclipse, general configuration and project configuration is easy to identify. For compile/debug/connect/deploy/device scripts, it is regarded as the run/debug dynamic target configuration. Even for the same application, I can safely add different run/debug target, so that my same project could easily run on arm device/qemu/x86, etc. I can just have three different run/debug targets. That&apos;s fine. And eclipse could open many projects in the same view.

But seems anjuta did not have this concept well...Rather it&apos;s quite discrete in different menus ( in run, there&apos;re something like debug remote target...). What&apos;s most important is that anjuta must open one project in one process. It can&apos;t multiply open several projects. It&apos;s a big limitation.
I will also log this as an improvement in our task list to see if we can do anything better in spite of the limited framework.

How do you think?
Thanks&amp; Regards,
criping



(In reply to comment #1)
&gt; The suggestion ehere would be to store the Anjuta plugin configuration,
&gt; particularly the toolchain triplet, in the specific project file.
&gt; 
&gt; An even better solution would be to enable on the fly toolchain changing, by
&gt; some highly visible UI such as a toolbar item.
&gt; </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9665</commentid>
    <comment_count>3</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-09-08 05:46:55 +0000</bug_when>
    <thetext>This bug is caused by current anjuta framework limitation. We won&apos;t fix this bug currently. I will first put off this bug to M4 and collect some anjuta community feedbacks firstly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9788</commentid>
    <comment_count>4</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-09-13 23:56:58 +0000</bug_when>
    <thetext>I have filed a bug in anjuta bugzilla, hoping that we can get some answers about the problem. If anjuta has some support for this, it would be easier. Otherwise, we can&apos;t support the features right away.

https://bugzilla.gnome.org/show_bug.cgi?id=629615


One thing is sure, we might still wait anjuta itself enable this session-wide preference settings, please see below response I got from anjuta:

&quot;
Johannes Schmid [anjuta developer] 2010-09-14 06:30:13 UTC
There is the AnjutaSession interface that allows you to save values to the
project (project = session). But that requires you to listen to the
&quot;save-session&quot; and &quot;load-session&quot;.

In theorie, there is a flag in the preferences definition that makes
preferences project-wide but it isn&apos;t used until now. I plan to add support for
this with the GSettings migration in the next cycle.&quot;



Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11446</commentid>
    <comment_count>5</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-01-11 11:26:43 +0000</bug_when>
    <thetext>Please note, Yocto project for Anjuta plug-in support will leave things in the current state and open to community pick up futher enhancement and bug fixes</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>