Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launcher name ignored for Mac app #541

Closed
vogella opened this issue Jan 19, 2022 · 4 comments
Closed

Launcher name ignored for Mac app #541

vogella opened this issue Jan 19, 2022 · 4 comments
Milestone

Comments

@vogella
Copy link
Contributor

vogella commented Jan 19, 2022

It is possible to add a launcher name in the product.

image

This is used under Linux / Windows to name the launcher.

image

Under Mac this currently does not work:

image

To test clone https://github.com/vogellacompany/eclipse4book/ run build with mvn clean verify and check the result in git\eclipse4book\com.example.e4.product\target\products\com.example.e4.product\macosx\cocoa\x86_64>

@vogella
Copy link
Contributor Author

vogella commented Jan 19, 2022

Sorry for the noise, this can be configured

				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-p2-director-plugin</artifactId>
				<version>${tycho.version}</version>
				<executions>
				  <execution>
					<id>materialize-products</id>
					<goals>
					  <goal>materialize-products</goal>
					</goals>
				  </execution>
				  <execution>
					<id>archive-products</id>
					<phase>verify</phase>
					<goals>
					  <goal>archive-products</goal>
					</goals>
				  </execution>
				</executions>
				<configuration>
				  <products>
					<product>
					  <id>WebFatClient</id>
					  <rootFolders>
						<macosx>WFC.app</macosx>
					  </rootFolders>
					</product>
				  </products>
				</configuration>
			  </plugin>```

@vogella vogella closed this as completed Jan 19, 2022
@laeubi
Copy link
Member

laeubi commented Jan 19, 2022

@vogella you might want to write a wiki and/or "show&tell discussion"-

@vogella
Copy link
Contributor Author

vogella commented Jan 19, 2022

@laeubi I'm planning to add this to my Tycho tutorial. https://www.vogella.com/tutorials/EclipseTycho/article.html This allows me to re-use it for my RCP training sessions.

@mickaelistria
Copy link
Contributor

Note that a patch to use smarter default according to .product content would be welcome.

@laeubi laeubi added this to the 2.7 milestone Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants