Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366351 - Update virgo start and shutdown scripts to work under cygwin
Summary: Update virgo start and shutdown scripts to work under cygwin
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.5.0.M01   Edit
Assignee: Hristo Iliev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-11 23:40 EST by Scott Brand CLA
Modified: 2011-12-14 09:24 EST (History)
3 users (show)

See Also:


Attachments
contents of bin directory with updated scripts for cygwin support (11.09 KB, patch)
2011-12-11 23:42 EST, Scott Brand CLA
hsiliev: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Brand CLA 2011-12-11 23:40:32 EST
Build Identifier: Virgo3.0.2

Attached are updates made to the bin/start.sh, bin/shutdown.sh, bin/dmk.sh and bin/checkJava.sh that correctly allow scripts to run under cygwin (www.cygwin.com) bash shell.

Reproducible: Always

Steps to Reproduce:
N/A
Comment 1 Scott Brand CLA 2011-12-11 23:42:14 EST
Created attachment 208240 [details]
contents of bin directory with updated scripts for cygwin support
Comment 2 Hristo Iliev CLA 2011-12-12 03:48:05 EST
Can you please confirm that you wrote 100% of the code and you have the right to contribute it to Eclipse?
Comment 3 Scott Brand CLA 2011-12-12 11:34:41 EST
(In reply to comment #2)
> Can you please confirm that you wrote 100% of the code and you have the right
> to contribute it to Eclipse?

Hi Hristo,
I myself did the updates to the few scripts in the attached "bin.zip" file.
I am not currently a contributor to Eclipse.
The attached "bin.zip" is mainly a suggestion of what I did to make the scripts work under cygwin.   They are completely backward compatible.
My thought is that a current contributor would evaluate what I did to the scripts and then decide if they want to apply the updates to the master build.
This would allow future versions of Virgo to run under cygwin shells without any modifications.

Thx,
Scott Brand
Comment 4 Glyn Normington CLA 2011-12-13 07:22:18 EST
(In reply to comment #3)
> (In reply to comment #2)
> > Can you please confirm that you wrote 100% of the code and you have the right
> > to contribute it to Eclipse?
> 
> Hi Hristo,
> I myself did the updates to the few scripts in the attached "bin.zip" file.
> I am not currently a contributor to Eclipse.
> The attached "bin.zip" is mainly a suggestion of what I did to make the scripts
> work under cygwin.   They are completely backward compatible.
> My thought is that a current contributor would evaluate what I did to the
> scripts and then decide if they want to apply the updates to the master build.
> This would allow future versions of Virgo to run under cygwin shells without
> any modifications.
> 
> Thx,
> Scott Brand

Hi Scott

You are absolutely correct about the way your suggestion should be processed. However, we would like to take your changes as a starting point rather than re-invent them. In Eclipse terminology this would make you a contributor. The intellectual property rules of Eclipse require committers to check three things for every contribution:

1. New Java files must have the appropriate license header.
2. The contributor must have authored 100% of the changes they are contributing.
3. The contributor must have the rights to make the contribution. This is usually a matter of the contributor's employer allowing the contributor to make the contribution. For example, some employers assert ownership of all code produced by their employees and in such cases, the employer needs to agree to their code being contributed to Eclipse.org.

Since there are no Java files in this contribution, #1 does not apply.

You've already stated that you did the updates to the scripts yourself, so #2 is complete.

We would be very grateful, therefore, if you could confirm #3: that you have your employer's permission to make the contribution.
Comment 5 Scott Brand CLA 2011-12-13 10:16:47 EST
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Can you please confirm that you wrote 100% of the code and you have the right
> > > to contribute it to Eclipse?
> > 
> > Hi Hristo,
> > I myself did the updates to the few scripts in the attached "bin.zip" file.
> > I am not currently a contributor to Eclipse.
> > The attached "bin.zip" is mainly a suggestion of what I did to make the scripts
> > work under cygwin.   They are completely backward compatible.
> > My thought is that a current contributor would evaluate what I did to the
> > scripts and then decide if they want to apply the updates to the master build.
> > This would allow future versions of Virgo to run under cygwin shells without
> > any modifications.
> > 
> > Thx,
> > Scott Brand
> 
> Hi Scott
> 
> You are absolutely correct about the way your suggestion should be processed.
> However, we would like to take your changes as a starting point rather than
> re-invent them. In Eclipse terminology this would make you a contributor. The
> intellectual property rules of Eclipse require committers to check three things
> for every contribution:
> 
> 1. New Java files must have the appropriate license header.
> 2. The contributor must have authored 100% of the changes they are
> contributing.
> 3. The contributor must have the rights to make the contribution. This is
> usually a matter of the contributor's employer allowing the contributor to make
> the contribution. For example, some employers assert ownership of all code
> produced by their employees and in such cases, the employer needs to agree to
> their code being contributed to Eclipse.org.
> 
> Since there are no Java files in this contribution, #1 does not apply.
> 
> You've already stated that you did the updates to the scripts yourself, so #2
> is complete.
> 
> We would be very grateful, therefore, if you could confirm #3: that you have
> your employer's permission to make the contribution.


Hi Glyn,

Thank you for your prompt response, and at some point I suspect I may become a contributor to Virgo.
For now at least, I can confirm that I did these script updates off hours, or in otherwords, on my own time and outside the control of my employer, so the contribution is wholly my own.

Hope that helps,
Scott
Comment 6 Glyn Normington CLA 2011-12-13 10:19:31 EST
Thanks Scott! As soon as we've included the changes you made, you will be a contributor - you don't need to do anything else. :-)
Comment 7 Hristo Iliev CLA 2011-12-14 08:41:49 EST
Commit 006e113f9ec35c00be0ea65aac1742cdc29b6261 adds support for Cygwin in *.sh scripts.

Thanks for the contribution :)