RE: Newbie question: adding EOModel to project
RE: Newbie question: adding EOModel to project
- Subject: RE: Newbie question: adding EOModel to project
- From: "Alex Boster" <email@hidden>
- Date: Tue, 20 Jan 2004 09:54:41 -0800
> Take a look at C:\Apple\Library\Frameworks\JavaFoundation.framework
> Is there a Resources\Java\javafoundation.jar file there?
Not exactly. There is one in WebServerResources\Java.
Now I just wonder how it went missing.
Alex
> > 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\Resour
> ces\Java\j
> >
> avajdbcadaptor.jar;C:\Apple\Library\Frameworks\JavaFoundation.
> framework;
> >
> C:\Apple\Library\Frameworks\JavaXML.framework\Resources\Java\j
> avaxml.jar
> >
> ;C:\Apple\Library\Frameworks\JavaEOControl.framework\Resources
> \Java\java
> >
> eocontrol.jar;C:\Apple\Library\Frameworks\JavaEOAccess.framewo
> rk\Resourc
> >
> es\Java\javaeoaccess.jar;C:\Apple\Library\Frameworks\JavaWOExt
> ensions.fr
> >
> amework\Resources\Java\JavaWOExtensions.jar;C:\Apple\Library\F
> rameworks\
> > 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\Resourc
> es\Java\ja
> >
> vajdbcadaptor.jar;C:\Apple\Library\Frameworks\JavaFoundation.f
> ramework;C
> >
> :\Apple\Library\Frameworks\JavaXML.framework\Resources\Java\ja
> vaxml.jar;
> >
> C:\Apple\Library\Frameworks\JavaEOControl.framework\Resources\
> Java\javae
> >
> ocontrol.jar;C:\Apple\Library\Frameworks\JavaEOAccess.framewor
> k\Resource
> >
> s\Java\javaeoaccess.jar;C:\Apple\Library\Frameworks\JavaWOExte
> nsions.fra
> >
> mework\Resources\Java\JavaWOExtensions.jar;C:\Apple\Library\Fr
> ameworks\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\Proje
> cts\Test\T
> >
> est.build\derived_src_java;C:\Apple\Projects\Test\Test.build\e
> jb_server_
> >
> classes;;C:\Apple\Library\Frameworks\JavaJDBCAdaptor.framework
> \Resources
> >
> \Java\javajdbcadaptor.jar;C:\Apple\Library\Frameworks\JavaFoun
> dation.fra
> >
> mework;C:\Apple\Library\Frameworks\JavaXML.framework\Resources
> \Java\java
> >
> xml.jar;C:\Apple\Library\Frameworks\JavaEOControl.framework\Re
> sources\Ja
> >
> va\javaeocontrol.jar;C:\Apple\Library\Frameworks\JavaEOAccess.
> framework\
> >
> Resources\Java\javaeoaccess.jar;C:\Apple\Library\Frameworks\Ja
> vaWOExtens
> >
> ions.framework\Resources\Java\JavaWOExtensions.jar;C:\Apple\Li
> brary\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/we> bobjects-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.