Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » In my CVS repository, there is a source directory in the repository root. How can I use this with Ec
In my CVS repository, there is a source directory in the repository root. How can I use this with Ec [message #187140] Wed, 24 November 2004 09:05 Go to next message
Eclipse UserFriend
Originally posted by: ashurweng.263.net

The name of the CVS module is part of the package name of Java files,

i encounter this problem as the one in the eclipse faq.

but i cann't modify the cvs server configer ,then how to handle it?

i have to use ultraedit ?



..............................the following is quoted from eclise faq

For example, if the module you check out is called "test", and it contains
a folder called "code" which contains Java files that claim to be in the
package "test.code", Eclipse will not be able to compile these Java classes.
There are several solutions to this problem:

1.. One solution is to move the top-level package folder ("test" in this
case) to be a subfolder of the CVS module. In this case, create a folder
called "test" in the project "test", and move "code" into it. Then commit
your changes.


2.. Another possible solution is to use modules definitions. Modules can
be defined in the CVSROOT/modules file to include root level projects as
subfolders of the checked out folder stucture. The steps to get this to work
for the above example are:
1.. Add the following two lines to the CVSROOT/modules file
test &test
MyProject &test
2.. In the CVS Repositories View, select the modules with the name
matching the one defined in the CVSROOT/modules file (Note that in Eclipse
2.0.x, you will need to switch to "Show Modules" mode using the drop down
menu in the title bar in order to see the module).
3.. Select "MyProject" and choose "Checkout Module" from the popup menu.
See the CVS documentation for more information on defining modules.


3.. If you are using Eclipse 2.1, you can create a new Java Project and
then perform a "Checkout Into..." on the CVS Module. This operation allows
you to check out a CVS modules into an existing project as a subfolder and
configures that target project to be shared with CVS.
Source folders must always begin beneath the project, not above it. See the
Eclipse Java Development Tools documentation for more information on source
folders.
Re: In my CVS repository, there is a source directory in the repository root. How can I use this wit [message #187155 is a reply to message #187140] Wed, 24 November 2004 09:41 Go to previous message
Eclipse UserFriend
You should try the 3rd option. In 3.0, you need to use Checkout As and
one of the options is to checkout into an exisiting project.

ashur wrote:

> The name of the CVS module is part of the package name of Java files,
>
> i encounter this problem as the one in the eclipse faq.
>
> but i cann't modify the cvs server configer ,then how to handle it?
>
> i have to use ultraedit ?
>
>
>
> .............................the following is quoted from eclise faq
>
> For example, if the module you check out is called "test", and it contains
> a folder called "code" which contains Java files that claim to be in the
> package "test.code", Eclipse will not be able to compile these Java classes.
> There are several solutions to this problem:
>
> 1.. One solution is to move the top-level package folder ("test" in this
> case) to be a subfolder of the CVS module. In this case, create a folder
> called "test" in the project "test", and move "code" into it. Then commit
> your changes.
>
>
> 2.. Another possible solution is to use modules definitions. Modules can
> be defined in the CVSROOT/modules file to include root level projects as
> subfolders of the checked out folder stucture. The steps to get this to work
> for the above example are:
> 1.. Add the following two lines to the CVSROOT/modules file
> test &test
> MyProject &test
> 2.. In the CVS Repositories View, select the modules with the name
> matching the one defined in the CVSROOT/modules file (Note that in Eclipse
> 2.0.x, you will need to switch to "Show Modules" mode using the drop down
> menu in the title bar in order to see the module).
> 3.. Select "MyProject" and choose "Checkout Module" from the popup menu.
> See the CVS documentation for more information on defining modules.
>
>
> 3.. If you are using Eclipse 2.1, you can create a new Java Project and
> then perform a "Checkout Into..." on the CVS Module. This operation allows
> you to check out a CVS modules into an existing project as a subfolder and
> configures that target project to be shared with CVS.
> Source folders must always begin beneath the project, not above it. See the
> Eclipse Java Development Tools documentation for more information on source
> folders.
>
>
>
Previous Topic:Blank wizard page after status change for NewTypeWizardPage
Next Topic:IDOM
Goto Forum:
  


Current Time: Mon May 12 13:16:26 EDT 2025

Powered by FUDForum. Page generated in 0.03668 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top