Re: bootstrap.bat for windows users

2006-08-23 Thread anita kulshreshtha
   I do not use bootstrap. As long as the car-maven-plugin is available
from a repo, just using mvn from the top directory works! I have added
openejb2 to the default profile.
   I just do checkout geronimo, checkout openejb2 and
   mvn
   I build specs separately if needed. 
Thanks
Anita



--- Jacek Laskowski <[EMAIL PROTECTED]> wrote:

> On 8/23/06, Jeff Genender <[EMAIL PROTECTED]> wrote:
> 
> > I think we can officially end this
> > thread now since all parties are very pleased with the end result
> ;-)
> 
> I personally am. Thanks for your patience!
> 
> Jacek
> 
> -- 
> Jacek Laskowski
> http://www.laskowski.net.pl
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: bootstrap.bat for windows users

2006-08-23 Thread Mark DeLaFranier

Jason,

Works like a charm! 


Thanks
Mark

Jason Dillon wrote:
I implemented the conditional in traditional ant fashion using targets 
and .  Lemme know if this works.


--jason


On Aug 22, 2006, at 8:16 PM, Mark DeLaFranier wrote:


Jason,

Under Windows Ant needs:

   

Instead of:

   

What I have done before is something like:

   
   

Then inside:

bootstrap.bat:

set ANT_OPTS=$ANT_OPTS -Dplatform.script.ext=.bat

bootstrap:

Just don't define the platform.script.ext

Thanks
Mark

Jason Dillon wrote:
Aight, its out... give it a whirl and let me know if you run into 
anything.


--jason












Re: bootstrap.bat for windows users

2006-08-23 Thread Jacek Laskowski

On 8/23/06, Jeff Genender <[EMAIL PROTECTED]> wrote:


I think we can officially end this
thread now since all parties are very pleased with the end result ;-)


I personally am. Thanks for your patience!

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl


Re: bootstrap.bat for windows users

2006-08-23 Thread Jeff Genender


Jacek Laskowski wrote:
> On 8/23/06, Jeff Genender <[EMAIL PROTECTED]> wrote:
> 
>> I hope this is not taken negatively...as it is not meant that way...
> 
> Come on, Jeff. Nothing's going to be taken this way. Try it out and be
> prepared to fail :P
> 

Well...sometimes we need to be careful how we word things...I am not the
best communicator and its easy to read into people's emails ;-)
Starting an email in the fashion that I did sometimes will defuse a
potentially hot situation.


>> I think it is worth talking about, especially when we think bootstrap
>> will go away.  I respect Jason's disdain for Windows, but it also is the
>> most used and most popular OS...which means it probably represents a
>> large base of our community. :)
> 
> ...and it's the only environment I can work on. I'm definitely for
> supporting it as much as we can, but not more than it's really
> necessary. The less platform-specific scripts the better.
> 

Of course, but its also S.O.P. that there is generally a *nix style
script and a Windows one..thats why we have 2 geronimo startup scripts,
as does just about every app server out there.  Thats also why there is
a mvn script and a mvn.bat script ;-)

> 
> What I don't like in your comment was a reference to Mark as its mere
> support. It's a community matter and anyone can step up and support it
> in any way (s)he wishes. So (watch out this sentence ;-)), once we
> decide to commit it to the repo it's Jeff, Jacek and other committers
> who are in charge of supporting it. Mark has been keen to author a
> change, but *we* (the community, but committers especially) are obeyed
> to keep it in sync and updated.
> 

Yes, Jacek, I clearly know that anyone can step up, and I surely did not
mean that Mark is only support.  I think you took this completely wrong
(one of those things again where people read emails differently than
they are intended).  Here is my long winded explanation:

>From my perspective, Jason does not enjoy working with Windows and he
has made that rather clear. The last thing I wanted was, since he
stepped up with all of this Maven conversion, that he would be put in a
position of having to support it.   First, although there is no
ownership, people do get pigeon holed into responsibilities of
supporting the technologies they work on...and I did not want that to
happen to Jason, as that is not fair to him.  I can say that anytime
something goes wrong with Tomcat, etc, I get nudges on the side to fix
things.  I know this group pretty well and my comment was simply to head
off a long back-and-forth email thread.  They usually go like this:

Person A) I want to do this
Person B) I don't like that, how about you do this?
Person A) Are you volunteering?
Person B) No
Person A) Well if you are not volunteering I am not willing to do it
unless someone will.
Person A) I am sure Person C will support it
Person C) Yes I am happy to support it
End of Thread.

Look familiar? ;-)  So I hope you see (if you re-read my statements)
that I was filling in the blanks for a future email engagement and
trying to keep this one as short as possible.

Anyways..its moot. Jason came up with an excellent solution that
supports all platforms...but I did want to respond to your comments so
there is no misunderstanding here.  I think we can officially end this
thread now since all parties are very pleased with the end result ;-)

Jeff


Re: bootstrap.bat for windows users

2006-08-23 Thread Jacek Laskowski

On 8/23/06, Jeff Genender <[EMAIL PROTECTED]> wrote:


I hope this is not taken negatively...as it is not meant that way...


Come on, Jeff. Nothing's going to be taken this way. Try it out and be
prepared to fail :P


I think it is worth talking about, especially when we think bootstrap
will go away.  I respect Jason's disdain for Windows, but it also is the
most used and most popular OS...which means it probably represents a
large base of our community. :)


...and it's the only environment I can work on. I'm definitely for
supporting it as much as we can, but not more than it's really
necessary. The less platform-specific scripts the better.


IMHO, if we are to continue with the bootstrap, then I think it is
reasonable to support both *nix and Windows.  No...I am not volunteering
as I have other things on my plate, but I think if Mark D. wants to take
on supporting the Windows side, I cannot find a negative in this. What I
do not think is reasonable is forcing any user to have to install Cygwin
(even though I love it) to build G on Windows.  Cygwin is a fairly large
install and I have been at companies where one is forbidden to have it
on corporate machines.


Agreed with a small yet important note - see below.


So, my point is, if the bootstrap is short lived, then disregard my
opinion ;-)  But if it's gonna be with us for a while, lets allow the
Windows bat version if Mark is willing to support it...or find something
 (like ant?) that will make it work on our most popular OS systems.


It seems noone knows how long it will live, so we can safely assume it
will likely outlive us ;-) What I'd like to avoid is to introduce
platform-specific scripts that do what maven/ant can do alike or
better *and* more important are platform-neutral.

What I don't like in your comment was a reference to Mark as its mere
support. It's a community matter and anyone can step up and support it
in any way (s)he wishes. So (watch out this sentence ;-)), once we
decide to commit it to the repo it's Jeff, Jacek and other committers
who are in charge of supporting it. Mark has been keen to author a
change, but *we* (the community, but committers especially) are obeyed
to keep it in sync and updated.

BTW, I noticed that Maven dev folks have been talking about
bootstrap.sh that caught my attention. They've got the same thing to
support and I wonder how much in common we've got. Anyone knows?

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl


Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
I implemented the conditional in traditional ant fashion using  
targets and .  Lemme know if this works.


--jason


On Aug 22, 2006, at 8:16 PM, Mark DeLaFranier wrote:


Jason,

Under Windows Ant needs:

   

Instead of:

   

What I have done before is something like:

   
   

Then inside:

bootstrap.bat:

set ANT_OPTS=$ANT_OPTS -Dplatform.script.ext=.bat

bootstrap:

Just don't define the platform.script.ext

Thanks
Mark

Jason Dillon wrote:
Aight, its out... give it a whirl and let me know if you run into  
anything.


--jason








Re: bootstrap.bat for windows users

2006-08-22 Thread Mark DeLaFranier

Jason,

Under Windows Ant needs:

   

Instead of:

   

What I have done before is something like:

   
   

Then inside:

bootstrap.bat:

set ANT_OPTS=$ANT_OPTS -Dplatform.script.ext=.bat

bootstrap:

Just don't define the platform.script.ext

Thanks
Mark

Jason Dillon wrote:
Aight, its out... give it a whirl and let me know if you run into 
anything.


--jason






Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon

is mvn in your path?

--jason


On Aug 22, 2006, at 8:09 PM, Prasad Kashyap wrote:

Tried the new bootstrap.bat with the bootstrap.xml. Failed as  
follows -


clean:
  [delete] Deleting directory C:\Apache\geronimo\trunk2\thirdparty
BUILD FAILED
C:\Apache\geronimo\trunk2\bootstrap.xml:73: Execute failed:  
java.io.IOException:

CreateProcess: mvn clean error=2

Trying again..


Cheers
Prasad


On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

Aight, its out... give it a whirl and let me know if you run into
anything.

--jason


On Aug 22, 2006, at 6:26 PM, Jeff Genender wrote:

> Sounds good...thanks for taking this approach.
>
> Jason Dillon wrote:
>> I mentioned before, that if we use antrun here, that it will cause
>> other
>> antrun executions to fail since plugins are only initialized once,
>> and
>> some plugins need to add some additional dependencies.
>>
>> Its also much more difficult to support executions of individual
>> steps
>> using antrun.
>>
>> Best bet is to use something external... before it was /bin/ 
sh... and
>> now its gonna be Ant.  I think that is better that /bin/sh and  
batch.

>>
>> --jason
>>
>>
>> On Aug 22, 2006, at 6:16 PM, Jeff Genender wrote:
>>
>>> Jason,
>>>
>>> Why not use the ant-run plugin for maven instead of a build.xml?
>>>
>>> http://maven.apache.org/plugins/maven-antrun-plugin/
>>>
>>> Jeff
>>>
>>>
>>>
>>> Jason Dillon wrote:
 I've whipped up an equivalent bootstrap.xml, testing it now...

 if it works as expected I will commit it, and a bootstrap and
 bootstrap.bat that will invoke the build.

 Then, everyone needs to have Ant 1.6.5 installed (and ant
 available on
 the PATH) and Cygwin is no longer required.

 --jason


 On Aug 22, 2006, at 3:14 PM, Jeff Genender wrote:

>
> Jacek Laskowski wrote:
>> On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>>> I meant to just use Ant... if we end up using antrun from the
>>> bootstrap it will end up causing other antrun's to fail  
later on

