| SQL parser standalone? [message #11392] | 
Fri, 21 April 2006 12:22   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Greetings- 
 
I've scanned through the project pages for the SQL parser, and haven't  
been able to find an answer... but is the DTP SQL parser something that  
can be included in a non-Eclipse application? 
 
I to created a simple app to experiment with it, and it seems to handle  
the simple "select * from table" statements, but with anything  
semi-complicated, I ran into needing some classes from the Eclipse core  
runtime.  Am I trying to do something this isn't designed for? 
 
Thanks 
-Michael
 |  
 |  
  | 
| Re: SQL parser standalone? [message #11506 is a reply to message #11392] | 
Mon, 24 April 2006 21:02   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Michael, 
 
We haven't tried to run this version of the parser in stand-alone mode.   
However, it should be do-able, since the SQL parser has few dependencies  
on other plugins.  You will need the EMF org.eclipse.emf.ecore plugin,  
since the parser actions generate an EMF model, but EMF itself can run  
outside Eclipse.  The Eclipse runtime dependency probably come from our  
dynamic parser registration, lookup, and load mechanism.  Your app  
probably wouldn't need that, so you could try removing that code and see  
if the dependency goes away. 
 
Brian 
SQL Tools Development, IBM 
 
Michael McMaster wrote: 
> Greetings- 
> 
> I've scanned through the project pages for the SQL parser, and haven't  
> been able to find an answer... but is the DTP SQL parser something  
> that can be included in a non-Eclipse application? 
> 
> I to created a simple app to experiment with it, and it seems to  
> handle the simple "select * from table" statements, but with anything  
> semi-complicated, I ran into needing some classes from the Eclipse  
> core runtime.  Am I trying to do something this isn't designed for? 
> 
> Thanks 
> -Michael 
>
 |  
 |  
  | 
| Re: SQL parser standalone? [message #573032 is a reply to message #11392] | 
Mon, 24 April 2006 21:02   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Michael, 
 
We haven't tried to run this version of the parser in stand-alone mode.   
However, it should be do-able, since the SQL parser has few dependencies  
on other plugins.  You will need the EMF org.eclipse.emf.ecore plugin,  
since the parser actions generate an EMF model, but EMF itself can run  
outside Eclipse.  The Eclipse runtime dependency probably come from our  
dynamic parser registration, lookup, and load mechanism.  Your app  
probably wouldn't need that, so you could try removing that code and see  
if the dependency goes away. 
 
Brian 
SQL Tools Development, IBM 
 
Michael McMaster wrote: 
> Greetings- 
> 
> I've scanned through the project pages for the SQL parser, and haven't  
> been able to find an answer... but is the DTP SQL parser something  
> that can be included in a non-Eclipse application? 
> 
> I to created a simple app to experiment with it, and it seems to  
> handle the simple "select * from table" statements, but with anything  
> semi-complicated, I ran into needing some classes from the Eclipse  
> core runtime.  Am I trying to do something this isn't designed for? 
> 
> Thanks 
> -Michael 
>
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.51107 seconds