Ok, I'll give that a try.  We have a lot of other stuff in our project setup 
besides the Topbraid stuff.  Should a project import be able to pick everything 
up?  E.g. we have a lot of links to external folders setup in our project.

> -----Original Message-----
> From: [email protected] [mailto:topbraid-
> [email protected]] On Behalf Of Scott Henninger
> Sent: Friday, April 16, 2010 11:13 AM
> To: TopBraid Suite Users
> Subject: [topbraid-users] Re: Named graphs in SDB
> 
> Creating a new workspace will update the library without needing
> Internet access.  Use File > Switch Workspace to create a new
> workspace.  This will create a current library named "TopBraid" as the
> only project.  You can then use Import... > General > Existing
> Projects into workspace to move your files into the new workspace.
> 
> Much of Composer/Live is model-driven.  This means that having a
> library that is current with the version of Composer is critical to
> proper operation of all TBS products.  The library files are installed
> by default into a project named "TopBraid".  The ways to make sure the
> library is synchronized with the TBS version is to either perform an
> Import... > Refresh library... or a clean workspace as stated above.
> 
> -- Scott
> 
> On Apr 16, 11:01 am, "Schmitz, Jeffrey A"
> <[email protected]> wrote:
> > Due to firewall issues, I've never been able to use commands that
> access the internet from Eclipse.  I always download the entire TBCME
> app as a whole and just use that to open my existing workspace.  Is
> there another way to Refresh the libraries?
> >
> > Btw, I'm not sure what you mean when you say "Choose your library
> file"?  What specifically is my library file?
> >
> > > -----Original Message-----
> > > From: [email protected] [mailto:topbraid-
> > > [email protected]] On Behalf Of Scott Henninger
> > > Sent: Friday, April 16, 2010 8:54 AM
> > > To: TopBraid Suite Users
> > > Subject: [topbraid-users] Re: Named graphs in SDB
> >
> > > OK, some progress.  Yes the space is a type.  And I meant SDB, not
> > > Sesame.
> >
> > > If you are using 3.3.0, then it appears you have not refreshed your
> > > library.  This could be an issue and is why you see kennedys.owl,
> as
> > > the 3.3.0 library changed the name of this file to kennedys.rdf.
> > > Choose your library file and select Import... > Refresh TopBraid
> RDF/
> > > OWL Library form the Web.
> >
> > > In step 2, I'm creating a new SDB repository that happens to have
> the
> > > kennedys model in it.  You can do the same with some other file or
> a
> > > new model.  The step in 2b doesn't use the default one because it
> > > would create a base URI conflict.  Using the kennedys example, the
> > > base URI for kennedys.rdf ishttp://topbraid.org/examples/kennedys.
> > > If I then export to a different file with the wizard's default base
> > > URI, there will be two files with the same base URI,
> > >http://topbraid.org/examples/kennedys.  This can lead to conflicts
> > > when using the base URI to identify a file.
> >
> > > Step 2c, per above is creating a new named graph.  Multiple graphs
> can
> > > be stored in a single MySQL database (aka schema in MySQL
> parlance).
> >
> > > -- Scott
> >
> > > On Apr 16, 8:39 am, "Schmitz, Jeffrey A"
> > > <[email protected]> wrote:
> > > > Hi Scott,
> > > >    A few questions below before we proceed...
> >
> > > > > -----Original Message-----
> > > > > From: [email protected] [mailto:topbraid-
> > > > > [email protected]] On Behalf Of Scott Henninger
> > > > > Sent: Thursday, April 15, 2010 6:14 PM
> > > > > To: TopBraid Suite Users
> > > > > Subject: [topbraid-users] Re: Named graphs in SDB
> >
> > > > > Jeff; Let's try all of this again.  Perhaps a simple test will
> help
> > > us
> > > > > get on the same page.  Then we can figure out what problem you
> are
> > > > > experiencing.  First, make sure your MySQL jar is re-named to
> > > mysql-
> > > > > connector.jar.
> >
> > > > Yes, that's how it's been all along (without the space between
> the
> > > dash and connector, I assume that's a typo).
> >
> > > >  Using 3.3.0, I did the following:
> >
> > > > >  1. Open kennedys.rdf
> >
> > > > I don't see any kennedys.rdf file.  I only see kennedys.owl
> >
> > > > >  2. Export... Export/Merge/Convert
> > > > >    2a. Choose Jena SDB databases as the format, give a file
> name
> > > such
> > > > > as kennedysSDB
> > > > >    2b. specify Target base URI
> >
> > > > I just used the default one, is that ok?
> >
> > > > >    2c. Database type MySQL, Service URL
> jdbc:mysql://<host>[:port]/
> > > > > <dbname>, user name password, choose "overwrite..."
> >
> > > > Is this going to wipe out my existing database?  I'd rather not
> do
> > > that right now.
> >
> > > > >    2d. The SDB field is used to create a named graph in Sesame
> >
> > > > Why sesame?  I'm not using Sesame.  Also, what SDB field?  The
> one
> > > from 2a above?
> >
> > > > >  3. The file kennedysSDB.sdb is created, this can be opened and
> the
> > > > > base URI will be the Target base URI from 2b
> > > > >  4. Create a New Jena SDB connection
> > > > >    4a. The named graph, if specified, will use this value open
> the
> > > > > named graph.  It can be any name - "zz" for example.
> > > > >    4b. The new file's base URI will be as specified in the base
> URI
> > > of
> > > > > the wizard
> > > > >    4c. Do not check "Overwrite in this case
> >
> > > > > From there, what are the variations on this that are causing
> you
> > > > > problems?  The same ought to work for existing Sesame named
> graphs
> > > > > with the caveat that Composer will change the base URI to what
> you
> > > > > specified in the connection wizard.  If you want the named
> graph
> > > and
> > > > > the base URI to be the same, then name the base URI the same as
> the
> > > > > Sesame name in the wizard.
> >
> > > > > -- Scott
> >
> > > > > On Apr 15, 8:17 am, "Schmitz, Jeffrey A"
> > > > > <[email protected]> wrote:
> > > > > > I have it there too.  It's been there all along.
> >
> > > > > > Jeff
> >
> > > > > > > -----Original Message-----
> > > > > > > From: [email protected] [mailto:topbraid-
> > > > > > > [email protected]] On Behalf Of Gokhan Soydan
> > > > > > > Sent: Wednesday, April 14, 2010 1:59 PM
> > > > > > > To: Schmitz, Jeffrey A
> > > > > > > Cc: [email protected]
> > > > > > > Subject: Re: [topbraid-users] Named graphs in SDB
> >
> > > > > > > Jeff,
> >
> > > > > > > Please put mysql connector jar inside the workspace folder
> and
> > > try
> > > > > > > again.
> >
> > > > > > > Gokhan
> >
> > > > > > > On 4/14/2010 8:57 AM, Schmitz, Jeffrey A wrote:
> > > > > > > > Below is the exception info.  I do have mysql-connector-
> java-
> > > > > 5.1.6-
> > > > > > > bin.jar in my project's main folder.  Is there anything
> else I
> > > need
> > > > > to
> > > > > > > do to properly register the mysql connector jar?
> >
> > > > > > > > Jeff
> >
> > > > > > > > WARN [ModalContext] (SDBConnection.java:326) - execQuery:
> > > > > > > SQLExceptionNo operations allowed after connection
> > > > > closed.Connection
> > > > > > > was implicitly closed due to underlying exception/error:
> >
> > > > > > > > java.lang.Exception: Dummy to give stack trace.
> > > > > > > > at
> >
> > >
> org.topbraid.eclipsex.log.PluginLogAppender.append(PluginLogAppender.ja
> > > > > > > va:68)
> > > > > > > > at
> >
> > >
> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
> > > > > > > > at
> >
> > >
> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(A
> > > > > > > ppenderAttachableImpl.java:65)
> > > > > > > > at
> org.apache.log4j.Category.callAppenders(Category.java:203)
> > > > > > > > at org.apache.log4j.Category.forcedLog(Category.java:388)
> > > > > > > > at org.apache.log4j.Category.log(Category.java:853)
> > > > > > > > at
> >
> > > org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:396)
> > > > > > > > at
> >
> > >
> com.hp.hpl.jena.sdb.sql.SDBConnection.exception(SDBConnection.java:326)
> > > > > > > > at
> >
> > >
> com.hp.hpl.jena.sdb.sql.SDBConnection.execQuery(SDBConnection.java:122)
> > > > > > > > at
> >
> > >
> com.hp.hpl.jena.sdb.sql.SDBConnection.execQuery(SDBConnection.java:93)
> > > > > > > > at
> >
> > >
> com.hp.hpl.jena.sdb.graph.PrefixMappingSDB.readFromPrefixMap(PrefixMapp
> > > > > > > ingSDB.java:161)
> > > > > > > > at
> >
> > >
> com.hp.hpl.jena.sdb.graph.PrefixMappingSDB.get(PrefixMappingSDB.java:10
> > > > > > > 4)
> > > > > > > > at
> >
> > >
> com.hp.hpl.jena.sdb.graph.PrefixMappingSDB.set(PrefixMappingSDB.java:82
> > > > > > > )
> > > > > > > > at
> >
> > >
> com.hp.hpl.jena.shared.impl.PrefixMappingImpl.setNsPrefix(PrefixMapping
> > > > > > > Impl.java:58)
> > > > > > > > at
> >
> > >
> org.topbraid.sdb.module.exportToSDB.ExportToSDBModule.setNamespaces(Exp
> > > > > > > ortToSDBModule.java:140)
> > > > > > > > at
> >
> > >
> org.topbraid.sdb.module.exportToSDB.ExportToSDBModule.execute(ExportToS
> > > > > > > DBModule.java:84)
> > > > > > > > at
> >
> > >
> org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.execute(Execution
> > > > > > > Engine.java:206)
> > > > > > > > at
> >
> > >
> org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.executeModule(Exe
> > > > > > > cutionEngine.java:180)
> > > > > > > > at
> >
> > >
> org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.execute(Execution
> > > > > > > Engine.java:149)
> > > > > > > > at
> >
> > >
> org.topbraidcomposer.sdb.wizards.SDBUtil.performFinish(SDBUtil.java:55)
> > > > > > > > at
> >
> > >
> org.topbraidcomposer.sdb.wizards.create.SDBCreateWizard$1.run(SDBCreate
> > > > > > > Wizard.java:65)
> > > > > > > > at
> >
> > >
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalCo
> > > > > > > ntext.java:121)
> >
> > > > > > > >> -----Original Message-----
> > > > > > > >> From: Gokhan Soydan [mailto:[email protected]]
> > > > > > > >> Sent: Monday, April 12, 2010 2:02 PM
> > > > > > > >> To: [email protected]
> > > > > > > >> Cc: Schmitz, Jeffrey A
> > > > > > > >> Subject: Re: [topbraid-users] Named graphs in SDB
> >
> > > > > > > >> Jeff,
> >
> > > > > > > >> Please make sure "Overwrite existing database
> > > content/Initialize
> > > > > > > >> tables"
> > > > > > > >> button is checked. This button is used to both reset or
> > > > > initialize
> > > > > > > your
> > > > > > > >> database.
> >
> > > > > > > >> Gokhan
> >
> > > > > > > >> On 4/12/2010 7:43 AM, Schmitz, Jeffrey A wrote:
> >
> > > > > > > >>> Hmmm, there must be something I'm just not getting.
>  I've
> > > tried
> >
> > > > > > > >> starting from scratch.  I know I've got a named graph in
> my
> > > SDB
> > > > > > > >> database with a URI of:
> >
> > > > > > >
> >>>http://www.boeing.com/IVHM/Golden_StandardNeutralInst.owl
> >
> > > > > > > >>> Here is what I'm putting in the Create Jena SDB
> Database
> > > > > dialogue:
> >
> > > > > > > >>> File name: Golden_StandardSDB
> > > > > > > >>> Base
> > > > > URI:http://www.boeing.com/IVHM/Golden_StandardNeutralInst.owl
> > > > > > > >>> SDB Named Graph URI:
> >
> > > > > > > >>http://www.boeing.com/IVHM/Golden_StandardNeutralInst.owl
> >
> > > > > > > >>> Database type: MySQL
> > > > > > > >>> Service URL: jdbc:mysql://localhost:3306/ivhm
> > > > > > > >>> User name:<database username>
> > > > > > > >>> Password:<database password>
> > > > > > > >>> Overwrite existing database content/Initialize tables
> is
> > > NOT
> > > > > > > checked
> >
> > > > > > > >>> Right now, when I hit Finish I'm getting the following
> > > error (I
> > > > > > > don't
> >
> > > > > > > >> think I've seen this before, but am stuck nonetheless):
> >
> > > > > > > >>> Operation failed
> >
> > ...
> >
> > read more »
> 
> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid
> Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to