>>> since some of them need additional dependencies... which
>>> won't work.
>>
>> Oh, didn't think about it. Are you really suggesting to use
>> Ant beside
>> Maven? It's getting too complicated to just get started. When
>> do you
>> think bootstrap will go away? Is it worth to talk about it any
>> more?
>>
>> Jacek
>>
>
> I hope this is not taken negatively...as it is not meant that
> way...
>
> I think it is worth talking about, especially when we think
> bootstrap
> will go away.  I respect Jason's disdain for Windows, but it
> also is
> the
> most used and most popular OS...which means it probably
> represents a
> large base of our community. :)
>
> IMHO, if we are to continue with the bootstrap, then I think  
it is

> reasonable to support both *nix and Windows.  No...I am not
> volunteering
> as I have other things on my plate, but I think if Mark D.
> wants to
> take
> on supporting the Windows side, I cannot find a negative in  
this.

> What I
> do not think is reasonable is forcing any user to have to  
install

> Cygwin
> (even though I love it) to build G on Windows.  Cygwin is a  
fairly

> large
> install and I have been at companies where one is forbidden to
> have it
> on corporate machines.
>
> So, my point is, if the bootstrap is short lived, then
> disregard my
> opinion ;-)  But if it's gonna be with us for a while, lets
> allow the
> Windows bat version if Mark is willing to support it...or find
> something
>  (like ant?) that will make it work on our most popular OS
> systems.
>
> Jeff






Re: bootstrap.bat for windows users

2006-08-22 Thread Prasad Kashyap

Tried the new bootstrap.bat with the bootstrap.xml. Failed as follows -

clean:
  [delete] Deleting directory C:\Apache\geronimo\trunk2\thirdparty
BUILD FAILED
C:\Apache\geronimo\trunk2\bootstrap.xml:73: Execute failed: java.io.IOException:
CreateProcess: mvn clean error=2

Trying again..


Cheers
Prasad


On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

Aight, its out... give it a whirl and let me know if you run into
anything.

--jason


On Aug 22, 2006, at 6:26 PM, Jeff Genender wrote:

> Sounds good...thanks for taking this approach.
>
> Jason Dillon wrote:
>> I mentioned before, that if we use antrun here, that it will cause
>> other
>> antrun executions to fail since plugins are only initialized once,
>> and
>> some plugins need to add some additional dependencies.
>>
>> Its also much more difficult to support executions of individual
>> steps
>> using antrun.
>>
>> Best bet is to use something external... before it was /bin/sh... and
>> now its gonna be Ant.  I think that is better that /bin/sh and batch.
>>
>> --jason
>>
>>
>> On Aug 22, 2006, at 6:16 PM, Jeff Genender wrote:
>>
>>> Jason,
>>>
>>> Why not use the ant-run plugin for maven instead of a build.xml?
>>>
>>> http://maven.apache.org/plugins/maven-antrun-plugin/
>>>
>>> Jeff
>>>
>>>
>>>
>>> Jason Dillon wrote:
 I've whipped up an equivalent bootstrap.xml, testing it now...

 if it works as expected I will commit it, and a bootstrap and
 bootstrap.bat that will invoke the build.

 Then, everyone needs to have Ant 1.6.5 installed (and ant
 available on
 the PATH) and Cygwin is no longer required.

 --jason


 On Aug 22, 2006, at 3:14 PM, Jeff Genender wrote:

>
> Jacek Laskowski wrote:
>> On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>>> I meant to just use Ant... if we end up using antrun from the
>>> bootstrap it will end up causing other antrun's to fail later on
>>> since some of them need additional dependencies... which
>>> won't work.
>>
>> Oh, didn't think about it. Are you really suggesting to use
>> Ant beside
>> Maven? It's getting too complicated to just get started. When
>> do you
>> think bootstrap will go away? Is it worth to talk about it any
>> more?
>>
>> Jacek
>>
>
> I hope this is not taken negatively...as it is not meant that
> way...
>
> I think it is worth talking about, especially when we think
> bootstrap
> will go away.  I respect Jason's disdain for Windows, but it
> also is
> the
> most used and most popular OS...which means it probably
> represents a
> large base of our community. :)
>
> IMHO, if we are to continue with the bootstrap, then I think it is
> reasonable to support both *nix and Windows.  No...I am not
> volunteering
> as I have other things on my plate, but I think if Mark D.
> wants to
> take
> on supporting the Windows side, I cannot find a negative in this.
> What I
> do not think is reasonable is forcing any user to have to install
> Cygwin
> (even though I love it) to build G on Windows.  Cygwin is a fairly
> large
> install and I have been at companies where one is forbidden to
> have it
> on corporate machines.
>
> So, my point is, if the bootstrap is short lived, then
> disregard my
> opinion ;-)  But if it's gonna be with us for a while, lets
> allow the
> Windows bat version if Mark is willing to support it...or find
> something
>  (like ant?) that will make it work on our most popular OS
> systems.
>
> Jeff




Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
Aight, its out... give it a whirl and let me know if you run into  
anything.


--jason


On Aug 22, 2006, at 6:26 PM, Jeff Genender wrote:


Sounds good...thanks for taking this approach.

Jason Dillon wrote:
I mentioned before, that if we use antrun here, that it will cause  
other
antrun executions to fail since plugins are only initialized once,  
and

some plugins need to add some additional dependencies.

Its also much more difficult to support executions of individual  
steps

using antrun.

Best bet is to use something external... before it was /bin/sh... and
now its gonna be Ant.  I think that is better that /bin/sh and batch.

--jason


On Aug 22, 2006, at 6:16 PM, Jeff Genender wrote:


Jason,

Why not use the ant-run plugin for maven instead of a build.xml?

http://maven.apache.org/plugins/maven-antrun-plugin/

Jeff



Jason Dillon wrote:

I've whipped up an equivalent bootstrap.xml, testing it now...

if it works as expected I will commit it, and a bootstrap and
bootstrap.bat that will invoke the build.

Then, everyone needs to have Ant 1.6.5 installed (and ant  
available on

the PATH) and Cygwin is no longer required.

--jason


On Aug 22, 2006, at 3:14 PM, Jeff Genender wrote:



Jacek Laskowski wrote:

On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I meant to just use Ant... if we end up using antrun from the
bootstrap it will end up causing other antrun's to fail later on
since some of them need additional dependencies... which  
won't work.


Oh, didn't think about it. Are you really suggesting to use  
Ant beside
Maven? It's getting too complicated to just get started. When  
do you
think bootstrap will go away? Is it worth to talk about it any  
more?


Jacek



I hope this is not taken negatively...as it is not meant that  
way...


I think it is worth talking about, especially when we think  
bootstrap
will go away.  I respect Jason's disdain for Windows, but it  
also is

the
most used and most popular OS...which means it probably  
represents a

large base of our community. :)

IMHO, if we are to continue with the bootstrap, then I think it is
reasonable to support both *nix and Windows.  No...I am not
volunteering
as I have other things on my plate, but I think if Mark D.  
wants to

take
on supporting the Windows side, I cannot find a negative in this.
What I
do not think is reasonable is forcing any user to have to install
Cygwin
(even though I love it) to build G on Windows.  Cygwin is a fairly
large
install and I have been at companies where one is forbidden to  
have it

on corporate machines.

So, my point is, if the bootstrap is short lived, then  
disregard my
opinion ;-)  But if it's gonna be with us for a while, lets  
allow the

Windows bat version if Mark is willing to support it...or find
something
 (like ant?) that will make it work on our most popular OS  
systems.


Jeff




Re: bootstrap.bat for windows users

2006-08-22 Thread Jeff Genender
Sounds good...thanks for taking this approach.

Jason Dillon wrote:
> I mentioned before, that if we use antrun here, that it will cause other
> antrun executions to fail since plugins are only initialized once, and
> some plugins need to add some additional dependencies.
> 
> Its also much more difficult to support executions of individual steps
> using antrun.
> 
> Best bet is to use something external... before it was /bin/sh... and
> now its gonna be Ant.  I think that is better that /bin/sh and batch.
> 
> --jason
> 
> 
> On Aug 22, 2006, at 6:16 PM, Jeff Genender wrote:
> 
>> Jason,
>>
>> Why not use the ant-run plugin for maven instead of a build.xml?
>>
>> http://maven.apache.org/plugins/maven-antrun-plugin/
>>
>> Jeff
>>
>>
>>
>> Jason Dillon wrote:
>>> I've whipped up an equivalent bootstrap.xml, testing it now...
>>>
>>> if it works as expected I will commit it, and a bootstrap and
>>> bootstrap.bat that will invoke the build.
>>>
>>> Then, everyone needs to have Ant 1.6.5 installed (and ant available on
>>> the PATH) and Cygwin is no longer required.
>>>
>>> --jason
>>>
>>>
>>> On Aug 22, 2006, at 3:14 PM, Jeff Genender wrote:
>>>

 Jacek Laskowski wrote:
> On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>> I meant to just use Ant... if we end up using antrun from the
>> bootstrap it will end up causing other antrun's to fail later on
>> since some of them need additional dependencies... which won't work.
>
> Oh, didn't think about it. Are you really suggesting to use Ant beside
> Maven? It's getting too complicated to just get started. When do you
> think bootstrap will go away? Is it worth to talk about it any more?
>
> Jacek
>

 I hope this is not taken negatively...as it is not meant that way...

 I think it is worth talking about, especially when we think bootstrap
 will go away.  I respect Jason's disdain for Windows, but it also is
 the
 most used and most popular OS...which means it probably represents a
 large base of our community. :)

 IMHO, if we are to continue with the bootstrap, then I think it is
 reasonable to support both *nix and Windows.  No...I am not
 volunteering
 as I have other things on my plate, but I think if Mark D. wants to
 take
 on supporting the Windows side, I cannot find a negative in this.
 What I
 do not think is reasonable is forcing any user to have to install
 Cygwin
 (even though I love it) to build G on Windows.  Cygwin is a fairly
 large
 install and I have been at companies where one is forbidden to have it
 on corporate machines.

 So, my point is, if the bootstrap is short lived, then disregard my
 opinion ;-)  But if it's gonna be with us for a while, lets allow the
 Windows bat version if Mark is willing to support it...or find
 something
  (like ant?) that will make it work on our most popular OS systems.

 Jeff


Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
I mentioned before, that if we use antrun here, that it will cause  
other antrun executions to fail since plugins are only initialized  
once, and some plugins need to add some additional dependencies.


