Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Download from CVS with Eclipse

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to download from CVS into Eclipse, just so I can get a better understanding of how everything works, as I try to implement SSO, etc.

I saw the instructions for Eclipse:

Using Eclipse
Eclipse is one of the most known and used Java IDEs in the market. Here's how to import JForum from the CVS:

1. In the Resource or Java Perspective, right click and choose Import
2. The Import / Export window will open. Choose CVS -> Project from CVS. Click Next


But, I don't see any "CVS -> Project from CVS" option in my Import / Export window.

Is this an Eclipse version thing?

Thanks,
J.
[originally posted on jforum.net by jenamon]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It might be version related, but I'm not sure.

Another alternative that has been in Eclipse pretty much from the beginning is to use the CVS Repository Perspective. (Window/Open Perspective/ Other)

There will be a button to add a CVS repository (or right click in the repository list). You can add the jForum repository here.

Connection Type: pserver
user: guest
password: none
host: cvs.dev.java.net
path: /cvs

Once you have add it, you can expand the site and start "exploring" it to find what you want to get. E.g., do you want the Jforum3 branch or the 2.1.6 branch or the 2.1.7 branch?

Since there are a LOT of projects in this repository and getting a list of them takes a couple of minutes, it's probably best to start with the Branchs section. You can select the branches for the jforum module and get access to the various flavors of jForum. Just expand a branch and then right click on the main folder to "check out as..."


[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried all that, and when clicking on the Branches tree, I get an "I/O has been interrupted" error, with the following additional info provided:

The most likely cause of the interrupt is either an intermittent network failure or a communications timeout.
The CFS communications timeout can be adjusted in the Team/CVS preferences.
Another possible cause is the improper configuration of the "ext" connection method.
The "ext" connection method can be configured on the Team/CVS/EXT Connection Method preference page..

But, it doesn't tell me what the proper configuration would be.

I increase the timeout 10-fold, and it still goes nowhere. What's the default port for CVS. Maybe I need to have a port opened through the firewall, or something.

???

Thanks,
Jennifer
[originally posted on jforum.net by jenamon]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got and set up the 3.2.2 version of Eclipse and tied it to the 1.4.2_12 JDK, and I now find the menu items to set up my connection to CVS. But, it still fails. I think I'm dealing with an issue of the default CVS port not being opened through our firewall. Does anyone know what the default port IS?

Thanks,
Jennifer
[originally posted on jforum.net by jenamon]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not a firewall issue.
It's port 22 by default.
I connected to the internet from outside our firewall and still got the same result.

I suspect that the Eclipse/CVS instructions assume you've used CVS before, and there is some other setup step that has to happen before you attempt to connect to a CVS repository. I haven't used it before, and was hoping for clear step-by-step instructions that would get me to my desired place in this process.

That did not happen.

I ended up using the zipped downloadable source, which was missing 5 jboss and jgroup .jar files. I collected those individually from the CVS and eventually got something that would build without modification.

Now, I'm going to attempt to do the SSO stuff.

I do not understand, though, why so many pleas for help are simply being ignored on this forum. I start to feel like someone is out there saying "If we ignore her long enough, she'll either figure it out herself, or go away."

Yes, I'm a newbie. Yes, I'm a Java neophyte.
But, I'm also a user who is trying in earnest to use this product for a production website for a large corporation. Are the developers and experienced users too busy to help the newbies?

Okay. If so, then I suggest there be a high priority put on finishing and updating the product documentation for the latest released version.

For example, a working sample for standard cookie-based SSO should not be difficult to come up with.

Thanks,
Jennifer


[originally posted on jforum.net by jenamon]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jenamon wrote:It's not a firewall issue.
It's port 22 by default.
I connected to the internet from outside our firewall and still got the same result.

I suspect that the Eclipse/CVS instructions assume you've used CVS before, and there is some other setup step that has to happen before you attempt to connect to a CVS repository.[...]

Yes, I'm a newbie. Yes, I'm a Java neophyte.
But, I'm also a user who is trying in earnest to use this product for a production website for a large corporation. Are the developers and experienced users too busy to help the newbies?



Hi Jennifer,

Browsing the forums here, I saw several of your posts and have to say I couldn't agree more.

Given the lack of responsiveness and how outdated and neglected many links and instructions on this site seem, I also figured I might as well get the "latest beta" from CVS and try to work with that (some aspects of version 2.1.7 make me think it skipped the beta stage altogether...). I use CVS everyday for work (I'm part of a team of developers working on a project from various corners of the world), but I had no more luck than you did trying to get that CVS connection working. Got the exact same error message from Eclipse, and I've got several other CVS repositories to which I can connect without any trouble.

My frustration with JForum is mounting, maybe I should go back and consider the other alternatives again more carefully.

Just thought I'd post this so you don't think it's just you, or your Eclipse version, or whatever...

Cheers,

Amos
[originally posted on jforum.net by Amos]
 
Destiny's powerful hand has made the bed of my future. And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic