Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Removing Path Prepend ??
Removing Path Prepend ?? [message #204054] Mon, 09 April 2007 13:49 Go to next message
Eclipse UserFriend
Originally posted by: randallcrenshaw.yahoo.com

Hi,

I'm trying to build a project that was given to me. I'm also new to
Eclipse. I'm not new to Java, but a little rusty.

OK.

So - I got this code and I want to run it. It buids. But I put it into
my projects directory. And it wants to use the entire path down there.

Isn't there some kind of "look, I'm working here so forget the
superfolders" command/dialog?? Because it's turning com.google.haquery
into Developer.source.projects.borrowedCode.Testbed.com.google.ha query.
And that is NOT going into the imports in my source code! :-)

I know this is a newbie stupid question. Ugh. Frustrating...

Thanks!!
Randy
Re: Removing Path Prepend ?? [message #204061 is a reply to message #204054] Mon, 09 April 2007 13:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

You need to defined Testbed as a source folder. Right click on the project
and select Properties. Go to Java Build Path and select the Source tab.
Click Add Folder and browse until Testbed is visible. Select Testbed.


"Randy" <randallcrenshaw@yahoo.com> wrote in message
news:2b5f1278e583b870c4525393ca3efe41$1@www.eclipse.org...
> Hi,
>
> I'm trying to build a project that was given to me. I'm also new to
> Eclipse. I'm not new to Java, but a little rusty.
>
> OK.
>
> So - I got this code and I want to run it. It buids. But I put it into
> my projects directory. And it wants to use the entire path down there.
>
> Isn't there some kind of "look, I'm working here so forget the
> superfolders" command/dialog?? Because it's turning com.google.haquery
> into Developer.source.projects.borrowedCode.Testbed.com.google.ha query.
> And that is NOT going into the imports in my source code! :-)
>
> I know this is a newbie stupid question. Ugh. Frustrating...
>
> Thanks!!
> Randy
>
Re: Removing Path Prepend ?? [message #204068 is a reply to message #204061] Mon, 09 April 2007 14:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: randallcreshaw.yahoo.com

Dave,

Thank you for the clues - I think I'm getting closer, but the steps you
gave didn't match with what Eclipse does (or maybe it's my brain - there's
always that likelihood).

I have all my source in
c:\developer\source\projects\borrowedCode\testbed\...

My Eclipse project is C:\Documents and Settings\snne21ck\eclipse_ws\VLVP

The dialog you mentioned wants to create a new folder when I say "add". I
tried "linking" to source, but that has really fouled up the soup.

Maybe I'm trying to keep things too separated?...

Randy

Dave Wegener wrote:

> You need to defined Testbed as a source folder. Right click on the project
> and select Properties. Go to Java Build Path and select the Source tab.
> Click Add Folder and browse until Testbed is visible. Select Testbed.
>
>> Isn't there some kind of "look, I'm working here so forget the
>> superfolders" command/dialog?? Because it's turning com.google.haquery
>> into Developer.source.projects.borrowedCode.Testbed.com.google.ha query.
>> And that is NOT going into the imports in my source code! :-)
>>
Re: Removing Path Prepend ?? [message #204091 is a reply to message #204068] Mon, 09 April 2007 17:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Based on your initial posting, I had assumed that the testbed directory was
already in your project. Now, I'm not sure what your setup actually is.
There are a number of ways to organize projects in Eclipse. You may want to
take a look at the Project Configuration Tutorial in the help documentation.
You can find it n the Java Development User Guide under the Gettting Started
topic.


"Randy" <randallcreshaw@yahoo.com> wrote in message
news:6d9c6e1010c483facb06b93566580d42$1@www.eclipse.org...
> Dave,
>
> Thank you for the clues - I think I'm getting closer, but the steps you
> gave didn't match with what Eclipse does (or maybe it's my brain - there's
> always that likelihood).
>
> I have all my source in
> c:\developer\source\projects\borrowedCode\testbed\...
>
> My Eclipse project is C:\Documents and Settings\snne21ck\eclipse_ws\VLVP
>
> The dialog you mentioned wants to create a new folder when I say "add". I
> tried "linking" to source, but that has really fouled up the soup.
>
> Maybe I'm trying to keep things too separated?...
>
> Randy
>
> Dave Wegener wrote:
>
> > You need to defined Testbed as a source folder. Right click on the
project
> > and select Properties. Go to Java Build Path and select the Source tab.
> > Click Add Folder and browse until Testbed is visible. Select Testbed.
> >
> >> Isn't there some kind of "look, I'm working here so forget the
> >> superfolders" command/dialog?? Because it's turning com.google.haquery
> >> into Developer.source.projects.borrowedCode.Testbed.com.google.ha query.
> >> And that is NOT going into the imports in my source code! :-)
> >>
>
>
Re: Removing Path Prepend ?? [SOLVED] [message #204377 is a reply to message #204091] Wed, 11 April 2007 20:54 Go to previous message
Eclipse UserFriend
Originally posted by: randallcrenshaw.yahoo.com

I had the same idea: RTFM! :-)

Doing so lead me to create a new project and then Import all the code into
it. Eclipse wants its own copy of the files -- I didn't expect that: too
much Xcode in my head, I guess.

But, now I'm toodling along - wishing the Javadocs were better integrated,
but satisfied with keeping an external browser window open on the 2nd
monitor.

Thanks again!
Randy
Previous Topic:How is eclipse organized? struggling with workspaces/files
Next Topic:Update Manager Hangs
Goto Forum:
  


Current Time: Sat Aug 24 02:20:43 GMT 2024

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

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

Back to the top