osx - Why when I use p2.director to install Eclipse Mars.2 on Macosx there is no launcher? -


i installing eclipse mars.2 ide on mac pointing p2.director eclipse platform 4.5.2 repository, , completes without error, there not launcher.

here command use:

./eclipse -nosplash -application org.eclipse.equinox.p2.director -profileproperties org.eclipse.update.install.features=true -roaming -repository http://download.eclipse.org/eclipse/updates/4.5/r-4.5.2-201602121500 -installiu org.eclipse.sdk.ide -bundlepool /home/me/ecl452 -destination /home/me/ecl452 -p2.os macosx -p2.ws cocoa -p2.arch x86_64 -profile sdkprofile

there no errors, reports it's installing org.eclipse.sdk.ide 4.5.2.m20160212-1500, , completes "operation completed in 101165 ms". there no "eclipse.app" folder in destination, , no eclipse launcher file. resulting destination folder has this:

-rw-r--r--  .eclipseproduct  -rw-r--r--  artifacts.xml  drwxr-xr-x  configuration drwxr-xr-x  dropins -rw-r--r--  eclipse.ini  drwxr-xr-x  features drwxr-xr-x  p2 drwxr-xr-x  plugins drwxr-xr-x  readme 

i kind of thing windows , gives me "eclipse.exe" properly, doing wrong on mac?

adding ".app" both -bundlepool , -destination parameter values resulted in launchable eclipse instance executable located in following folder:

/home/me/ecl452.app/contents/macos/eclipse 

it seems when folder name ends ".app" p2.director recognizes should setup installation mac application, other folder name skips application setup step without warning or error.

for completeness, here command worked:

./eclipse -nosplash -application org.eclipse.equinox.p2.director -profileproperties org.eclipse.update.install.features=true -roaming -repository http://download.eclipse.org/eclipse/updates/4.5/r-4.5.2-201602121500 -installiu org.eclipse.sdk.ide -bundlepool /home/me/ecl452.app -destination /home/me/ecl452.app -p2.os macosx -p2.ws cocoa -p2.arch x86_64 -profile sdkprofile


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -