Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » acmeproduct.exe appears not to work when placed in the recommended directory
acmeproduct.exe appears not to work when placed in the recommended directory [message #16294] Wed, 13 August 2008 17:03 Go to next message
Eclipse UserFriend
The help page entitled "How to write an Eclipse installer"

http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/launcher.html

recommends putting the acmeproduct.exe in the directory that contains an
eclipse sub-dir, which in turn contains the eclipse.exe.

I have created my own acmeproduct.exe launcher that works fine when i put
it in the _same_ directory as the eclipse.exe but not when i put it in the
parent.

I could not see anything in the product editor or the help on whether this
is a configuration setting or a mistake in the doc, can you clear this up
for me?

thanks in advance
tim
Re: acmeproduct.exe appears not to work when placed in the recommended directory [message #16325 is a reply to message #16294] Thu, 14 August 2008 11:01 Go to previous messageGo to next message
Eclipse UserFriend
I don't see anything in that doc page about where to put a branded launcher.

A launcher "acmeproduct.exe" will do the following by default:
1) Find the "acmeproduct.ini" file located in the same directory with
the executable.

2) Find the launcher shared library, locate in the platform specific
fragmet (ie
org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v200805 09-1800/eclipse_1114.dll).
By default, the launcher looks for a plugins folder beside the
executable and finds the fragment in there. If the fragment is located
somewhere else, you must add a --launcher.library argument to the .ini file.

3) Find the org.eclipse.equinox.launcher jar located in the plugins
folder. As with (2), the plugins folder is expected to be beside the
executable, if it isn't, you must specify the launcher jar with the
-startup argument in the .ini file.


If you want to put the acmeproduct.exe in the parent folder, then you
need an acmeproduct.ini with the appropriate entries:

acme/acmeproduct.exe
/acmeproduct.ini
/eclipse/plugins

-Andrew

Tim Stephenson wrote:
> The help page entitled "How to write an Eclipse installer"
> http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/launcher.html
>
>
> recommends putting the acmeproduct.exe in the directory that contains an
> eclipse sub-dir, which in turn contains the eclipse.exe.
> I have created my own acmeproduct.exe launcher that works fine when i
> put it in the _same_ directory as the eclipse.exe but not when i put it
> in the parent.
> I could not see anything in the product editor or the help on whether
> this is a configuration setting or a mistake in the doc, can you clear
> this up for me?
> thanks in advance
> tim
Re: acmeproduct.exe appears not to work when placed in the recommended directory [message #16339 is a reply to message #16325] Thu, 14 August 2008 14:41 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the reply Andrew, I got it working.

Sorry for posting the wrong link, the one I intended was the title I
mentioned but the link is
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/eclipse-install.html

After digesting your reply I think the link above should state:

After installing all files, the top-level structure of the install
directory would contain the following files and subdirectories (and
perhaps others):

<install>/
acmeproduct.exe
acmeproduct.ini (this is not mentioned in the 3.4 doc)
eclipse/
.eclipseproduct
eclipse.exe
features/
plugins/
jre/

where acmeproduct.ini should contain references to the path to the
installed versions of the equinox launcher plugin and fragment as follows
(and perhaps other settings):

--launcher.library
<install> /eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x8 6_x.y.z.qualifier
-startup
<install> /eclipse/plugins/org.eclipse.equinox.launcher_x.y.z.qualifie r.jar


thanks again,
Tim
Re: acmeproduct.exe appears not to work when placed in the recommended directory [message #16353 is a reply to message #16339] Fri, 15 August 2008 11:38 Go to previous message
Eclipse UserFriend
As a side note, since the acmeproduct.exe is just a rebranded
eclipse.exe, I'm not sure there is any need to ship the eclipse.exe
under the eclipse directory. (The only case I can think of to keep it
would have been exporting product from your acmeproduct, but I think
this was fixed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=205833).


-Andrew

Tim Stephenson wrote:
> Thanks for the reply Andrew, I got it working.
> Sorry for posting the wrong link, the one I intended was the title I
> mentioned but the link is
> http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/eclipse-install.html
>
>
> After digesting your reply I think the link above should state:
> After installing all files, the top-level structure of the install
> directory would contain the following files and subdirectories (and
> perhaps others):
>
> <install>/
> acmeproduct.exe
> acmeproduct.ini (this is not mentioned in the 3.4 doc)
> eclipse/
> .eclipseproduct
> eclipse.exe
> features/
> plugins/
> jre/
>
> where acmeproduct.ini should contain references to the path to the
> installed versions of the equinox launcher plugin and fragment as
> follows (and perhaps other settings):
>
> --launcher.library
> <install> /eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x8 6_x.y.z.qualifier
>
> -startup
> <install> /eclipse/plugins/org.eclipse.equinox.launcher_x.y.z.qualifie r.jar
>
>
> thanks again,
> Tim
>
Re: acmeproduct.exe appears not to work when placed in the recommended directory [message #576351 is a reply to message #16294] Thu, 14 August 2008 11:01 Go to previous message
Eclipse UserFriend
I don't see anything in that doc page about where to put a branded launcher.

A launcher "acmeproduct.exe" will do the following by default:
1) Find the "acmeproduct.ini" file located in the same directory with
the executable.

2) Find the launcher shared library, locate in the platform specific
fragmet (ie
org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v200805 09-1800/eclipse_1114.dll).
By default, the launcher looks for a plugins folder beside the
executable and finds the fragment in there. If the fragment is located
somewhere else, you must add a --launcher.library argument to the .ini file.

3) Find the org.eclipse.equinox.launcher jar located in the plugins
folder. As with (2), the plugins folder is expected to be beside the
executable, if it isn't, you must specify the launcher jar with the
-startup argument in the .ini file.


If you want to put the acmeproduct.exe in the parent folder, then you
need an acmeproduct.ini with the appropriate entries:

acme/acmeproduct.exe
/acmeproduct.ini
/eclipse/plugins

-Andrew

Tim Stephenson wrote:
> The help page entitled "How to write an Eclipse installer"
> http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/launcher.html
>
>
> recommends putting the acmeproduct.exe in the directory that contains an
> eclipse sub-dir, which in turn contains the eclipse.exe.
> I have created my own acmeproduct.exe launcher that works fine when i
> put it in the _same_ directory as the eclipse.exe but not when i put it
> in the parent.
> I could not see anything in the product editor or the help on whether
> this is a configuration setting or a mistake in the doc, can you clear
> this up for me?
> thanks in advance
> tim
Re: acmeproduct.exe appears not to work when placed in the recommended directory [message #576366 is a reply to message #16325] Thu, 14 August 2008 14:41 Go to previous message
Eclipse UserFriend
Thanks for the reply Andrew, I got it working.

Sorry for posting the wrong link, the one I intended was the title I
mentioned but the link is
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/eclipse-install.html

After digesting your reply I think the link above should state:

After installing all files, the top-level structure of the install
directory would contain the following files and subdirectories (and
perhaps others):

<install>/
acmeproduct.exe
acmeproduct.ini (this is not mentioned in the 3.4 doc)
eclipse/
.eclipseproduct
eclipse.exe
features/
plugins/
jre/

where acmeproduct.ini should contain references to the path to the
installed versions of the equinox launcher plugin and fragment as follows
(and perhaps other settings):

--launcher.library
<install> /eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x8 6_x.y.z.qualifier
-startup
<install> /eclipse/plugins/org.eclipse.equinox.launcher_x.y.z.qualifie r.jar


thanks again,
Tim
Re: acmeproduct.exe appears not to work when placed in the recommended directory [message #576376 is a reply to message #16339] Fri, 15 August 2008 11:38 Go to previous message
Eclipse UserFriend
As a side note, since the acmeproduct.exe is just a rebranded
eclipse.exe, I'm not sure there is any need to ship the eclipse.exe
under the eclipse directory. (The only case I can think of to keep it
would have been exporting product from your acmeproduct, but I think
this was fixed with https://bugs.eclipse.org/bugs/show_bug.cgi?id=205833).


-Andrew

Tim Stephenson wrote:
> Thanks for the reply Andrew, I got it working.
> Sorry for posting the wrong link, the one I intended was the title I
> mentioned but the link is
> http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/eclipse-install.html
>
>
> After digesting your reply I think the link above should state:
> After installing all files, the top-level structure of the install
> directory would contain the following files and subdirectories (and
> perhaps others):
>
> <install>/
> acmeproduct.exe
> acmeproduct.ini (this is not mentioned in the 3.4 doc)
> eclipse/
> .eclipseproduct
> eclipse.exe
> features/
> plugins/
> jre/
>
> where acmeproduct.ini should contain references to the path to the
> installed versions of the equinox launcher plugin and fragment as
> follows (and perhaps other settings):
>
> --launcher.library
> <install> /eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x8 6_x.y.z.qualifier
>
> -startup
> <install> /eclipse/plugins/org.eclipse.equinox.launcher_x.y.z.qualifie r.jar
>
>
> thanks again,
> Tim
>
Previous Topic:Need help with new file wizard and selection
Next Topic:packaging problems with plugin
Goto Forum:
  


Current Time: Tue Jul 15 00:06:20 EDT 2025

Powered by FUDForum. Page generated in 0.04771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top