You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Bojan Smojver <bo...@binarix.com> on 2001/09/11 09:42:41 UTC

Introspector.java -> CR/LF

I have a CVS copy of it and it seems a bit screwed on a Linux system -
CR/LF pairs are totally off. I compiles OK but it looks ugly.

Bojan

Re: Introspector.java -> CR/LF

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"Geir Magnusson Jr." <ge...@optonline.net> writes:

> I did switch BBEdit to use Unix line endings, so my last (and ever future)
> commits should be fine.

Yup, that did the trick.  :-]

Re: Introspector.java -> CR/LF

Posted by robert burrell donkin <ro...@mac.com>.
On Tuesday, September 11, 2001, at 07:24 PM, bayard@generationjava.com 
wrote:

>
>>> I installed vim. But on a less argumentative note, consider buying
>>> MacGimp, 30 dollars you get Gimp, but it also sets up XDarwin for
>>> you and XAqua. Putting XEmacs on after that should be a lot easier.
>>>
>>
>> I wasn't being argumentative... I was just jealous of Daniel with his
>> fancy-pants emacs :)  This is a big adjustment for me.
>>
>
> Sorry, I meant me saying vim. There's that whole emacs/vim thing.

i use project builder to edit files (it does syntax colouring)

> Have you tried doing a cvs checkout from apache over ssh on OS X?
>
> I've not been able to get it to work.

i use ssh all the time from maxOS X (but i rolled my own openSSH from 
source)
if i can pass on any tips, then i'd be glad to do so.

- robert

Re: Introspector.java -> CR/LF

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/11/01 9:07 AM, "Jon Stevens" <jo...@latchkey.com> wrote:

> on 9/11/01 11:25 AM, "Geir Magnusson Jr." <ge...@optonline.net> wrote:
> 
>>> setenv CVS_RSH ssh
>>> setenv CVSROOT username@cvs.apache.org:/home/cvs
>>> cvs co jakarta-velocity
>> 
>> I think that there is a _ in CVS_ROOT
>> 
>> geir
> 
> From the cvs man page:
> 
> ENVIRONMENT VARIABLES
>      CVSROOT
>             Should contain the full pathname to the root of the
>             cvs source repository  (where  the  RCS  files  are
>             kept).   This  information must be available to cvs
>             for most commands to execute;  if  CVSROOT  is  not
>             set,  or if you wish to override it for one invoca-
>             tion, you can supply it on the command  line:  `cvs
>             -d  cvsroot cvs_command...' You may not need to set
>             CVSROOT if your cvs binary has the right path  com-
>             piled  in;  use `cvs -v' to display all compiled-in
>             paths.
> 

Weird.  That's what I tried at first, and it dodn't work.  So I set CVS_ROOT
and all is well.  Another mystery... :)

geir

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Introspector.java -> CR/LF

Posted by ba...@generationjava.com.
Yep it was CVSROOT.

I got it working, so my previous problems were either network based, cvs
based or just me based.

I have oddities with OS X on a DHCP network. MY DHCP seems to expire and I
have to manually get it again. This could be the network admin though. No
idea what their setup is.

Bay


Re: Introspector.java -> CR/LF

Posted by Jon Stevens <jo...@latchkey.com>.
on 9/11/01 11:25 AM, "Geir Magnusson Jr." <ge...@optonline.net> wrote:

>> setenv CVS_RSH ssh
>> setenv CVSROOT username@cvs.apache.org:/home/cvs
>> cvs co jakarta-velocity
> 
> I think that there is a _ in CVS_ROOT
> 
> geir

>From the cvs man page:

ENVIRONMENT VARIABLES
       CVSROOT
              Should contain the full pathname to the root of the
              cvs source repository  (where  the  RCS  files  are
              kept).   This  information must be available to cvs
              for most commands to execute;  if  CVSROOT  is  not
              set,  or if you wish to override it for one invoca-
              tion, you can supply it on the command  line:  `cvs
              -d  cvsroot cvs_command...' You may not need to set
              CVSROOT if your cvs binary has the right path  com-
              piled  in;  use `cvs -v' to display all compiled-in
              paths.

-jon


Re: Introspector.java -> CR/LF

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/11/01 8:22 AM, "Jon Stevens" <jo...@latchkey.com> wrote:

> on 9/11/01 11:24 AM, "bayard@generationjava.com" <ba...@generationjava.com>
> wrote:
> 
>> Have you tried doing a cvs checkout from apache over ssh on OS X?
> 
> Of course. I have been doing it for about a year now (I had my hands on the
> early early early alpha's). It works just like on any other unix box.
> 
> setenv CVS_RSH ssh
> setenv CVSROOT username@cvs.apache.org:/home/cvs
> cvs co jakarta-velocity

I think that there is a _ in CVS_ROOT

geir

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Introspector.java -> CR/LF

Posted by Jon Stevens <jo...@latchkey.com>.
on 9/11/01 11:24 AM, "bayard@generationjava.com" <ba...@generationjava.com>
wrote:

> Have you tried doing a cvs checkout from apache over ssh on OS X?

Of course. I have been doing it for about a year now (I had my hands on the
early early early alpha's). It works just like on any other unix box.

setenv CVS_RSH ssh
setenv CVSROOT username@cvs.apache.org:/home/cvs
cvs co jakarta-velocity

-jon


Re: Introspector.java -> CR/LF [OT mac chatter...]

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/11/01 8:40 AM, "bayard@generationjava.com" <ba...@generationjava.com>
wrote:

> 
> 
>>> Have you tried doing a cvs checkout from apache over ssh on OS X?
>> 
>> Sure - works like a champ. I am on vacation with the iBook and doing
>> Velocity work with it.  I have had no problems with any action.
> 
> Must be something on my side :(
> 
>>> bash (had to install this immediately)
>> 
>> Yes, I am pining for that.  I assume you just grabbed sources and built?
> 
> Yep. Worked a charm. Was a bit painful to set it up for my user to use
> bash by default. But eventually I got it sorted. Also takes a bit of pain
> to get access to the root user.
> 
>>> JavaBrowser (comes with it. can be useful)
>> 
>> Hm.  I need to find that.
> 
> Ah, comes with the developers CD which you don't get if you order direct
> from Apple (what is with that?). A friend of mine burnt me a copy, I can
> possibly get a .dmg file online for you.

Yes.  I have it.  I just found it - looks good.  I downloaded the usual API
docs from sun, so I keep those local as well.

> 
>>> OmniGraffle (very nice tiny diagram drawer. full version 110 usd)
>>> Space (dock for virtual desktops)
>> 
>> Really?  I have been really wishing for this.  Where can I find it?
> 
> Open up IE. Click on the OS X link. Bottom right hand corner talks about
> programs. I think there's a tab for this section too. Anyway, tons of
> stuff on there, look at the Dock section.

Thanks.  I'll find that.

> 
>> 
>>> SlashDock (shows MacSlash and Slashdot headlines)
>>> 
>>> Nothing else has seemed useful enough to fit augment my day to day
>>> usage. A nice external wireless/optical logitech mouse is a nice to have.
>> 
>> One thing I bought and found extremely worth it is a powersupply from
>> Madsonline (http://www.madsonline.com/).  It is really small compared to
>> that flying saucer thing, so it's great to travel with.
> 
> Definitely sounds interesting. Carrying that thing around is a pain.
> 
> Alternative browsers, Mozilla and Opera both fail to be as good as they
> are on linux. Omniweb is a nice one. 30 dollars or so, but is very highly
> rated. www.omnigroup.com

I don't mind paying if good.  Wasn't there another called 'taxi' or 'cab' or
something?

> 
> You can also get a xxxx@mac.com email address from apple for free, plus a
> chunk of disk space. They've made this really easy for the consumer user,
> so might be worth getting it setup. They call it iDisk and iTools.

I did set that up.  Seems pretty cool.  I used it a bit before I left (I
only had the box less than a week before I left, and there is no bndwth
here...

geir

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Introspector.java -> CR/LF [OT mac chatter...]

Posted by ba...@generationjava.com.

> > Have you tried doing a cvs checkout from apache over ssh on OS X?
> 
> Sure - works like a champ. I am on vacation with the iBook and doing
> Velocity work with it.  I have had no problems with any action.

Must be something on my side :(

> > bash (had to install this immediately)
> 
> Yes, I am pining for that.  I assume you just grabbed sources and built?

Yep. Worked a charm. Was a bit painful to set it up for my user to use
bash by default. But eventually I got it sorted. Also takes a bit of pain
to get access to the root user.

> > JavaBrowser (comes with it. can be useful)
> 
> Hm.  I need to find that.

Ah, comes with the developers CD which you don't get if you order direct
from Apple (what is with that?). A friend of mine burnt me a copy, I can
possibly get a .dmg file online for you.

> > OmniGraffle (very nice tiny diagram drawer. full version 110 usd)
> > Space (dock for virtual desktops)
> 
> Really?  I have been really wishing for this.  Where can I find it?

Open up IE. Click on the OS X link. Bottom right hand corner talks about
programs. I think there's a tab for this section too. Anyway, tons of
stuff on there, look at the Dock section. 

> 
> > SlashDock (shows MacSlash and Slashdot headlines)
> > 
> > Nothing else has seemed useful enough to fit augment my day to day
> > usage. A nice external wireless/optical logitech mouse is a nice to have.
> 
> One thing I bought and found extremely worth it is a powersupply from
> Madsonline (http://www.madsonline.com/).  It is really small compared to
> that flying saucer thing, so it's great to travel with.

Definitely sounds interesting. Carrying that thing around is a pain.

Alternative browsers, Mozilla and Opera both fail to be as good as they
are on linux. Omniweb is a nice one. 30 dollars or so, but is very highly
rated. www.omnigroup.com

You can also get a xxxx@mac.com email address from apple for free, plus a
chunk of disk space. They've made this really easy for the consumer user,
so might be worth getting it setup. They call it iDisk and iTools.

Bay


Re: Introspector.java -> CR/LF [OT mac chatter...]

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/11/01 8:24 AM, "bayard@generationjava.com" <ba...@generationjava.com>
wrote:

> 
>>> I installed vim. But on a less argumentative note, consider buying
>>> MacGimp, 30 dollars you get Gimp, but it also sets up XDarwin for
>>> you and XAqua. Putting XEmacs on after that should be a lot easier.
>>> 
>> 
>> I wasn't being argumentative... I was just jealous of Daniel with his
>> fancy-pants emacs :)  This is a big adjustment for me.
>> 
> 
> Sorry, I meant me saying vim. There's that whole emacs/vim thing.
> 
> Have you tried doing a cvs checkout from apache over ssh on OS X?

Sure - works like a champ. I am on vacation with the iBook and doing
Velocity work with it.  I have had no problems with any action.

> 
> I've not been able to get it to work. Works fine from my Suse box, but not
> on OS X. Other things I've found stunningly useful for OS X:
> 
> bash (had to install this immediately)

Yes, I am pining for that.  I assume you just grabbed sources and built?

> JavaBrowser (comes with it. can be useful)

Hm.  I need to find that.

> OmniGraffle (very nice tiny diagram drawer. full version 110 usd)
> Space (dock for virtual desktops)

Really?  I have been really wishing for this.  Where can I find it?

> SlashDock (shows MacSlash and Slashdot headlines)
> 
> Nothing else has seemed useful enough to fit augment my day to day
> usage. A nice external wireless/optical logitech mouse is a nice to have.

One thing I bought and found extremely worth it is a powersupply from
Madsonline (http://www.madsonline.com/).  It is really small compared to
that flying saucer thing, so it's great to travel with.

geir


-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Introspector.java -> CR/LF

Posted by ba...@generationjava.com.
> > I installed vim. But on a less argumentative note, consider buying
> > MacGimp, 30 dollars you get Gimp, but it also sets up XDarwin for
> > you and XAqua. Putting XEmacs on after that should be a lot easier.
> > 
> 
> I wasn't being argumentative... I was just jealous of Daniel with his
> fancy-pants emacs :)  This is a big adjustment for me.
> 

Sorry, I meant me saying vim. There's that whole emacs/vim thing.

Have you tried doing a cvs checkout from apache over ssh on OS X?

I've not been able to get it to work. Works fine from my Suse box, but not
on OS X. Other things I've found stunningly useful for OS X:

bash (had to install this immediately)
JavaBrowser (comes with it. can be useful)
OmniGraffle (very nice tiny diagram drawer. full version 110 usd)
Space (dock for virtual desktops)
SlashDock (shows MacSlash and Slashdot headlines)

Nothing else has seemed useful enough to fit augment my day to day
usage. A nice external wireless/optical logitech mouse is a nice to have.

Bay


Re: Introspector.java -> CR/LF

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/11/01 8:04 AM, "bayard@generationjava.com" <ba...@generationjava.com>
wrote:

>> I will have emacs setup ASAP when I get back from vacation.  I didn't have
>> time.  The version that comes with OS X really is limited, so either I wait
>> until that's fixed, or install an X server and the X version.
>> 
>> I did switch BBEdit to use Unix line endings, so my last (and ever future)
>> commits should be fine.
>> 
> 
> I installed vim. But on a less argumentative note, consider buying
> MacGimp, 30 dollars you get Gimp, but it also sets up XDarwin for
> you and XAqua. Putting XEmacs on after that should be a lot easier.
> 

I wasn't being argumentative... I was just jealous of Daniel with his
fancy-pants emacs :)  This is a big adjustment for me.

That's something  I will look into, the MacGimp.  Thanks.

geir

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Introspector.java -> CR/LF

Posted by ba...@generationjava.com.
> I will have emacs setup ASAP when I get back from vacation.  I didn't have
> time.  The version that comes with OS X really is limited, so either I wait
> until that's fixed, or install an X server and the X version.
> 
> I did switch BBEdit to use Unix line endings, so my last (and ever future)
> commits should be fine.
> 

I installed vim. But on a less argumentative note, consider buying
MacGimp, 30 dollars you get Gimp, but it also sets up XDarwin for
you and XAqua. Putting XEmacs on after that should be a lot easier.

Bay


Re: Introspector.java -> CR/LF

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/11/01 7:36 AM, "Daniel Rall" <dl...@finemaltcoding.com> wrote:

> "Geir Magnusson Jr." <ge...@optonline.net> writes:
> 
>> On 9/10/01 9:42 PM, "Bojan Smojver" <bo...@binarix.com> wrote:
>> 
>>> I have a CVS copy of it and it seems a bit screwed on a Linux system -
>>> CR/LF pairs are totally off. I compiles OK but it looks ugly.
>>> 
>>> Bojan
>> 
>> That's because I am on of these damn Macintoshes.... :)
>> 
>> What's wrong?
> 
> I noticed that too.  My recent commit to the JavaDoc (via XEmacs, of
> course) removed the crud.

Bite me :)

I will have emacs setup ASAP when I get back from vacation.  I didn't have
time.  The version that comes with OS X really is limited, so either I wait
until that's fixed, or install an X server and the X version.

I did switch BBEdit to use Unix line endings, so my last (and ever future)
commits should be fine.

geir

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb


Re: Introspector.java -> CR/LF

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"Geir Magnusson Jr." <ge...@optonline.net> writes:

> On 9/10/01 9:42 PM, "Bojan Smojver" <bo...@binarix.com> wrote:
> 
> > I have a CVS copy of it and it seems a bit screwed on a Linux system -
> > CR/LF pairs are totally off. I compiles OK but it looks ugly.
> > 
> > Bojan
> 
> That's because I am on of these damn Macintoshes.... :)
> 
> What's wrong?

I noticed that too.  My recent commit to the JavaDoc (via XEmacs, of
course) removed the crud.

- Dan

Re: Introspector.java -> CR/LF

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 9/10/01 9:42 PM, "Bojan Smojver" <bo...@binarix.com> wrote:

> I have a CVS copy of it and it seems a bit screwed on a Linux system -
> CR/LF pairs are totally off. I compiles OK but it looks ugly.
> 
> Bojan

That's because I am on of these damn Macintoshes.... :)

What's wrong?


Geir

-- 
Geir Magnusson Jr.     geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
If you look up, there are no limits - Japanese Proverb