|
Hi Frank, in my case that won´t work, as I want to build a RCP Eclipse Plugin. So instead of accessing the jars from the WebObjects Installation, everything is copied and included in my project. Meanwhile I could track down the problem to one certain point when NSBundle´s classloader calls getResources("/Resources/Info.plist"). In my application, this doesn´t return anything. Eclipse uses different classloaders, as I learnt now (see e.g. http://www.eclipsezone.com/articles/eclipse-vms/), so maybe this causes the whole trouble. Haven´t found out how to resolve it yet, though. Anyway, seems to be rather an RCP problem than WebObjects. Georg Hi, some years ago I coded a commandline java-program for EOF on win, I used this simple cmd to start it:java -classpath "D:\j2sdk1.4.0_01\jre\lib\ext\msutil.jar;D:\j2sdk1.4.0_01\jre\lib\ext\mssqlserver.jar;D:\j2sdk1.4.0_01\jre\lib\ext\msbase.jar;d:\apple\Library\Frameworks\JavaWebObjects.framework\Resources\Java\javawebobjects.jar;d:\apple\Library\Frameworks\JavaEOControl.framework\Resources\Java\javaeocontrol.jar;d:\apple\Library\Frameworks\JavaXML.framework\Resources\Java\javaxml.jar;;d:\apple\Library\Frameworks\JavaEOAccess.framework\Resources\Java\javaeoaccess.jar;d:\apple\Library\Frameworks\JavaWOExtensions.framework\Resources\Java\JavaWOExtensions.jar;.\JavaJDBCAdaptor.framework\Resources\Java\javajdbcadaptor.jar;d:\apple\Library\Frameworks\JavaFoundation.framework\Resources\Java\javafoundation.jar;." MyJavaProgram - the eof ".eomodeld"-folder was located in the current directory (I guess that's your point here...) - I also copied the "JavaJDBCAdaptor.framework"-folder to the current folder (I think this is not neccesary) - msutil.jar, mssqlserver.jar and msbase.jar are (old) sql-server jdbc driver jars, put your necessary jars in the classpath HTH Frank-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] pple.com]O n Behalf Of Georg von Bülow Sent: Wednesday, October 17, 2007 4:30 PM To: Ray Kiddy Cc: WebObjects (Group) Subject: Re: pure EOF in RCP Hi Ray and Florijan, thank you for your help, but I still couldn´t get it work. I tried to include the entire Frameworks in the classpath of my RCP app, not only the jars. Like this I maintain the directory structure /Resources/Java etc, but the error remains the same. So at runtime RCP finds WebObject classes, but NSBundle still doesn´t have a MainBundle. Not sure what is missing to set up Main Bundle correctly or where I should put the Frameworks, will keep on trying. Georg -- \o/ Georg von Bülow, Moleque de Idéias Educação e Tecnologia Ltda | Phone: 55-21-2710-0178 E-mail: [EMAIL PROTECTED] / \ http://www.moleque.com.br Niterói - Rio de Janeiro - Brasil |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