Its also much more difficult to support executions of individual  
steps using antrun.


Best bet is to use something external... before it was /bin/sh... and  
now its gonna be Ant.  I think that is better that /bin/sh and batch.


--jason


On Aug 22, 2006, at 6:16 PM, Jeff Genender wrote:


Jason,

Why not use the ant-run plugin for maven instead of a build.xml?

http://maven.apache.org/plugins/maven-antrun-plugin/

Jeff



Jason Dillon wrote:

I've whipped up an equivalent bootstrap.xml, testing it now...

if it works as expected I will commit it, and a bootstrap and
bootstrap.bat that will invoke the build.

Then, everyone needs to have Ant 1.6.5 installed (and ant  
available on

the PATH) and Cygwin is no longer required.

--jason


On Aug 22, 2006, at 3:14 PM, Jeff Genender wrote:



Jacek Laskowski wrote:

On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I meant to just use Ant... if we end up using antrun from the
bootstrap it will end up causing other antrun's to fail later on
since some of them need additional dependencies... which won't  
work.


Oh, didn't think about it. Are you really suggesting to use Ant  
beside
Maven? It's getting too complicated to just get started. When do  
you
think bootstrap will go away? Is it worth to talk about it any  
more?


Jacek



I hope this is not taken negatively...as it is not meant that way...

I think it is worth talking about, especially when we think  
bootstrap
will go away.  I respect Jason's disdain for Windows, but it also  
is the

most used and most popular OS...which means it probably represents a
large base of our community. :)

IMHO, if we are to continue with the bootstrap, then I think it is
reasonable to support both *nix and Windows.  No...I am not  
volunteering
as I have other things on my plate, but I think if Mark D. wants  
to take
on supporting the Windows side, I cannot find a negative in this.  
What I
do not think is reasonable is forcing any user to have to install  
Cygwin
(even though I love it) to build G on Windows.  Cygwin is a  
fairly large
install and I have been at companies where one is forbidden to  
have it

on corporate machines.

So, my point is, if the bootstrap is short lived, then disregard my
opinion ;-)  But if it's gonna be with us for a while, lets allow  
the
Windows bat version if Mark is willing to support it...or find  
something

 (like ant?) that will make it work on our most popular OS systems.

Jeff




Re: bootstrap.bat for windows users

2006-08-22 Thread Jeff Genender
Jason,

Why not use the ant-run plugin for maven instead of a build.xml?

http://maven.apache.org/plugins/maven-antrun-plugin/

Jeff



Jason Dillon wrote:
> I've whipped up an equivalent bootstrap.xml, testing it now...
> 
> if it works as expected I will commit it, and a bootstrap and
> bootstrap.bat that will invoke the build.
> 
> Then, everyone needs to have Ant 1.6.5 installed (and ant available on
> the PATH) and Cygwin is no longer required.
> 
> --jason
> 
> 
> On Aug 22, 2006, at 3:14 PM, Jeff Genender wrote:
> 
>>
>> Jacek Laskowski wrote:
>>> On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
 I meant to just use Ant... if we end up using antrun from the
 bootstrap it will end up causing other antrun's to fail later on
 since some of them need additional dependencies... which won't work.
>>>
>>> Oh, didn't think about it. Are you really suggesting to use Ant beside
>>> Maven? It's getting too complicated to just get started. When do you
>>> think bootstrap will go away? Is it worth to talk about it any more?
>>>
>>> Jacek
>>>
>>
>> I hope this is not taken negatively...as it is not meant that way...
>>
>> I think it is worth talking about, especially when we think bootstrap
>> will go away.  I respect Jason's disdain for Windows, but it also is the
>> most used and most popular OS...which means it probably represents a
>> large base of our community. :)
>>
>> IMHO, if we are to continue with the bootstrap, then I think it is
>> reasonable to support both *nix and Windows.  No...I am not volunteering
>> as I have other things on my plate, but I think if Mark D. wants to take
>> on supporting the Windows side, I cannot find a negative in this. What I
>> do not think is reasonable is forcing any user to have to install Cygwin
>> (even though I love it) to build G on Windows.  Cygwin is a fairly large
>> install and I have been at companies where one is forbidden to have it
>> on corporate machines.
>>
>> So, my point is, if the bootstrap is short lived, then disregard my
>> opinion ;-)  But if it's gonna be with us for a while, lets allow the
>> Windows bat version if Mark is willing to support it...or find something
>>  (like ant?) that will make it work on our most popular OS systems.
>>
>> Jeff


Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon

Can you test the new ant bootstrap when I commit it in a few minutes?

--jason


On Aug 22, 2006, at 5:53 PM, Mark DeLaFranier wrote:

I understand Jason's point of view.  :-)  I am on the opposite side  
of the fence - the Microsoft Windows side.
Anyway, if the bootstrap procedure is expected to be here for a  
bit, then I really do like the idea of using ANT to perform the  
bootstrap operations.  This would be a much more platform  
independent solution.  Otherwise, lets keep both scripts for the  
short term then nuke them.  I would be willing to make any Windows  
script, err batch, file changes if bootstrap changes.  :-)  I am  
also willing to help out with ANT script as well.


