Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Target for Mac some problems.

there is an old bug that might be related
https://wiki.eclipse.org/Tycho/Release_Notes/0.23#p2

but should be fixed since Tycho 0.23



On 10.04.18, 11:40, "tycho-user-bounces@xxxxxxxxxxx on behalf of Johan Compagner" <tycho-user-bounces@xxxxxxxxxxx on behalf of jcompagner@xxxxxxxxxx> wrote:

    but if the app is already called myapp.app
    and in the Info.plist (i guess thats what you mean right instead of the init.plist?) also there properties like CFBundleExecutable, CFBundleIdentifier and CFBundleName are all also something with "myapp"
    
    
    then still what is the problem that then a folder name inside that package is called "eclipse" ???
    i still don't get that.
    
    
    
    
    On 10 April 2018 at 05:41, James Klo <jim.klo@xxxxxxx> wrote:
    
    For macOS there’s a few reasons. 
    1. Process name.  When you look at the details of the process monitor it would show “eclipse” instead of your app name (the main name comes from init.plist. This might be important to some people. 
    2. Finder in macOS has finicky habit of not permitting two instances of the same name run simultaneously. Try launching two instances of the same version of eclipse - it won’t work. You can do i it from Terminal though. 
    3. You need to be able to provide command line options to launch. 
    
    Usually however the same setting that’s used for the app name changes the name of the eclipse binary too. 
    
    
    I also highly suggest to get yourself an Apple Developer Id and generate an Mac Application signing certificate. It resolves all the fun problems when trying to launch an untrusted application. 
    
    
    
    
    
    
    On Apr 9, 2018, at 9:12 AM, Johan Compagner <jcompagner@xxxxxxxxxx> wrote:
    
    
    
    why is that important that an internal name deep inside a package has a specific name?
    normal users won't really see that right? They will see "myapp" throughout everything
    
    
    On 9 April 2018 at 17:07, 김도영 <kimdo489@xxxxxxxxx> wrote:
    
    Thank you for answering my question.
     
    I already read that page, and try it. It just apply to app name.   (Ex Eclipse.app -> Myapp.app
     
    I want to change Myapp.app/Contents/Eclipse -> Myapp.app/Contents/Myapp
     
    How do I config for this?
     
    -----Original Message-----
    From: "Tom Bryan (tombry)"<tombry@xxxxxxxxx>
    
    To: "김도영"<kimdo489@xxxxxxxxx>; "Tycho user list"<tycho-user@xxxxxxxxxxx>;
    
    Cc: 
    Sent: 2018-04-09 (월) 23:06:20
    Subject: Re: [tycho-user] Target for Mac some problems.
     
    For my RCP application, we followed the instructions on this blog: 
    https://dentrassi.de/2014/09/09/creating-a-mac-os-app-bundle-with-maven-tycho/ <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdentrassi.de%2F2014%2F09%2F09%2Fcreating-a-mac-os-app-bundle-with-maven-tycho%2F&data=01%7C01%7Cjim.klo%40sri.com%7Cee658a5de3234d903d3008d59e34b24e%7C40779d3379c44626b8bf140c4d5e9075%7C1&sdata=x9gDpVwKHlLuI1UTJ1hqLNDN7F1PIoSDhuuwKCrSV3A%3D&reserved=0>.  I have no idea whether that’s the approved way, but it’s been working for me for the last couple of years.  YMMV. 
    
     
    The key trick was using the <rootFolders> element in the pom.xml for the product on macosx. 
    
     
    ---Tom
     
    From: <tycho-user-bounces@xxxxxxxxxxx> on behalf of
    김도영 <kimdo489@xxxxxxxxx>
    Reply-To: 김도영 <kimdo489@xxxxxxxxx>, Tycho user list <tycho-user@xxxxxxxxxxx>
    Date: Sunday, April 8, 2018 at 10:57 PM
    To: "tycho-user@xxxxxxxxxxx" <tycho-user@xxxxxxxxxxx>
    Subject: [tycho-user] Target for Mac some problems.
    
     
    
    I have some problems target for MAC.
     
    First, It dosen't apply to name in app structure.
     
    I follow http://www.vogella.com/tutorials/EclipseTycho/article.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vogella.com%2Ftutorials%2FEclipseTycho%2Farticle.html&data=01%7C01%7Cjim.klo%40sri.com%7Cee658a5de3234d903d3008d59e34b24e%7C40779d3379c44626b8bf140c4d5e9075%7C1&sdata=tUrAmEhtpw9ITDe%2FBcr1OBJA401YnOyOiUZ3GPawD24%3D&reserved=0>
     this page, and apply to my project.
     
    It work very well. but some problem.
    Mac os app structure is
    Myapp.app
    ┗Contents
    ┗Eclipse
    ┗Eclipse Structure(skip)
      Macos
    ┗myapp
      Resources
      Info.plist
     
    I don't want to name "Eclipse". I expect to myapp.
    How do I change Eclipse-> myapp
     
    Second, It same code and same command for tycho build. 
    In Windows, target for mac it's not work.
    But In MAC, target for mac It's work. 
    How Do I fix it.
     
    
     
    
    
    
    
    
    
    _______________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/tycho-user <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev.eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&data=01%7C01%7Cjim.klo%40sri.com%7Cee658a5de3234d903d3008d59e34b24e%7C40779d3379c44626b8bf140c4d5e9075%7C1&sdata=SbtwD7JjO2NJVkQDfY1Oger9adBP5cJra%2BGpR6hZHYM%3D&reserved=0>
    
    
    
    
    
    
    
    -- 
    Johan Compagner
    Servoy
    
    
    
    
    
    
    
    
    _______________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit
    
    
    https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev.eclipse.org%2Fmailman%2Flistinfo%2Ftycho-user&data=01%7C01%7Cjim.klo%40sri.com%7Cee658a5de3234d903d3008d59e34b24e%7C40779d3379c44626b8bf140c4d5e9075%7C1&sdata=SbtwD7JjO2NJVkQDfY1Oger9adBP5cJra%2BGpR6hZHYM%3D&reserved=0
    
    
    
    
    
    _______________________________________________
    tycho-user mailing list
    tycho-user@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/tycho-user
    
    
    
    
    
    
    
    -- 
    Johan Compagner
    Servoy
    
    
    


Back to the top