×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Aug 2006
    Location
    Tallinn, Estonia
    Posts
    37

    Question active MMP file changes for every project

    Hello.

    VS2003 7.1.6030 (SP1) + Carbide.vs 2.0.1 + SDK 3rd MR

    1) Open workspace with several Symbian projects
    2) Open mmp file of active project in VS editor
    3) Select Rel_S60_30M_* configuration
    4) Click "Build Solution" (to build all projects)

    Opened MMP file will be changed for each project in solution (if they have "update mmp file" checked), leaving all these "// [-]" and "/* [+] */" lines behind.
    And I see lines like:
    "Updating <bla-bla-bla>.mmp based on Deb_S60_30M_WINSCW"
    in Build Output. And that <bla-bla-bla>.mmp is always the same one, for each project. If MMP was not opened in editor, then it's different for each project.
    Why all other projects change this MMP file? They have their own and should use that one.

    Update: not only that, but now my resource file cannot be compiled!
    "make: *** No rule to make target `\Symbian\9.1\S60_3rd_MR\EPOC32\INCLUDE\<projectname>.rsg', needed by `\Symbian\9.1\S60_3rd_MR\EPOC32\DATA\Z\private\10003a3f\import\apps\<projectname>_reg.R01'. Stop."
    Last edited by metalim; 2007-02-13 at 14:14.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: active MMP file changes for every project

    You have to Change Your Project Settings.

  3. #3
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: active MMP file changes for every project

    Metalim, if I understood your problem description correcly, what you see is a bug. The good news is that there is a simple work-around, do not keep .mmp file open when you build, am I right?

  4. #4
    Registered User
    Join Date
    Aug 2006
    Location
    Tallinn, Estonia
    Posts
    37

    Re: active MMP file changes for every project

    Quote Originally Posted by mitts
    Metalim, if I understood your problem description correcly, what you see is a bug. The good news is that there is a simple work-around, do not keep .mmp file open when you build, am I right?
    Yes, but that "workaround" requires some attention, since I change project file quite often and number of opened windows is quite high. It's ok for now, but I'd like to know that the bug will be fixed in the next version. Also, I wonder, how the bug got there at all. How compilation process is related to opened windows? There must be serious hole in the Carbide logic. :)

    As for compilation problems if you encounter the bug: you have to change order of resource files in MMP: first must be main resource and then _reg resource - then it compiles fine again.

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: active MMP file changes for every project

    If i am not wrong it is not a bug. You only have to Turn off the Automatic update of MMP file in Carbide.vs Setting.

  6. #6
    Registered User
    Join Date
    Aug 2006
    Location
    Tallinn, Estonia
    Posts
    37

    Wink Re: active MMP file changes for every project

    Quote Originally Posted by skumar_rao
    If i am not wrong it is not a bug. You only have to Turn off the Automatic update of MMP file in Carbide.vs Setting.
    You misunderstood. It's a bug.
    If you have opened MMP file in editor, and build SEVERAL projects(they all have their own MMP files) in one Workspace, then that single MMP file will be changed for EVERY project.
    If you don't have MMP file open, then every project changes it's own MMP file.

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: active MMP file changes for every project

    I tried it Just Now the MMp file does not change for me.

  8. #8
    Registered User
    Join Date
    Aug 2006
    Location
    Tallinn, Estonia
    Posts
    37

    Re: active MMP file changes for every project

    Quote Originally Posted by skumar_rao
    I tried it Just Now the MMp file does not change for me.
    Did you have "Update MMP" turned ON for all projects? And was opened MMP file of active project? (StartUp Project)
    Have fun: Win+M, Ctrl+A, Enter.

  9. #9
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: active MMP file changes for every project

    If it is Turned ON then it is Supposed to Do it.

  10. #10
    Registered User
    Join Date
    Aug 2006
    Location
    Tallinn, Estonia
    Posts
    37

    Thumbs down Re: active MMP file changes for every project

    Quote Originally Posted by skumar_rao
    If it is Turned ON then it is Supposed to Do it.
    Sorry, you just DON'T GET IT! :(
    Build of each project is supposed to change MMP file of THAT PROJECT, not the SINGLE one that is opened in editor... Period.
    Have fun: Win+M, Ctrl+A, Enter.

Similar Threads

  1. Including Conditional statement In (mmp) file
    By mubx2000 in forum Symbian
    Replies: 0
    Last Post: 2006-07-12, 08:05
  2. mmp #define and #include in Carbide.vs
    By douglas-access in forum Symbian Tools & SDKs
    Replies: 10
    Last Post: 2005-12-13, 14:10
  3. Generate a VS project file from a example
    By Series80user in forum Symbian
    Replies: 8
    Last Post: 2005-07-28, 08:02
  4. Replies: 1
    Last Post: 2005-05-26, 14:22
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×