Mark


Jacek Laskowski wrote:

On 8/23/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I'd rather use ant to perform the bootstrapping tasks than to have
shell and batch versions of the bootstrap script... which IMO is  
much

more complicated than using ant.


Ok, I'm sold. Let's try to ask Mark to join us ;-)

Jacek








Re: bootstrap.bat for windows users

2006-08-22 Thread Mark DeLaFranier
I understand Jason's point of view.  :-)  I am on the opposite side of 
the fence - the Microsoft Windows side. 

Anyway, if the bootstrap procedure is expected to be here for a bit, 
then I really do like the idea of using ANT to perform the bootstrap 
operations.  This would be a much more platform independent solution.  
Otherwise, lets keep both scripts for the short term then nuke them.  I 
would be willing to make any Windows script, err batch, file changes if 
bootstrap changes.  :-)  I am also willing to help out with ANT script 
as well.


Mark


Jacek Laskowski wrote:

On 8/23/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I'd rather use ant to perform the bootstrapping tasks than to have
shell and batch versions of the bootstrap script... which IMO is much
more complicated than using ant.


Ok, I'm sold. Let's try to ask Mark to join us ;-)

Jacek






Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon

I've whipped up an equivalent bootstrap.xml, testing it now...

if it works as expected I will commit it, and a bootstrap and  
bootstrap.bat that will invoke the build.


Then, everyone needs to have Ant 1.6.5 installed (and ant available  
on the PATH) and Cygwin is no longer required.


--jason


On Aug 22, 2006, at 3:14 PM, Jeff Genender wrote:



Jacek Laskowski wrote:

On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I meant to just use Ant... if we end up using antrun from the
bootstrap it will end up causing other antrun's to fail later on
since some of them need additional dependencies... which won't work.


Oh, didn't think about it. Are you really suggesting to use Ant  
beside

Maven? It's getting too complicated to just get started. When do you
think bootstrap will go away? Is it worth to talk about it any more?

Jacek



I hope this is not taken negatively...as it is not meant that way...

I think it is worth talking about, especially when we think bootstrap
will go away.  I respect Jason's disdain for Windows, but it also  
is the

most used and most popular OS...which means it probably represents a
large base of our community. :)

IMHO, if we are to continue with the bootstrap, then I think it is
reasonable to support both *nix and Windows.  No...I am not  
volunteering
as I have other things on my plate, but I think if Mark D. wants to  
take
on supporting the Windows side, I cannot find a negative in this.  
What I
do not think is reasonable is forcing any user to have to install  
Cygwin
(even though I love it) to build G on Windows.  Cygwin is a fairly  
large

install and I have been at companies where one is forbidden to have it
on corporate machines.

So, my point is, if the bootstrap is short lived, then disregard my
opinion ;-)  But if it's gonna be with us for a while, lets allow the
Windows bat version if Mark is willing to support it...or find  
something

 (like ant?) that will make it work on our most popular OS systems.

Jeff




Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
Well, as much as I hate windows... and more so batch... I understand  
your point.


I think the best way would be to use Ant for the bootstrap tasks.

--jason


On Aug 22, 2006, at 3:14 PM, Jeff Genender wrote:



Jacek Laskowski wrote:

On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I meant to just use Ant... if we end up using antrun from the
bootstrap it will end up causing other antrun's to fail later on
since some of them need additional dependencies... which won't work.


Oh, didn't think about it. Are you really suggesting to use Ant  
beside

Maven? It's getting too complicated to just get started. When do you
think bootstrap will go away? Is it worth to talk about it any more?

Jacek



I hope this is not taken negatively...as it is not meant that way...

I think it is worth talking about, especially when we think bootstrap
will go away.  I respect Jason's disdain for Windows, but it also  
is the

most used and most popular OS...which means it probably represents a
large base of our community. :)

IMHO, if we are to continue with the bootstrap, then I think it is
reasonable to support both *nix and Windows.  No...I am not  
volunteering
as I have other things on my plate, but I think if Mark D. wants to  
take
on supporting the Windows side, I cannot find a negative in this.  
What I
do not think is reasonable is forcing any user to have to install  
Cygwin
(even though I love it) to build G on Windows.  Cygwin is a fairly  
large

install and I have been at companies where one is forbidden to have it
on corporate machines.

So, my point is, if the bootstrap is short lived, then disregard my
opinion ;-)  But if it's gonna be with us for a while, lets allow the
Windows bat version if Mark is willing to support it...or find  
something

 (like ant?) that will make it work on our most popular OS systems.

Jeff




Re: bootstrap.bat for windows users

2006-08-22 Thread Jeff Genender

Jacek Laskowski wrote:
> On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:
>> I meant to just use Ant... if we end up using antrun from the
>> bootstrap it will end up causing other antrun's to fail later on
>> since some of them need additional dependencies... which won't work.
> 
> Oh, didn't think about it. Are you really suggesting to use Ant beside
> Maven? It's getting too complicated to just get started. When do you
> think bootstrap will go away? Is it worth to talk about it any more?
> 
> Jacek
> 

I hope this is not taken negatively...as it is not meant that way...

I think it is worth talking about, especially when we think bootstrap
will go away.  I respect Jason's disdain for Windows, but it also is the
most used and most popular OS...which means it probably represents a
large base of our community. :)

IMHO, if we are to continue with the bootstrap, then I think it is
reasonable to support both *nix and Windows.  No...I am not volunteering
as I have other things on my plate, but I think if Mark D. wants to take
on supporting the Windows side, I cannot find a negative in this. What I
do not think is reasonable is forcing any user to have to install Cygwin
(even though I love it) to build G on Windows.  Cygwin is a fairly large
install and I have been at companies where one is forbidden to have it
on corporate machines.

So, my point is, if the bootstrap is short lived, then disregard my
opinion ;-)  But if it's gonna be with us for a while, lets allow the
Windows bat version if Mark is willing to support it...or find something
 (like ant?) that will make it work on our most popular OS systems.

Jeff


Re: bootstrap.bat for windows users

2006-08-22 Thread Jacek Laskowski

On 8/23/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I'd rather use ant to perform the bootstrapping tasks than to have
shell and batch versions of the bootstrap script... which IMO is much
more complicated than using ant.


Ok, I'm sold. Let's try to ask Mark to join us ;-)

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl


Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
I'd rather use ant to perform the bootstrapping tasks than to have  
shell and batch versions of the bootstrap script... which IMO is much  
more complicated than using ant.


--jason


On Aug 22, 2006, at 3:01 PM, Jacek Laskowski wrote:


On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I meant to just use Ant... if we end up using antrun from the
bootstrap it will end up causing other antrun's to fail later on
since some of them need additional dependencies... which won't work.


Oh, didn't think about it. Are you really suggesting to use Ant beside
Maven? It's getting too complicated to just get started. When do you
think bootstrap will go away? Is it worth to talk about it any more?

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl




Re: bootstrap.bat for windows users

2006-08-22 Thread Jacek Laskowski

On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I meant to just use Ant... if we end up using antrun from the
bootstrap it will end up causing other antrun's to fail later on
since some of them need additional dependencies... which won't work.


Oh, didn't think about it. Are you really suggesting to use Ant beside
Maven? It's getting too complicated to just get started. When do you
think bootstrap will go away? Is it worth to talk about it any more?

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl


Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
I meant to just use Ant... if we end up using antrun from the  
bootstrap it will end up causing other antrun's to fail later on  
since some of them need additional dependencies... which won't work.


--jason


On Aug 22, 2006, at 2:15 PM, Jacek Laskowski wrote:


On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I'd rather remove all bootstrap and force people to follow
instructions by hand to do the same than to support both.

Or add an ant build.xml to drive the process... I really don't like
to have too much platform specific logic in a batch file.


I'm leaning towards Jason's view and the build.xml solution seems to
be a bit better, i.e. ant's build.xml run via maven antrun plugin.

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl




Re: bootstrap.bat for windows users

2006-08-22 Thread Jacek Laskowski

On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I'd rather remove all bootstrap and force people to follow
instructions by hand to do the same than to support both.

Or add an ant build.xml to drive the process... I really don't like
to have too much platform specific logic in a batch file.


I'm leaning towards Jason's view and the build.xml solution seems to
be a bit better, i.e. ant's build.xml run via maven antrun plugin.

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl


Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
I'd rather remove all bootstrap and force people to follow  
instructions by hand to do the same than to support both.


Or add an ant build.xml to drive the process... I really don't like  
to have too much platform specific logic in a batch file.


I'm -1 on adding any more .bat files that have any significant logic  
in them to the build...


--jason


On Aug 22, 2006, at 1:45 PM, Prasad Kashyap wrote:


I agree. But just in case you or some other windoze user wants to
maintain it, I uploaded the patch after making some minor
modification.

https://issues.apache.org/jira/secure/attachment/12339349/ 
bootstrap.bat.patch


The onus of keeping the bootstrap.bat in synch with bootstrap rests
with the windows' users.

Cheers
Prasad




On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I do not really want to have to maintain both the unix version and
the windows versions of this script.  I do periodically make some
changes to bootstrap when I find it makes things easier.

Bootstrap is temporary and will be removed shortly, and I would
rather force users to install Cygwin during that period than start to
maintain a batch file that can function the same as the shell script.

I appreciate your willingness to write this script, but I think that
adding it will be more of a hassle...

--jason


On Aug 22, 2006, at 10:25 AM, Mark DeLaFranier wrote:

> Hey everybody,
>
> I've ported the bootstrap build script to windows so that Cygwin is
> not required.  A Jira entry was created with the new script  
attached:

>
> https://issues.apache.org/jira/browse/GERONIMO-2345
>
> I'd like to get some comments, if any, from people as to their
> thoughts on the script and if it would be a worth while  
improvement.

>
> Thanks
> Mark
>
>
>






Re: bootstrap.bat for windows users

2006-08-22 Thread Prasad Kashyap

I agree. But just in case you or some other windoze user wants to
maintain it, I uploaded the patch after making some minor
modification.

https://issues.apache.org/jira/secure/attachment/12339349/bootstrap.bat.patch

The onus of keeping the bootstrap.bat in synch with bootstrap rests
with the windows' users.

Cheers
Prasad




On 8/22/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I do not really want to have to maintain both the unix version and
the windows versions of this script.  I do periodically make some
changes to bootstrap when I find it makes things easier.

Bootstrap is temporary and will be removed shortly, and I would
rather force users to install Cygwin during that period than start to
maintain a batch file that can function the same as the shell script.

I appreciate your willingness to write this script, but I think that
adding it will be more of a hassle...

--jason


On Aug 22, 2006, at 10:25 AM, Mark DeLaFranier wrote:

> Hey everybody,
>
> I've ported the bootstrap build script to windows so that Cygwin is
> not required.  A Jira entry was created with the new script attached:
>
> https://issues.apache.org/jira/browse/GERONIMO-2345
>
> I'd like to get some comments, if any, from people as to their
> thoughts on the script and if it would be a worth while improvement.
>
> Thanks
> Mark
>
>
>




Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
It is not just about maintenance... I can 99% guarantee that the  
shell script will work as expected, and that when people run it, that  
it will perform the same as it does on my systems.


I can't say the same for a batch file.  The point of bootstrap was to  
provide that level of reliability and assurance that everyone is  
running through the same steps, so we can be sure that at the very  
minimum we have a tree that can always be built from source.


I really do not recommend that we change this now by adding a new  
path for users to run through...  I can see it now, users posting  
problems about failed builds, and me asking oh which bootstrap did  
you use?  Oh, I can't really test to see your problem, can you please  
use the shell script blah blah blah.


Bootstrap can be removed as soon as our artifacts, the spec artifacts  
and openejb artifacts are being regularly published.  Still waiting  
on m2 2.0.5 to fix some problems as well, but if needed I can bring  
the simple build script back (which has a unix and windows flavor  
that I am willing to support as it is very simple).  And hopefully as  
soon as 2.0.5 is out, we won't need that either.


 * * *

I would much, much, much rather that windows developers install Cygwin.

--jason


On Aug 22, 2006, at 1:31 PM, Jeff Genender wrote:


What is your time period until removal of bootstrap?  If there is a
second version for windows, perhaps Mark (who BTW also is a committer)
would be willing to maintain it.

Jason Dillon wrote:
I do not really want to have to maintain both the unix version and  
the
windows versions of this script.  I do periodically make some  
changes to

bootstrap when I find it makes things easier.

Bootstrap is temporary and will be removed shortly, and I would  
rather
force users to install Cygwin during that period than start to  
maintain

a batch file that can function the same as the shell script.

I appreciate your willingness to write this script, but I think that
adding it will be more of a hassle...

--jason


On Aug 22, 2006, at 10:25 AM, Mark DeLaFranier wrote:


Hey everybody,

I've ported the bootstrap build script to windows so that Cygwin is
not required.  A Jira entry was created with the new script  
attached:


https://issues.apache.org/jira/browse/GERONIMO-2345

I'd like to get some comments, if any, from people as to their
thoughts on the script and if it would be a worth while improvement.

Thanks
Mark







Re: bootstrap.bat for windows users

2006-08-22 Thread Jeff Genender
What is your time period until removal of bootstrap?  If there is a
second version for windows, perhaps Mark (who BTW also is a committer)
would be willing to maintain it.

Jason Dillon wrote:
> I do not really want to have to maintain both the unix version and the
> windows versions of this script.  I do periodically make some changes to
> bootstrap when I find it makes things easier.
> 
> Bootstrap is temporary and will be removed shortly, and I would rather
> force users to install Cygwin during that period than start to maintain
> a batch file that can function the same as the shell script.
> 
> I appreciate your willingness to write this script, but I think that
> adding it will be more of a hassle...
> 
> --jason
> 
> 
> On Aug 22, 2006, at 10:25 AM, Mark DeLaFranier wrote:
> 
>> Hey everybody,
>>
>> I've ported the bootstrap build script to windows so that Cygwin is
>> not required.  A Jira entry was created with the new script attached:
>>
>> https://issues.apache.org/jira/browse/GERONIMO-2345
>>
>> I'd like to get some comments, if any, from people as to their
>> thoughts on the script and if it would be a worth while improvement.
>>
>> Thanks
>> Mark
>>
>>
>>


Re: bootstrap.bat for windows users

2006-08-22 Thread Jason Dillon
I do not really want to have to maintain both the unix version and  
the windows versions of this script.  I do periodically make some  
changes to bootstrap when I find it makes things easier.


Bootstrap is temporary and will be removed shortly, and I would  
rather force users to install Cygwin during that period than start to  
maintain a batch file that can function the same as the shell script.


I appreciate your willingness to write this script, but I think that  
adding it will be more of a hassle...


--jason


On Aug 22, 2006, at 10:25 AM, Mark DeLaFranier wrote:


Hey everybody,

I've ported the bootstrap build script to windows so that Cygwin is  
not required.  A Jira entry was created with the new script attached:


https://issues.apache.org/jira/browse/GERONIMO-2345

I'd like to get some comments, if any, from people as to their  
thoughts on the script and if it would be a worth while improvement.


Thanks
Mark