Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » custom package
custom package [message #264044] Mon, 08 September 2008 15:20 Go to next message
Steve is currently offline SteveFriend
Messages: 11
Registered: July 2009
Junior Member
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
Re: custom package [message #264045 is a reply to message #264044] Mon, 08 September 2008 16:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26281
Registered: July 2009
Senior Member
Steve,

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
>
Re: custom package [message #264047 is a reply to message #264044] Mon, 08 September 2008 16:13 Go to previous messageGo to next message
Eclipse UserFriend
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.

Have you looked at Pulse? It might be just what you need:
http://www.poweredbypulse.com/

Hope this helps,
Eric
Re: custom package [message #264050 is a reply to message #264045] Mon, 08 September 2008 19:29 Go to previous messageGo to next message
Steve is currently offline SteveFriend
Messages: 11
Registered: July 2009
Junior Member
The dropins folder got me real close, but for two questions:

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?

Thanks
Re: custom package [message #264051 is a reply to message #264050] Mon, 08 September 2008 19:53 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26281
Registered: July 2009
Senior Member
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...
>
> Thanks
>
Re: custom package [message #264052 is a reply to message #264051] Mon, 08 September 2008 20:51 Go to previous messageGo to next message
Eclipse UserFriend
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...

Regarding an existing all-in-one bundle for CDT:

http://wascana.sourceforge.net/
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-dev elopers/ganymeder

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: custom package [message #264054 is a reply to message #264051] Tue, 09 September 2008 14:18 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: custom package [message #264467 is a reply to message #264054] Wed, 17 September 2008 19:47 Go to previous messageGo to next message
Steve is currently offline SteveFriend
Messages: 11
Registered: July 2009
Junior Member
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
Re: custom package [message #264519 is a reply to message #264467] Thu, 18 September 2008 14:40 Go to previous messageGo to next message
Eclipse UserFriend
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.

By the way, check out this blog entry about an online package builder:
< http://rapblog.innoopract.com/2008/09/new-eclipse-download-w izard-and-rap.html>


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
>
Re: custom package [message #264531 is a reply to message #264519] Thu, 18 September 2008 20:24 Go to previous messageGo to next message
Steve is currently offline SteveFriend
Messages: 11
Registered: July 2009
Junior Member
I've found an earlier thread "Custom distros for private use?" that is
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?

Now I get into "Building" when it dies:

Building...!SESSION 2008-09-18 15:53:44.496
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application
org.eclipse.epp.packaging.core.application D:\Software\eclipse\EPP\cfg.xml
Command-line arguments: -application
org.eclipse.epp.packaging.core.application -data
D:\Software\eclipse\EPP\ecp/../runtime-New_configuration -dev
file:D:/Software/eclipse/EPP/ecp/.metadata/.plugins/org.ecli pse.pde.core/New_configuration/dev.properties
-os win32 -ws win32 -arch x86 -consoleLog D:\Software\eclipse\EPP\cfg.xml

!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
Re: custom package [message #264554 is a reply to message #264531] Fri, 19 September 2008 18:33 Go to previous messageGo to next message
Steve is currently offline SteveFriend
Messages: 11
Registered: July 2009
Junior Member
Wow--it works. Thanks to all who helped. (And raspberries to whomever at
Microsoft chose ‘\’ for a path separator!)
Steve
Re: custom package [message #265122 is a reply to message #264554] Wed, 01 October 2008 16:33 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Eclipse ganymade does not start on Linux x64
Next Topic:Project Explorer Keybindings
Goto Forum:
  


Current Time: Thu Dec 18 21:11:12 GMT 2014

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

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