Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem with headless build on Eclipse 3.4.2
Problem with headless build on Eclipse 3.4.2 [message #54958] Tue, 14 April 2009 17:48 Go to next message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
Hi,

I am running a headless build of a product, based on Eclipse 3.4.2.
However, I have two problems:

- The finished archive contains no "dropins" folder, and if I create it
manually after unpacking, it is ignored.

- The default Ganymede update site is missing.

What could be wrong?

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #55230 is a reply to message #54958] Wed, 15 April 2009 09:16 Go to previous messageGo to next message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
On Tue, 14 Apr 2009 19:48:57 +0200, Patrick Schönbach wrote:

> Hi,
>
> I am running a headless build of a product, based on Eclipse 3.4.2.
> However, I have two problems:
>
> - The finished archive contains no "dropins" folder, and if I create it
> manually after unpacking, it is ignored.
>
> - The default Ganymede update site is missing.
>
> What could be wrong?

No idea, anyone?

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #55748 is a reply to message #55230] Thu, 16 April 2009 13:29 Go to previous messageGo to next message
michael.sacarny is currently offline michael.sacarnyFriend
Messages: 103
Registered: July 2009
Location: USA
Senior Member
Sounds like Bugzilla 252284.
We do this:
(From Chris Williams) Our "workaround" is to just run a couple extra ant
tasks after the director runs (and before we zip up the results). We
basically just do a mkdir on the dropins folder so it gets created if it's
not already there. And we do a replaceregexp on the bundles.info file and
force the dropins plugin listing to end with "true" rather than "false".
Hope it helps,
Mike
Re: Problem with headless build on Eclipse 3.4.2 [message #56611 is a reply to message #55748] Fri, 17 April 2009 10:16 Go to previous messageGo to next message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
On Thu, 16 Apr 2009 13:29:03 +0000 (UTC), msacarny wrote:

> Sounds like Bugzilla 252284.
> We do this:
> (From Chris Williams) Our "workaround" is to just run a couple extra ant
> tasks after the director runs (and before we zip up the results). We
> basically just do a mkdir on the dropins folder so it gets created if it's
> not already there. And we do a replaceregexp on the bundles.info file and
> force the dropins plugin listing to end with "true" rather than "false".
> Hope it helps,
> Mike
>

Could you maybe post a snippet please, how exactly you do it?

And what about the missing default update site?

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #56638 is a reply to message #56611] Fri, 17 April 2009 12:42 Go to previous messageGo to next message
michael.sacarny is currently offline michael.sacarnyFriend
Messages: 103
Registered: July 2009
Location: USA
Senior Member
Here is some code once you've determined the dropins folder is missing:

<target name="makeDropins" unless="isDropins">
<echo message="Fixing missing dropins folder!"/>
<mkdir dir="${buildDirectory}/result/tmp/eclipse/dropins" />
<replaceregexp
file=" ${buildDirectory}/result/tmp/eclipse/configuration/org.eclip se.equinox.simpleconfigurator/bundles.info "
match="(org.eclipse.equinox.p2.reconciler.dropins,.+,4,)false "
replace="\1true"
flags = "i"/>
</target>

On 3.4.1, as I recall, when this is done, the update site reappears.

Mike
Re: Problem with headless build on Eclipse 3.4.2 [message #56908 is a reply to message #56638] Sat, 18 April 2009 08:30 Go to previous messageGo to next message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
On Fri, 17 Apr 2009 12:42:40 +0000 (UTC), msacarny wrote:

> Here is some code once you've determined the dropins folder is missing:
>
> <target name="makeDropins" unless="isDropins">
> <echo message="Fixing missing dropins folder!"/>
> <mkdir dir="${buildDirectory}/result/tmp/eclipse/dropins" />
> <replaceregexp
> file=" ${buildDirectory}/result/tmp/eclipse/configuration/org.eclip se.equinox.simpleconfigurator/bundles.info "
> match="(org.eclipse.equinox.p2.reconciler.dropins,.+,4,)false "
> replace="\1true"
> flags = "i"/>
> </target>
>
> On 3.4.1, as I recall, when this is done, the update site reappears.

I am not yet sure, at which place to call this code. Any hints?

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #56935 is a reply to message #56908] Sat, 18 April 2009 14:31 Go to previous messageGo to next message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
On Sat, 18 Apr 2009 10:30:29 +0200, Patrick Schönbach wrote:
> I am not yet sure, at which place to call this code. Any hints?

Solved.

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #57008 is a reply to message #56935] Sun, 19 April 2009 19:38 Go to previous message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
I still have a problem: The default Ganymede update site is there, but
it is disabled by default. How can I change that?

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #595212 is a reply to message #54958] Wed, 15 April 2009 09:16 Go to previous message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
On Tue, 14 Apr 2009 19:48:57 +0200, Patrick Schönbach wrote:

> Hi,
>
> I am running a headless build of a product, based on Eclipse 3.4.2.
> However, I have two problems:
>
> - The finished archive contains no "dropins" folder, and if I create it
> manually after unpacking, it is ignored.
>
> - The default Ganymede update site is missing.
>
> What could be wrong?

No idea, anyone?

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #595423 is a reply to message #55230] Thu, 16 April 2009 13:29 Go to previous message
michael.sacarny is currently offline michael.sacarnyFriend
Messages: 103
Registered: July 2009
Location: USA
Senior Member
Sounds like Bugzilla 252284.
We do this:
(From Chris Williams) Our "workaround" is to just run a couple extra ant
tasks after the director runs (and before we zip up the results). We
basically just do a mkdir on the dropins folder so it gets created if it's
not already there. And we do a replaceregexp on the bundles.info file and
force the dropins plugin listing to end with "true" rather than "false".
Hope it helps,
Mike
Re: Problem with headless build on Eclipse 3.4.2 [message #595704 is a reply to message #55748] Fri, 17 April 2009 10:16 Go to previous message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
On Thu, 16 Apr 2009 13:29:03 +0000 (UTC), msacarny wrote:

> Sounds like Bugzilla 252284.
> We do this:
> (From Chris Williams) Our "workaround" is to just run a couple extra ant
> tasks after the director runs (and before we zip up the results). We
> basically just do a mkdir on the dropins folder so it gets created if it's
> not already there. And we do a replaceregexp on the bundles.info file and
> force the dropins plugin listing to end with "true" rather than "false".
> Hope it helps,
> Mike
>

Could you maybe post a snippet please, how exactly you do it?

And what about the missing default update site?

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #595711 is a reply to message #56611] Fri, 17 April 2009 12:42 Go to previous message
michael.sacarny is currently offline michael.sacarnyFriend
Messages: 103
Registered: July 2009
Location: USA
Senior Member
Here is some code once you've determined the dropins folder is missing:

<target name="makeDropins" unless="isDropins">
<echo message="Fixing missing dropins folder!"/>
<mkdir dir="${buildDirectory}/result/tmp/eclipse/dropins" />
<replaceregexp
file=" ${buildDirectory}/result/tmp/eclipse/configuration/org.eclip se.equinox.simpleconfigurator/bundles.info "
match="(org.eclipse.equinox.p2.reconciler.dropins,.+,4,)false "
replace="\1true"
flags = "i"/>
</target>

On 3.4.1, as I recall, when this is done, the update site reappears.

Mike
Re: Problem with headless build on Eclipse 3.4.2 [message #595822 is a reply to message #56638] Sat, 18 April 2009 08:30 Go to previous message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
On Fri, 17 Apr 2009 12:42:40 +0000 (UTC), msacarny wrote:

> Here is some code once you've determined the dropins folder is missing:
>
> <target name="makeDropins" unless="isDropins">
> <echo message="Fixing missing dropins folder!"/>
> <mkdir dir="${buildDirectory}/result/tmp/eclipse/dropins" />
> <replaceregexp
> file=" ${buildDirectory}/result/tmp/eclipse/configuration/org.eclip se.equinox.simpleconfigurator/bundles.info "
> match="(org.eclipse.equinox.p2.reconciler.dropins,.+,4,)false "
> replace="\1true"
> flags = "i"/>
> </target>
>
> On 3.4.1, as I recall, when this is done, the update site reappears.

I am not yet sure, at which place to call this code. Any hints?

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #595830 is a reply to message #56908] Sat, 18 April 2009 14:31 Go to previous message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
On Sat, 18 Apr 2009 10:30:29 +0200, Patrick Schönbach wrote:
> I am not yet sure, at which place to call this code. Any hints?

Solved.

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Re: Problem with headless build on Eclipse 3.4.2 [message #595866 is a reply to message #56935] Sun, 19 April 2009 19:38 Go to previous message
Patrick Schoenbach is currently offline Patrick SchoenbachFriend
Messages: 110
Registered: July 2009
Senior Member
I still have a problem: The default Ganymede update site is there, but
it is disabled by default. How can I change that?

--
Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@robustsoft.de with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C 902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@itemis.de
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael
Neuhaus
Previous Topic:Preference setValue problem
Next Topic:Executing External tool (.exe,.bat etc) from the plugin
Goto Forum:
  


Current Time: Fri Mar 29 05:27:25 GMT 2024

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

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

Back to the top