Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumscustom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264044/#msg_264044
people to be able to unzip one file and have eclipse with a collection of
goodies ready to go.
Is there a problem to simply re-zip a sample setup? Will that bring along
baggage particular to that setup?
thanks]]>Steven Schroeder2008-09-08T15:20:45-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264045/#msg_264045
Yes, if you zip up an install, there will generally be some absolute
physical locations for that specific install (in the configuration area
specifically). Generally you should be able to get by unzipping
additional plugin goodies in the dropins folder of each user's install...
Steve wrote:
> What is the best way to assemble a custom package for my company? We
> want people to be able to unzip one file and have eclipse with a
> collection of goodies ready to go.
>
> Is there a problem to simply re-zip a sample setup? Will that bring
> along baggage particular to that setup?
>
> thanks
>]]>Ed Merks2008-09-08T16:06:05-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264047/#msg_264047
Originally posted by: eclipse-news.rizzoweb.com
Steve wrote:
> What is the best way to assemble a custom package for my company? We
> want people to be able to unzip one file and have eclipse with a
> collection of goodies ready to go.
>
> Is there a problem to simply re-zip a sample setup? Will that bring
> along baggage particular to that setup?
That might work, as long as you don't need to also include a common
workspace. Workspaces are not designed to be shared and trying to do so
has always led to headaches. Unfortunately, most Preferences settings
are stored in the workspace, so many people want to share them.
Hope this helps,
Eric]]>2008-09-08T16:13:26-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264050/#msg_264050
Can/will eclipse automatically install items left in dropins?
My cdt-master-5.0.0.zip download apparently has dependencies. What is the
easiest way to sort them out?
Steve wrote:
> The dropins folder got me real close, but for two questions:
>
> Can/will eclipse automatically install items left in dropins?
Yes, it's supposed to. Sometimes specifying -clean on the command line
will convince it to consider things it might otherwise overlook.
>
> My cdt-master-5.0.0.zip download apparently has dependencies. What is
> the easiest way to sort them out?
Not quite sure what you mean, but I find it very useful to run with
"-clean -debug". The -debug flag result in the
<workspace>/.metadata/.log containing more informative messages about
why some plugins and features might be failing to activate. Deleting
the .log so that it generates a fresh new one is helpful too.
Of course there's all kinds of working being done on installers and it
should be possible for you to create an update site that folks would use
to install things from a central server. That's a little more work to
set up correctly though...
>
> Thanks
>]]>Ed Merks2008-09-08T19:53:40-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264052/#msg_264052
Originally posted by: codeslave.ca.ibm.com
>> My cdt-master-5.0.0.zip download apparently has dependencies. What is
>> the easiest way to sort them out?
> Not quite sure what you mean, but I find it very useful to run with
> "-clean -debug". The -debug flag result in the
> <workspace>/.metadata/.log containing more informative messages about
> why some plugins and features might be failing to activate. Deleting
> the .log so that it generates a fresh new one is helpful too.
>
> Of course there's all kinds of working being done on installers and it
> should be possible for you to create an update site that folks would use
> to install things from a central server. That's a little more work to
> set up correctly though...
--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling http://wiki.eclipse.org/index.php/User:Nickb]]>2008-09-08T20:51:55-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264054/#msg_264054
Originally posted by: eclipse-news.rizzoweb.com
Ed Merks wrote:
> Steve,
>
> Comments below.
>
> Steve wrote:
>> The dropins folder got me real close, but for two questions:
>>
>> Can/will eclipse automatically install items left in dropins?
> Yes, it's supposed to. Sometimes specifying -clean on the command line
> will convince it to consider things it might otherwise overlook.
>>
>> My cdt-master-5.0.0.zip download apparently has dependencies. What is
>> the easiest way to sort them out?
> Not quite sure what you mean, but I find it very useful to run with
> "-clean -debug". The -debug flag result in the
> <workspace>/.metadata/.log containing more informative messages about
> why some plugins and features might be failing to activate. Deleting
> the .log so that it generates a fresh new one is helpful too.
>
> Of course there's all kinds of working being done on installers and it
> should be possible for you to create an update site that folks would use
> to install things from a central server. That's a little more work to
> set up correctly though...
Actually, I think the idea of using a custom Update Site is a good one.
It really isn't very hard to do; you just need to define a feature that
depends on the set of plugins or other features that you want included
in the user's configuration. Then create an update site that includes
that feature and the appropriate associateSites.xml to get the dependencies.
We've done this to make it easy for people to get our "SDK" setup; they
just start with a certain Eclipse package (RCP/Plug-in Developer, in our
case) and then hit the update site at http://downloads.skywayperspectives.org/builder/ce/sdk/updat es/site.xml
and, viola, they've got the set of features and plugins needed to build
our code. I think a similar update site would work nicely for getting
users to any "pre-configured" tooling setup.
Eric]]>2008-09-09T14:18:17-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264467/#msg_264467
http://wiki.eclipse.org/EPP/How_to_build_a_package_locally and *thought*
that it described exactly what I want to do. I would like to create
something like "Eclipse IDE for Java Developers" or "Eclipse IDE for C/C++
Developers" but with a custom selection of features. Then a new user
simply needs to unzip that custom package, just like you would with the
"standard" ones, and go. No updates, no fuss, no queues at my office.
Am I way off base, abusing a tool? If not, I have a problem. The build
finds all of the features, merrily installs them, then:
<SNIP>
Building configured application...
Configuration files taken from <path>\packagerConfiguration.
The application will be built in <path>.
Then it stops; no Packing installation site, Building, or Moving Files.
Thanks for everyone's help,
Steve]]>Steven Schroeder2008-09-17T19:47:19-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264519/#msg_264519
Originally posted by: eclipse-news.rizzoweb.com
EPP has its own newsgroup, which I've copied on this response.
You might want to re-state your goal since it is not quoted in the
latest message below.
On 9/17/2008 3:47 PM, Steve wrote:
> I may be becoming dangerous. I stumbled on the the wiki page at
> http://wiki.eclipse.org/EPP/How_to_build_a_package_locally and *thought*
> that it described exactly what I want to do. I would like to create
> something like "Eclipse IDE for Java Developers" or "Eclipse IDE for
> C/C++ Developers" but with a custom selection of features. Then a new
> user simply needs to unzip that custom package, just like you would with
> the "standard" ones, and go. No updates, no fuss, no queues at my office.
>
> Am I way off base, abusing a tool? If not, I have a problem. The build
> finds all of the features, merrily installs them, then:
>
> <SNIP>
> Building configured application...
> Configuration files taken from <path>\packagerConfiguration.
> The application will be built in <path>.
>
> Then it stops; no Packing installation site, Building, or Moving Files.
>
> Thanks for everyone's help,
> Steve
>]]>2008-09-18T14:40:19-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264531/#msg_264531
trying to do what I want. One problem is resolved:
>> Building configured application...
>> Configuration files taken from <path>packagerConfiguration.
>> The application will be built in <path>.
>>
>> Then it stops; no Packing installation site, Building, or Moving Files.
It turns out a space in my workspace path made for an invalide URI. I
just moved the workspace--is there a "better" way?
!ENTRY org.eclipse.epp.packaging.core 4 0 2008-09-18 16:21:12.089
!MESSAGE Could not build package.
!STACK 1
org.eclipse.core.runtime.CoreException:
D:\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20080604\scr ipts\package.xml:85:
The following error occurred while executing this line:
D:\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20080604\scr ipts\package.xml:46:
Unable to find feature: org.eclipse.platform.
at
org.eclipse.ant.core.AntRunner.handleInvocationTargetExcepti on(AntRunner.java:452)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:384)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:475)
at
org.eclipse.epp.packaging.core.assembly.PackagerRunner.packA pplication(PackagerRunner.java:51)
at
org.eclipse.epp.packaging.core.assembly.EclipsePackager.pack Application(EclipsePackager.java:161)
<SNIP>
Anyone know where I should start..
Steve]]>Steven Schroeder2008-09-18T20:24:24-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/264554/#msg_264554
Microsoft chose \ for a path separator!)
Steve]]>Steven Schroeder2008-09-19T18:33:25-00:00Re: custom package
https://www.eclipse.org/forums/index.php/mv/msg/85024/265122/#msg_265122
Originally posted by: gregor.rosenauer.itsv.at
[Repost to this topic as it is more current]
How did you get it to build the package (in the Ant-step)?
I get as far as Packager building my custom ZIP, but on the final step,
where the Ant script is invoked, it fails:
Packing installation site....Done.
Building...Could not build package.:
org.apache.tools.ant.Project.setProjectReference(Ljava/lang/ Object;)V:org.apache.tools.ant.Project.setProjectReference(L java/lang/Object;)V
The full log excerpt:
!SUBENTRY 1 org.eclipse.ant.core 4 1 2008-10-01 13:54:12.126
!MESSAGE
org.apache.tools.ant.Project.setProjectReference(Ljava/lang/ Object;)V
!STACK 0
java.lang.NoSuchMethodError:
org.apache.tools.ant.Project.setProjectReference(Ljava/lang/ Object;)V
at
org.eclipse.ant.internal.core.ant.InputHandlerSetter.setInpu tHandler(InputHandlerSetter.java:43)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.addInput Handler(InternalAntRunner.java:1273)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:532)
at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:475)
at
org.eclipse.epp.packaging.core.assembly.PackagerRunner.packA pplication(PackagerRunner.java:51)
I am using Eclipse 3.4 EE package, also tried with a clean 3.4.1 RCP
install, same issue. Using Ant 1.7. I would be grateful for any help.]]>2008-10-01T16:33:25-00:00