why no compiler hyperlinks in the output tab?

I restructured my code and spent some time building

with the command line ant. Now, when I mount the new directory in

the NetBeans 3.3.2 IDE and compile there, I find that I still see compiler error messages,

but there are no hyperlinks to the source. Or, if their are, they open

a different window that the one I original had open (from a "mount as new filesystem"

sub-root).

I assume this has something to do with mount points (since surely

the ant stuff is compatible with the IDE?), but can't figure it out

unless it's the CVS thing.

I've never had any luck with the CVS wizard's "Select Relative Mount Point" --

it will never let me select any directory below the 2nd level, so there's no

way I can select the equivalent of "\nb\nb-all\myApp\src\."

So I've been trying to mount the latter with the "Mount as new Filesystem"

Is that what's wrong and if so, how do I get around it?

Thanks,

Roxie

[1019 byte] By [Rochat,Roxie] at [2007-11-25 16:50:24]
# 1

Roxie Rochat wrote:

> I restructured my code and spent some time building

> with the command line ant. Now, when I mount the new directory in

> the NetBeans 3.3.2 IDE and compile there, I find that I still see compiler error messages,

> but there are no hyperlinks to the source. Or, if their are, they open

> a different window that the one I original had open (from a "mount as new filesystem"

> sub-root).

>

> I assume this has something to do with mount points (since surely

> the ant stuff is compatible with the IDE?), but can't figure it out

> unless it's the CVS thing.

Don't know offhand. Would need more information to help.

> I've never had any luck with the CVS wizard's "Select Relative Mount Point" --

> it will never let me select any directory below the 2nd level,

?

> so there's no

> way I can select the equivalent of "\nb\nb-all\myApp\src\."

> So I've been trying to mount the latter with the "Mount as new Filesystem"

That should be fine. At least I also prefer to use this "experimental"

module instead of CVS relative mount points; it is much more convenient.

-Jesse

--

Jesse Glick <mailto:jesse.glick@sun.com> x22801

NetBeans, Open APIs <http://www.netbeans.org/>

Glick,Jesse at 2007-7-2 23:48:11 > top of Java-index,Archived Forums,Sun ONE Studio 4...
# 2

Alright, thank you. I like the "Mount as new Filesystem" also and

am glad to know that isn't the problem here.

Ok, here's a more detailed scenario, using generic directory names.

I do a "Mount / Version Control / CVS" for d:\a.

I try to use the CVS wizard to select a relative mount point of

d:\a\b1\c1, but it will only select directories one level down: a\b1, a\b2, a\b3, etc.

I can expand b1 to see a\b1\c1, but it won't let me select this 3rd level directory.

Ok, fine.

I finish the CVS mount wizard, expand the tree in the Navigator, and do the

"Mount as new Filesystem" for the "root" of my com tree,

which turns out to be 5 levels deep: a\b1\c1\d1\e1.

I open a Java file in the source editor (a\b1\c1\d1\e1\com\etc\MyFile.java)

and compile it.

The one I just tried produced error hyperlinks, but when I clicked on one,

it opened another copy of MyFile.java in the source editor. This shouldn't

happen! Sometimes I've seen it just produce the output with no

hyperlinks at all.

So my restructuring has left behind some artifact that is confusing the system,

but I can't figure out what it is. I've deleted all .nbattrs, the parser database

files, a root1.shadow (or something like that that was pointing at my old

directory root), the windows subdirectory from my project, and several

other things I can't think of right now. I've started the IDE with a new user

directory and tried this all again.

I guess it's time to move to 3.4 anyway, but I thought there was

probably something here that had a good lesson for me to learn before

I gave up completely.

Thanks for any other insights you can offer.

Roxie

At 09:21 PM 7/31/2002, you wrote:

>Roxie Rochat wrote:

>>I restructured my code and spent some time building

>>with the command line ant. Now, when I mount the new directory in

>>the NetBeans 3.3.2 IDE and compile there, I find that I still see compiler error messages,

>>but there are no hyperlinks to the source. Or, if their are, they open

>>a different window that the one I original had open (from a "mount as new filesystem" sub-root).

>>I assume this has something to do with mount points (since surely

>>the ant stuff is compatible with the IDE?), but can't figure it out

>>unless it's the CVS thing.

>

>Don't know offhand. Would need more information to help.

>

>>I've never had any luck with the CVS wizard's "Select Relative Mount Point" --

>>it will never let me select any directory below the 2nd level,

>

>?

>

>>so there's no

>>way I can select the equivalent of "\nb\nb-all\myApp\src\."

>>So I've been trying to mount the latter with the "Mount as new Filesystem"

>

>That should be fine. At least I also prefer to use this "experimental" module instead of CVS relative mount points; it is much more convenient.

Rochat,Roxie at 2007-7-2 23:48:11 > top of Java-index,Archived Forums,Sun ONE Studio 4...
# 3

ps

I finally remembered that I needed to turn off "Use for Execution/Compiler"

for several mount points, and now when I compile my module,

it's back to the behavior where displays compiler errors without the hyperlinks.

I still assume that there's something that was just a little too sticky for its

own good and is causing the identity crises, but I can't figure out where.

Roxie

Rochat,Roxie at 2007-7-2 23:48:11 > top of Java-index,Archived Forums,Sun ONE Studio 4...