Java project directly from CVS [message #41138] |
Tue, 27 May 2003 17:16  |
Eclipse User |
|
|
|
Hi,
If I check out the java source using some cvs client other than
eclipse(e.g. wincvs), and then create a java project by pointing to thec
checked out directory: Eclipse identifies the source folders correctly.
Try jakarta-commons collections project.
If I try to do it directly from eclipse it does not work. Here is the
sequnce I am following:
1. I go to cvs repositories perspective in eclipse, define new location
for apache cvs.
:pserver:anoncvs@cvs.apache.org:/home/cvspublic
2. Browse to jakarta-commons/collections
3. Right click and then select "checkout as..", select java project from
the dialog box. Hit next and enter info till you get to "Java Settings"
4. On the "source" tab of "Java Settings" dialog box, notice that only
one directory is listed. Even though there are multiple source
directories in that CVS tree. (under jakarta-commons/collections). These
directories where correctly identified as java source folders when
eclipse cvs client was NOT used. With eclipse CVS client used, the
source folder remains the base folder, it doesn't scan the subfolders to
identify correct java source folders.
The flexible source structure works when the source exists on local
machine, already checked out from some CVS using some other client, but
not when flexible source structure already exists in CVS.
Any ideas? Is this a bug? Is there a workaround?
Thanks,
Prashant Rane
|
|
|
Re: Java project directly from CVS [message #41310 is a reply to message #41138] |
Tue, 27 May 2003 19:30  |
Eclipse User |
|
|
|
Originally posted by: vj.mail.com
I dont know if it's supposed to automatically identify the source folders;
it doesnt seem to do so. It does work if you identify the source folders
manually: I checked out this project using eclipse and then manually set the
source folders as src/java and src/test and it worked fine. I did have to
include junit.jar for it to compile.
-M
"Prashant Rane" <prashantrane@netscape.net> wrote in message
news:bb0kln$ms5$1@rogue.oti.com...
> Hi,
>
> If I check out the java source using some cvs client other than
> eclipse(e.g. wincvs), and then create a java project by pointing to thec
> checked out directory: Eclipse identifies the source folders correctly.
>
> Try jakarta-commons collections project.
>
> If I try to do it directly from eclipse it does not work. Here is the
> sequnce I am following:
>
> 1. I go to cvs repositories perspective in eclipse, define new location
> for apache cvs.
> :pserver:anoncvs@cvs.apache.org:/home/cvspublic
> 2. Browse to jakarta-commons/collections
> 3. Right click and then select "checkout as..", select java project from
> the dialog box. Hit next and enter info till you get to "Java Settings"
> 4. On the "source" tab of "Java Settings" dialog box, notice that only
> one directory is listed. Even though there are multiple source
> directories in that CVS tree. (under jakarta-commons/collections). These
> directories where correctly identified as java source folders when
> eclipse cvs client was NOT used. With eclipse CVS client used, the
> source folder remains the base folder, it doesn't scan the subfolders to
> identify correct java source folders.
>
>
> The flexible source structure works when the source exists on local
> machine, already checked out from some CVS using some other client, but
> not when flexible source structure already exists in CVS.
>
> Any ideas? Is this a bug? Is there a workaround?
>
> Thanks,
> Prashant Rane
>
|
|
|
Powered by
FUDForum. Page generated in 0.24072 seconds