Discussion:
Target for Mac some problems.
(too old to reply)
김도영
2018-04-09 02:57:39 UTC
Permalink
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 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.
Tom Bryan (tombry)
2018-04-09 14:06:20 UTC
Permalink
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/. 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-***@eclipse.org> on behalf of 김도영 <***@naver.com>
Reply-To: 김도영 <***@naver.com>, Tycho user list <tycho-***@eclipse.org>
Date: Sunday, April 8, 2018 at 10:57 PM
To: "tycho-***@eclipse.org" <tycho-***@eclipse.org>
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 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.


[https://mail.naver.com/readReceipt/notify/?img=UQbdWr3R16R4FxvYaqv%2Fp4MlFrE%2FK4K%2FpAF0KrEla6KqFobZKqKZpx29KdIo%2BrkSKxv5W4d5W4C5bX0q%2BzkR74FTWx%2Fs%2BH0o1zYR%2BBF0bvI0MrwGbHF074eZpm%3D%3D.gif]
김도영
2018-04-09 15:07:26 UTC
Permalink
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)"<***@cisco.com>
To: "김도영"<***@naver.com>; "Tycho user list"<tycho-***@eclipse.org>;
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/. 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-***@eclipse.org> on behalf of 김도영 <***@naver.com>
Reply-To: 김도영 <***@naver.com>, Tycho user list <tycho-***@eclipse.org>
Date: Sunday, April 8, 2018 at 10:57 PM
To: "tycho-***@eclipse.org" <tycho-***@eclipse.org>
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 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.
Johan Compagner
2018-04-09 16:12:08 UTC
Permalink
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, 김도영 <***@naver.com> 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)"<***@cisco.com>
> *To:* "김도영"<***@naver.com>; "Tycho user list"<tycho-***@eclipse.org>;
>
> *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/. 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-***@eclipse.org> on behalf of 김도영 <
> ***@naver.com>
> *Reply-To: *김도영 <***@naver.com>, Tycho user list <
> tycho-***@eclipse.org>
> *Date: *Sunday, April 8, 2018 at 10:57 PM
> *To: *"tycho-***@eclipse.org" <tycho-***@eclipse.org>
> *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 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-***@eclipse.org
> 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
김도영
2018-04-10 01:28:16 UTC
Permalink
My project migration RCP3(indigo) to RCP4(oxygen).

RCP3 using PDE build, and migration it I try to using Tycho.

So it problem occur this situation. Legacy code are using inside path, and it related of auto update.

The programs are deployed and using. So, I have to config that name.



-----Original Message-----
From: "Johan Compagner"<***@servoy.com>
To: "Tycho user list"<tycho-***@eclipse.org>;
Cc:
Sent: 2018-04-10 (화) 01:12:08
Subject: Re: [tycho-user] Target for Mac some problems.

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, 김도영 <***@naver.com> 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)"<***@cisco.com>
To: "김도영"<***@naver.com>; "Tycho user list"<tycho-***@eclipse.org>;
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/. 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-***@eclipse.org> on behalf of 김도영 <***@naver.com>
Reply-To: 김도영 <***@naver.com>, Tycho user list <tycho-***@eclipse.org>
Date: Sunday, April 8, 2018 at 10:57 PM
To: "tycho-***@eclipse.org" <tycho-***@eclipse.org>
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 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-***@eclipse.org
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
James Klo
2018-04-10 03:41:53 UTC
Permalink
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 <***@servoy.com<mailto:***@servoy.com>> 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, 김도영 <***@naver.com<mailto:***@naver.com>> 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)"<***@cisco.com<mailto:***@cisco.com>>
To: "김도영"<***@naver.com<mailto:***@naver.com>>; "Tycho user list"<tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>;
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-***@eclipse.org<mailto:tycho-user-***@eclipse.org>> on behalf of 김도영 <***@naver.com<mailto:***@naver.com>>
Reply-To: 김도영 <***@naver.com<mailto:***@naver.com>>, Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Sunday, April 8, 2018 at 10:57 PM
To: "tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>" <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
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.






[cid:]

