Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » options not honored on cvs checkout
options not honored on cvs checkout [message #143570] Thu, 19 February 2004 15:54 Go to next message
Eclipse UserFriend
hello.
i'm using 3.0-M7 on linux+gtk. some background:

i have a CVS project laid out as follows:
myproject/src/com/foobar/my/package/source.java

in Windows->Preferences->Java->New Project i have selected:
Folders
Source folder name: src
Output folder name: bin

with this setup i'm having 2 issues:
=======================================================
1. when i check out myproject for cvs, i go to the java perspective and
have a hierarchy that looks like:
myproject
src.com.foobar.my.package

rather than:
myproject
src
com.foobar.my.package

if i right click on myproject, choose Properties->Java Build Path and look
at the Source tab, i see that indeed myproject/src is listed. that's good.
i click OK and magically, the hierarchy changes to the expected:
myproject
src
com.foobar.my.package

shouldn't this be automatic?
===========================================================

2. myproject depends on 2 projects, projdep1 and projdep2 (i've verified
that these are listed in myproject's .project file). i have projdep1 and
projdep2 in my workspace, compiled and ready to go. then i do a CVS
checkout of myproject, and switch to the java perspective, right click
myproject and look at Properties->Java Build Path->Projects. both projdep1
and projdep2 are listed, but neither is selected as "Required projects on
the build path".

shouldn't this be automatic?
============================================================

should i file bugs on either of these two issues? are they known problems?

thanks.
nall.
Re: options not honored on cvs checkout [message #143604 is a reply to message #143570] Thu, 19 February 2004 16:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

You need to check in the .project and .classpath into CVS. Those files
together contain the necessary information for the paths to be
reconstructed correctly on checkout.

--
Thanks, Rich Kulp

Re: options not honored on cvs checkout [message #143623 is a reply to message #143604] Thu, 19 February 2004 17:05 Go to previous messageGo to next message
Eclipse UserFriend
On Thu, 19 Feb 2004 16:37:33 -0500, Rich Kulp wrote:

> You need to check in the .project and .classpath into CVS. Those files
> together contain the necessary information for the paths to be
> reconstructed correctly on checkout.

hi rich.
thanks for the response. both files are already in CVS. i've pasted their
contents below. any ideas?

thanks.
nall.

..project
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>myproject</name>
<comment></comment>
<projects>
<project>projdep1</project>
<project>projdep2</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

=======================================================

..classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/projdep1"/>
<classpathentry kind="src" path="/projdep2"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Re: options not honored on cvs checkout [message #143662 is a reply to message #143623] Thu, 19 February 2004 19:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

When you checked it out, did you use Check Out As... or just Check out.
If you used Check Out As... it could screw up you settings.

Look at the .classpath and .project files in your workspace AFTER you
checked them out. Do they look the same as what was in CVS.

The files that you said were from CVS look OK.

--
Thanks, Rich Kulp

Re: options not honored on cvs checkout [message #143664 is a reply to message #143662] Thu, 19 February 2004 19:23 Go to previous messageGo to next message
Eclipse UserFriend
On Thu, 19 Feb 2004 19:18:07 -0500, Rich Kulp wrote:

> When you checked it out, did you use Check Out As... or just Check out.
> If you used Check Out As... it could screw up you settings.
>
> Look at the .classpath and .project files in your workspace AFTER you
> checked them out. Do they look the same as what was in CVS.
>
> The files that you said were from CVS look OK.

hi rich,
i used "Check out" not "Check Out As..." and the files in the previous
post were copied from my workspace after the check out.

i can debug this further with a little help of what to do.
Re: options not honored on cvs checkout [message #143985 is a reply to message #143664] Fri, 20 February 2004 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

One last thought, and then I don't know where to turn from there, open
Windows->Preferences->Workbench. Is build on resource modifications
turned on? I'm thinking maybe it is not building and so not yet seeing
the changes to these files.

If not that, I'm stumped.


--
Thanks, Rich Kulp

Re: options not honored on cvs checkout [message #144001 is a reply to message #143985] Fri, 20 February 2004 09:47 Go to previous messageGo to next message
Eclipse UserFriend
On Fri, 20 Feb 2004 09:42:22 -0500, Rich Kulp wrote:

> One last thought, and then I don't know where to turn from there, open
> Windows->Preferences->Workbench. Is build on resource modifications
> turned on? I'm thinking maybe it is not building and so not yet seeing
> the changes to these files.
>
> If not that, I'm stumped.

rich,
that option was not turned on. however, i turned it on and the behavior
didn't change.

i'm not sure what to do either, i suppose i'll file a bug for each issue.
thanks for your help.

nall.
Re: options not honored on cvs checkout [message #144010 is a reply to message #143985] Fri, 20 February 2004 09:56 Go to previous messageGo to next message
Eclipse UserFriend
On Fri, 20 Feb 2004 09:42:22 -0500, Rich Kulp wrote:

> One last thought, and then I don't know where to turn from there, open
> Windows->Preferences->Workbench. Is build on resource modifications
> turned on? I'm thinking maybe it is not building and so not yet seeing
> the changes to these files.

should i file these as JDT or platform issues?
Re: options not honored on cvs checkout [message #144028 is a reply to message #144010] Fri, 20 February 2004 10:36 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

It sounds more jdt.

--
Thanks, Rich Kulp

Previous Topic:accessibility: selecting text using keyboard
Next Topic:Overriding CTRL-SHIFT-B key binding
Goto Forum:
  


Current Time: Mon Jun 09 08:49:54 EDT 2025

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

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

Back to the top