From: Lew on
John B. Matthews wrote:
>> There's a lot of possibilities:
>>
>> NetBeans' Options> Miscellaneous> Ant
>> Tools> Libraries
>> java.ext.dirs
>> nbproject/project.properties
>> ~/.netbeans/6.8/var/cache

Tim Slattery wrote:
> Thanks, but...
>
> Options|Miscellaneous|Ant
>
> No "Tools" or "Libraries". There's an "Ant Home:" box, large boxes for

John listed five separate possibilities. In NB 6.8 the "Tools" menu pad is
not within the "Ant" menu. I assure you there is a "Tools" menu pad in NB.
Right there in plain sight, two positions to the left of the "Help" menu pad
on the far right. See it?

> "Classpath" (empty) and Properties (build.compiler.emacs=true). three
> checkboxes and buttons to add/remove/rearrange things in the Classpath
> box.
>
> The "Ant Home" box points to the "ant" subdirectory within Netbeans.

Try looking where John suggested.

For reference, "java.ext.dirs" is set externally with a "-D" command. The
"nbproject/project.properties" file is in your project subdirectory. The
"cache" subdirectory is literally at the location John mentioned.

--
Lew
From: John B. Matthews on
In article <hup3ub$d3l$1(a)news.albasani.net>, Lew <noone(a)lewscanon.com>
wrote:

> John B. Matthews wrote:
> >> There's a lot of possibilities:
> >>
> >> NetBeans' Options > Miscellaneous > Ant
> >> Tools > Libraries
> >> java.ext.dirs
> >> nbproject/project.properties
> >> ~/.netbeans/6.8/var/cache
>
> Tim Slattery wrote:
> > Thanks, but...
> >
> > Options|Miscellaneous|Ant
> >
> > No "Tools" or "Libraries". There's an "Ant Home:" box, large boxes for
>
> John listed five separate possibilities.

Lew: Thank you for clarifying that.

> In NB 6.8 the "Tools" menu pad is not within the "Ant" menu. I
> assure you there is a "Tools" menu pad in NB. Right there in plain
> sight, two positions to the left of the "Help" menu pad on the far
> right. See it?

Tim: You're looking for "bea10". The same information in the Tools >
Libraries menu is found in ~/.netbeans/6.8/build.properties (or the
Windows equivalent).

> > "Classpath" (empty) and Properties (build.compiler.emacs=true).
> > three checkboxes and buttons to add/remove/rearrange things in the
> > Classpath box.
> >
> > The "Ant Home" box points to the "ant" subdirectory within
> > Netbeans.

Tim: No "bea10"?

> Try looking where John suggested.
>
> For reference, "java.ext.dirs" is set externally with a "-D" command.

Lew: Good point. I usually search the directories found in the
corresponding system property, but those can change.

<http://java.sun.com/javase/6/docs/api/java/lang/System.html#getProperties()>

> The "nbproject/project.properties" file is in your project
> subdirectory. The "cache" subdirectory is literally at the location
> John mentioned.

Tim: Deleting the entire cache seems harmless on my platform, but I
don't know about Windows.

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>