Re: Newbiw question: adding EOModel to project
Re: Newbiw question: adding EOModel to project
- Subject: Re: Newbiw question: adding EOModel to project
- From: Chuck Hill <email@hidden>
- Date: Mon, 19 Jan 2004 14:53:32 -0800
- Organization: Global Village Consulting, Inc.
Take a look at
C:\Apple\Library\Frameworks\JavaFoundation.framework
Is there a Resources\Java\javafoundation.jar file there?
Alex Boster wrote:
Thanks for your help Jonathan -- got the EOModel added.
As for the build issue, it's not just that project. I created a new
project, didn't tinker with it, then built it. Got the same errors:
it's somehow no longer finding the basic WO libraries.
Here's the build output:
== Making Test for ==
Pre-build setup...
C:/Apple/Developer/Executables/javatool.exe -javac
C:/J2SDK1~1.2_0/bin/javac.exe -classpath
";C:\Apple\Library\Frameworks\JavaJDBCAdaptor.framework\Resources\Java\j
avajdbcadaptor.jar;C:\Apple\Library\Frameworks\JavaFoundation.framework;
C:\Apple\Library\Frameworks\JavaXML.framework\Resources\Java\javaxml.jar
;C:\Apple\Library\Frameworks\JavaEOControl.framework\Resources\Java\java
eocontrol.jar;C:\Apple\Library\Frameworks\JavaEOAccess.framework\Resourc
es\Java\javaeoaccess.jar;C:\Apple\Library\Frameworks\JavaWOExtensions.fr
amework\Resources\Java\JavaWOExtensions.jar;C:\Apple\Library\Frameworks\
JavaWebObjects.framework\Resources\Java\javawebobjects.jar" +classpath
"C:/Apple/Projects/Test/Test.build/ejb_server_classes" -extdirs
"C:/Apple/Local/Library/WebObjects/Extensions;C:/PROGRA~1/Java/J2RE14~1.
2_0/lib/ext;C:/J2SDK1~1.2_0/jre/lib/ext" -newer -copy -file_map
C:/Apple/Projects/Test/Test.build/derived_src_java/FileMappings.plist
-java_src C:/Apple/Projects/Test/Test.build/derived_src_java -java_obj
C:/Apple/Projects/Test/Test.build/java_classes Application.java
DirectAction.java Session.java Main.java
...in ClientSideJava
...in CommonJava
Building...
...in ClientSideJava
Creating WebServer Resource directory:
C:/Apple/Projects/Test/Test.woa/Contents/WebServerResources
No webserver resources to copy
...in CommonJava
No webserver resources to copy
Creating info file ...
C:/Apple/Developer/Executables/mergeInfo PB.project
C:/Apple/Projects/Test/Test.build/derived_src/Java.plist
CustomInfo.plist -o C:/Apple/Projects/Test/Test.woa/Contents/Info.plist
C:/Apple/Developer/Executables/plistToXML.exe
C:/Apple/Projects/Test/Test.woa/Contents/Info.plist
Creating PkgInfo file ...
C:/Apple/Developer/Executables/javatool.exe -javac
C:/J2SDK1~1.2_0/bin/javac.exe -classpath
;C:\Apple\Library\Frameworks\JavaJDBCAdaptor.framework\Resources\Java\ja
vajdbcadaptor.jar;C:\Apple\Library\Frameworks\JavaFoundation.framework;C
:\Apple\Library\Frameworks\JavaXML.framework\Resources\Java\javaxml.jar;
C:\Apple\Library\Frameworks\JavaEOControl.framework\Resources\Java\javae
ocontrol.jar;C:\Apple\Library\Frameworks\JavaEOAccess.framework\Resource
s\Java\javaeoaccess.jar;C:\Apple\Library\Frameworks\JavaWOExtensions.fra
mework\Resources\Java\JavaWOExtensions.jar;C:\Apple\Library\Frameworks\J
avaWebObjects.framework\Resources\Java\javawebobjects.jar +classpath
C:/Apple/Projects/Test/Test.build/ejb_server_classes -extdirs
C:/Apple/Local/Library/WebObjects/Extensions;C:/PROGRA~1/Java/J2RE14~1.2
_0/lib/ext;C:/J2SDK1~1.2_0/jre/lib/ext -newer -build -java_src
C:/Apple/Projects/Test/Test.build/derived_src_java -java_obj
C:/Apple/Projects/Test/Test.build/java_classes Application.java
DirectAction.java Session.java Main.java
C:\J2SDK1~1.2_0\bin\javac.exe -d
C:\Apple\Projects\Test\Test.build\java_classes -classpath
"C:\Apple\Projects\Test\Test.build\java_classes;C:\Apple\Projects\Test\T
est.build\derived_src_java;C:\Apple\Projects\Test\Test.build\ejb_server_
classes;;C:\Apple\Library\Frameworks\JavaJDBCAdaptor.framework\Resources
\Java\javajdbcadaptor.jar;C:\Apple\Library\Frameworks\JavaFoundation.fra
mework;C:\Apple\Library\Frameworks\JavaXML.framework\Resources\Java\java
xml.jar;C:\Apple\Library\Frameworks\JavaEOControl.framework\Resources\Ja
va\javaeocontrol.jar;C:\Apple\Library\Frameworks\JavaEOAccess.framework\
Resources\Java\javaeoaccess.jar;C:\Apple\Library\Frameworks\JavaWOExtens
ions.framework\Resources\Java\JavaWOExtensions.jar;C:\Apple\Library\Fram
eworks\JavaWebObjects.framework\Resources\Java\javawebobjects.jar"
-extdirs
"C:\Apple\Local\Library\WebObjects\Extensions;C:\PROGRA~1\Java\J2RE14~1.
2_0\lib\ext;C:\J2SDK1~1.2_0\jre\lib\ext" Application.java
Application.java:3: package com.webobjects.foundation does not exist
import com.webobjects.foundation.*;
^
Application.java:7: cannot access
com.webobjects.foundation.NSKeyValueCoding
file com\webobjects\foundation\NSKeyValueCoding.class not found
public class Application extends WOApplication {
^
Application.java:15: cannot resolve symbol
symbol : variable this
location: class Application
NSLog.out.appendln("Welcome to " + this.name() + " !");
^
Application.java:15: package NSLog does not exist
NSLog.out.appendln("Welcome to " + this.name() + " !");
^
4 errors
javatool exit: C:\J2SDK1~1.2_0\bin\javac.exe failed, exiting
BuildFilter: inferior command exited with code 1
make: *** [build-java-classes-server] Error 1
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
It is a funny thing about life; if you refuse to accept
anything but the best, you very often get it."
-- W. Somerset Maugham
<shamelessPlug>
Practical WebObjects
http://www.amazon.com/exec/obidos/tg/detail/-/1590592964
</shamelessPlug>
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.