_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
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-***@eclipse.org<mailto:tycho-***@eclipse.org>
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
Johan Compagner
2018-04-10 09:33:43 UTC
Permalink
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 <***@sri.com> 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 <***@servoy.com> 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, 김도영 <***@naver.com> 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)"<***@cisco.com>
>> *To:* "김도영"<***@naver.com>; "Tycho user list"<tycho-***@eclipse.org>;
>>
>> *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-***@eclipse.org> on behalf of 김도영 <
>> ***@naver.com>
>> *Reply-To: *김도영 <***@naver.com>, Tycho user list <
>> tycho-***@eclipse.org>
>> *Date: *Sunday, April 8, 2018 at 10:57 PM
>> *To: *"tycho-***@eclipse.org" <tycho-***@eclipse.org>
>> *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-***@eclipse.org
>> 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-***@eclipse.org
> 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-***@eclipse.org
> 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
Sievers, Jan
2018-04-10 11:02:27 UTC
Permalink
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-***@eclipse.org on behalf of Johan Compagner" <tycho-user-***@eclipse.org on behalf of ***@servoy.com> 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 <***@sri.com> 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 <***@servoy.com> 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, 김도영 <***@naver.com> 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)"<***@cisco.com>

To: "김도영"<***@naver.com>; "Tycho user list"<tycho-***@eclipse.org>;

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-***@eclipse.org> on behalf of
김도영 <***@naver.com>
Reply-To: 김도영 <***@naver.com>, Tycho user list <tycho-***@eclipse.org>
Date: Sunday, April 8, 2018 at 10:57 PM
To: "tycho-***@eclipse.org" <tycho-***@eclipse.org>
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-***@eclipse.org
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-***@eclipse.org
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-***@eclipse.org
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
James Klo
2018-04-11 19:09:27 UTC
Permalink
From: <tycho-user-***@eclipse.org> on behalf of Johan Compagner <***@servoy.com>
Reply-To: Tycho user list <tycho-***@eclipse.org>
Date: Tuesday, April 10, 2018 at 2:34 AM
To: Tycho user list <tycho-***@eclipse.org>
Subject: Re: [tycho-user] Target for Mac some problems.



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"



Ø Yes, I meant info.plist.  I was having a brain fart trying to remember what the name was.  If CFBundleExecutable is already “myapp” then “MyApp.app/Contents/MacOS/myapp” should exist.  However CFBundleExecutable doesn’t have to be “myapp” – it could be eclipse, as long as “MyApp.app/Contents/MacOS/eclipse” executable exists.



then still what is the problem that then a folder name inside that package is called "eclipse" ???

i still don't get that.



Ø I wouldn’t worry about that so much
 that’s more or less the local P2 repo.  It doesn’t show up anywhere AFAIK unless you start inspecting the app bundle.





On 10 April 2018 at 05:41, James Klo <***@sri.com> 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 <***@servoy.com> 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, 김도영 <***@naver.com> 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)"<***@cisco.com>
To: "김도영"<***@naver.com>; "Tycho user list"<tycho-***@eclipse.org>;
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/. 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-***@eclipse.org> on behalf of 김도영 <***@naver.com>
Reply-To: 김도영 <***@naver.com>, Tycho user list <tycho-***@eclipse.org>
Date: Sunday, April 8, 2018 at 10:57 PM
To: "tycho-***@eclipse.org" <tycho-***@eclipse.org>
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 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.





Error! Filename not specified.


_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
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

_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
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-***@eclipse.org
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
Johan Compagner
2018-04-12 08:30:55 UTC
Permalink
>
>
>
> Ø Yes, I meant info.plist. I was having a brain fart trying to
> remember what the name was. If CFBundleExecutable is already “myapp” then
> “MyApp.app/Contents/MacOS/myapp” should exist. However
> CFBundleExecutable doesn’t have to be “myapp” – it could be eclipse, as
> long as “MyApp.app/Contents/MacOS/eclipse” executable exists.
>
>
>
it is all "myapp"
so i guess everywhere MacOSX should already report it like that
Continue reading on narkive:
Loading...