facebook

Add Capabilities Greyed Out with CVS Project?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #239313 Reply

    Rubens Gomes
    Participant

    I have created a new project by checking out an existing project from a CVS repository. After that, I tried to Add WebProject capabilities, but all the MyEclipse Add Capabilities are greyed out.

    My CVS project is a web application that has the correct directory layout structure for a webapp project. (/src, /webroot, /webroot/WEB-INF, …). Therefore, I would hope that it would map easily to a MyEclipse WebProject.

    Anyway, I have reinstalled Eclipse SDK 3.1.1, and MyEclipse 4.02 from scratch using a brand new workspace. But the problem persists !!!

    Here is what I do:

    1) File -> New -> Project … (Choose CVS -> Checkout Project from CVS)
    – I followed all the prompts to checkout project from CVS
    – Project is created and checked out properly from CVS
    2) I now try to add WebProject Capabilities from MyEclipse
    – But all the MyEclipse Add Capabilities are greyed out!!!

    I remember having a similar problem months earlier which was related to a specific version of Eclipse and MyEclipse. However, this time I am using all the latest versions as suggested in the Dowloads.

    Any help ?

    MyEclipse Configuration Summary
    *** Date: Thu Oct 13 09:34:47 BRT 2005
    *** System properties:
    OS=Linux
    OS version=2.6.4-52-default
    Java version=1.5.0_05

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 4.0.2 GA
    Build id: 20051010-4.0.2-GA

    *** Eclipse details:
    Eclipse SDK
    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform
    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP
    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools
    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment
    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK
    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /home/rubens/./Eclipse-3.1/eclipse/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    170003
    -vm
    /usr/java/jdk1.5.0_05/bin/java

    Relevant Error Log
    !SESSION 2005-10-13 09:04:43.169 ———————————————–
    eclipse.buildId=M20050929-0840
    java.version=1.5.0_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86

    !ENTRY org.eclipse.team.cvs.core 2 0 2005-10-13 09:05:42.979
    !MESSAGE CVS file /contacts/webroot/WEB-INF/struts-bean.tld either contains invalid line endings on the server (CR/LF instead of just LF) or is a binary file that is not marked as -kb.

    !ENTRY org.eclipse.team.cvs.core 2 0 2005-10-13 09:05:42.984
    !MESSAGE CVS file /contacts/webroot/WEB-INF/struts-config_1_2.dtd either contains invalid line endings on the server (CR/LF instead of just LF) or is a binary file that is not marked as -kb.

    Unix Environment:
    LESSKEY=/etc/lesskey.bin
    NNTPSERVER=news
    INFODIR=/usr/local/info:/usr/share/info:/usr/info
    MANPATH=/usr/java/jdk1.5.0_05/man:/usr/local/man:/usr/share/man:/usr/X11R6/man:/
    opt/gnome/share/man
    KDE_MULTIHEAD=false
    SSH_AGENT_PID=3693
    HOSTNAME=linux
    GNOME2_PATH=/usr/local:/opt/gnome:/usr
    XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
    GPG_AGENT_INFO=/tmp/gpg-Q81Lnt/S.gpg-agent:3692:1
    LAX_VM=/usr/java/jdk1.5.0_05/bin/java
    HOST=linux
    TERM=xterm
    SHELL=/bin/bash
    PROFILEREAD=true
    ECLIPSE_HOME=/home/rubens/Eclipse-3.1
    CATALINA_HOME=/opt/java/apache-tomcat
    HISTSIZE=1000
    XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
    STYLE=plastik
    GTK2_RC_FILES=/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes/Geramik/gtk-2
    .0/gtkrc:/home/rubens/.gtkrc-2.0-plastik:/home/rubens/.kde/share/config/gtkrc
    CVSROOT=/opt/cvsroot
    GTK_RC_FILES=/etc/opt/gnome/gtk/gtkrc:/opt/gnome/share/themes/Geramik/gtk/gtkrc:
    /home/rubens/.gtkrc-plastik:/home/rubens/.kde/share/config/gtkrc
    WINDOWID=46137352
    KDEHOME=/home/rubens/.kde
    QTDIR=/usr/lib/qt3
    XSESSION_IS_UP=yes
    KDE_FULL_SESSION=true
    FIREFOX_HOME=/opt/firefox
    ANT_HOME=/opt/java/apache-ant
    USER=rubens
    XCURSOR_SIZE=
    OPENWINHOME=/usr/openwin
    XNLSPATH=/usr/X11R6/lib/X11/nls
    SSH_AUTH_SOCK=/tmp/ssh-jdGuId3657/agent.3657
    HOSTTYPE=i386
    SESSION_MANAGER=local/linux:/tmp/.ICE-unix/3739
    PAGER=less
    MOZ_PLUGIN_PATH=/opt/firefox/plugins
    LD_HWCAP_MASK=0x20000000
    KONSOLE_DCOP=DCOPRef(konsole-3786,konsole)
    MINICOM=-c on
    DESKTOP_SESSION=default
    PATH=/usr/java/jdk1.5.0_05/bin:/opt/java/apache-ant/bin:/usr/local/RealPlayer:/h
    ome/rubens/Eclipse-3.1:/usr/java/jdk1.5.0_05/bin:/opt/java/apache-ant/bin:/usr/l
    ocal/RealPlayer:/home/rubens/Eclipse-3.1:/usr/local/bin:/usr/bin:/usr/X11R6/bin:
    /bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/firefox:/opt/mozilla:/opt/fire
    fox:/opt/mozilla
    CPU=i686
    KONSOLE_DCOP_SESSION=DCOPRef(konsole-3786,session-2)
    INPUTRC=/etc/inputrc
    PWD=/home/rubens
    XMODIFIERS=@im=local
    JAVA_HOME=/usr/java/jdk1.5.0_05
    LAX_DEBUG=0
    LANG=en_US.UTF-8
    GRE_PATH=/opt/mozilla
    SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass
    REAL_PLAYER=/usr/local/RealPlayer
    TEXINPUTS=::/home/rubens/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX:/home/rubens/.Te
    X:/usr/share/doc/.TeX:/usr/doc/.TeX
    SHLVL=2
    HOME=/home/rubens
    LESS_ADVANCED_PREPROCESSOR=no
    OSTYPE=linux
    LS_OPTIONS=-N –color=tty -T 0
    no_proxy=localhost
    XCURSOR_THEME=crystalwhite
    WINDOWMANAGER=/usr/X11R6/bin/kde
    GTK_PATH=/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0
    LESS=-M -I
    MACHTYPE=i686-suse-linux
    LOGNAME=rubens
    CVS_RSH=ssh
    MOZILLA_HOME=/opt/mozilla
    PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig
    LESSOPEN=lessopen.sh %s
    USE_FAM=
    CVSEDITOR=/bin/vi
    ACLOCAL_PATH=/opt/gnome/share/aclocal
    INFOPATH=/usr/local/info:/usr/share/info:/usr/info
    DISPLAY=:0.0
    LESSCLOSE=lessclose.sh %s %s
    G_BROKEN_FILENAMES=1
    COLORTERM=
    _=/usr/bin/env
    OLDPWD=/home/rubens/CVSROOT

    #239323 Reply

    Riyad Kalla
    Member

    Your configuration actually looks perfect as far as versions are concerned, thank you for the detailed information.

    Additionally, when you check the project out, how are you checking it out? Have you tried> Check out As… > Web Project > Finish and seeing if that helps?

    #239329 Reply

    Rubens Gomes
    Participant

    Sorry, the project is actually in a CVS repository. And I don’t know how to checkout a CVS project as a Web Module. What I am doing is select New -> Project -> CVS …, and follow the wizards. Am I missing something here? Or is there another *proper* way to create a CVS project within Eclipse that I am unaware of?

    Rubens.

    #239348 Reply

    Riyad Kalla
    Member

    Rubens,
    Interesting, I never noticed that project type before. Switch to your CVS Perspective (you may need to open it), your repository should be listed, if you expand the root and find your project, right click on it, that is the menu I was referring to.

    #239354 Reply

    Rubens Gomes
    Participant

    Sorry, to be more precise:

    The files that I need are saved in a CVS repository. These files were created and checked into CVS from a Unix shell. I want to use those files within Eclipse. And the way I import those files into Eclipse is by creating a CVS project (check out from CVS repository). After creating the Eclipse project that way, all the files from the CVS repository appear okay in Eclipse. However, all the MyEclipse Add capabilities are greyed out.

    There was never a project created within Eclipse, and checked into CVS. The files were originally created from the Unix shell, and checked into CVS from the shell.

    Nobody else created this project. I did it all myself, and I am working solely on my Linux computer. This is a personal project.

    Rubens.

    Rubens.

    #239365 Reply

    Riyad Kalla
    Member

    However, all the MyEclipse Add capabilities are greyed out.

    Yes, this is understandable. These actions are only avilable for certain *kinds* of projects, CVS Project is not one of them because a CVS project could mean anything. So we limit the actions to Java/Web/EJB/and EAR Projects.

    Nobody else created this project. I did it all myself, and I am working solely on my Linux computer. This is a personal project.

    I understand, there are multiple ways to pull code from a repository into an Eclipse project. You are doing it one way using a CVS project, because this is not supported by MyEclipse, I am suggesting that you use another way (by going to the CVS Perspective, and directly selecting the module and then using “Check Out As…”. You can open the CVS perspective via Window > Open Perspective > Other… > CVS Perspective, it might be under the Team folder, I don’t recall.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Add Capabilities Greyed Out with CVS Project?

You must be logged in to post in the forum log in