Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » standalone sync plugin
standalone sync plugin [message #593578] Fri, 17 October 2008 07:11
Mike Lamb is currently offline Mike LambFriend
Messages: 2
Registered: July 2009
Junior Member
I'd like to write a headless plugin to sync my data model with the
current DB.

For a plugin to work does the eclipse application need to be running or
is there a way to create a standalone plugin that just references some
jar files and does some action?

I would be using these types of classes to traverse the EMF model:

import org.eclipse.wst.rdb.internal.core.definition.DataModelElemen tFactory;
import org.eclipse.wst.rdb.internal.core.definition.DatabaseDefinit ion;
org.eclipse.wst.rdb.internal.models.sql.datatypes.CharacterS tringDataType;
import org.eclipse.wst.rdb.internal.models.sql.datatypes.DataType;
import org.eclipse.wst.rdb.internal.models.sql.schema.Database;
import org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject;
import org.eclipse.wst.rdb.internal.models.sql.schema.Schema;
import org.eclipse.wst.rdb.internal.models.sql.tables.Column;
import org.eclipse.wst.rdb.internal.models.sql.tables.SQLTablesPack age;
import org.eclipse.wst.rdb.internal.models.sql.tables.Table;

Similiar to the traverse plugin mentioned here: -0807liu/

Previous Topic:JPA Catalog Explorer and JPQL Query Builder
Next Topic:Run Procedure object in DB2 Express 9.5
Goto Forum:

Current Time: Sun Nov 29 01:47:07 GMT 2015

Powered by FUDForum. Page generated in 0.10884 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software