Re: Java Cocoa and 3rd Party JARs
Re: Java Cocoa and 3rd Party JARs
- Subject: Re: Java Cocoa and 3rd Party JARs
- From: Matt Warner <email@hidden>
- Date: Sat, 30 Jun 2001 14:01:11 -0700
I've set that variable, but without success. It seems like the
variable has no effect.
Your mention of the expert settings gave me an idea, however. Under
Application Settings->aTarget->Application Settings, in expert mode,
there is an array variable named NSJavaPath which is expandable via a
triangle. Its only content is the name of the application JAR file.
The problem with which I've been dealing seems to be solved by adding
a new child object to NSJavaPath and specifying the name of the
mm.mysql-2.0.4-bin.jar file.
Regards,
Matt
At 8:27 PM +0200 6/30/01, Candide Kemmler wrote:
AFAIK there's a variable in the expert build settings
(targets->aTarget->build settings->expert build settings); the
variable's called JAVA_CLASS_SEARCH_PATHS, and it seems like the
variable is also controlled by the "File and Build
Phases->Frameworks & Libraries" option again in "targets->aTarget".
Hope this helps,
Candide
Le samedi 30 juin 2001, ` 06:49, Matt Warner a icrit :
I'm sure this must have already been asked and answered somewhere,
but I can't seem to find it in the archives or elsewhere on the
net. So, here goes:
I'm working on a "Cocoa-Java Application" type in Project Builder.
The project relies on the mm.mysql JDBC drivers. I have configured
a build script which copies the precompiled JAR file and have
verified that it ends up in the application's
Contents/Resources/Java subdirectory. However, the other examples
where I've seen this done rely on inserting the location of the JAR
file into the MRJApp.properties file, which doesn't seem to exist
in a Cocoa-Java application. Needless to say, when I run the
application, I get a class not found.
So where do I specify the classpath for the application?
TIA,
Matt Warner
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev