In IEOSQLGeneratorFactory.java I made this

Object o = configurationElement.createExecutableExtension("class");
System.out.println("object class : " + o.getClass().getName());
IEOClassLoaderFactory classLoaderFactory = (IEOClassLoaderFactory) o;

And got this output

object class : 
org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory

The returned class is neither EOFSQLGeneratorFactory nor IEOSQLGeneratorFactory
                                
> Em 07/05/2015, à(s) 12:33, Samuel Pelletier <[email protected]> escreveu:
> 
> I also get the same error. I modified a plugin.xml file that seemed incorrect 
> and now I have this one:
> 
> java.lang.ClassCastException: 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be 
> cast to org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory
>       at 
> org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory$Utility.sqlGeneratorFactory(IEOSQLGeneratorFactory.java:29)
>       at 
> org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:297)
>       at 
> org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateSQLDialog.java:279)
>       at java.lang.Thread.run(Thread.java:745)
> 
> I do not understand how it is possible; EOFSQLGeneratorFactory implements 
> IEOSQLGeneratorFactory !
> 
> public class EOFSQLGeneratorFactory implements IEOSQLGeneratorFactory {
> ...
> }
> 

Ângelo Andrade Cirino
[email protected]

"O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o 
mundo a ele. Todo o progresso depende, portanto, do homem insensato"
Sir George Benard Shaw

"The reasonable man adapts himself to the world: the unreasonable one persists 
in trying to adapt the world to himself. Therefore all progress depends on the 
unreasonable man."
Sir George Benard Shaw


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to