« Return to Thread: Resolving bindings with ASTParser in JDT with SVNKit
Greg Gibeling-2 wrote:I've done similar things with the Java 6 java.tools compiler
interface (and many many like it) which I would assume is similar to the JDT
ASTParser, which I haven't used like this. My guess would be that you can
probably fake something out, but you may end up creating a series of classes
to represent a virtual file system in memory. That's basically what I did,
though I was generating the source on the fly rather than pulling it SVNKit.
-Greg
> -----Original Message-----
> From: alexloh [mailto:alexloh80@gmail.com]
> Sent: Monday, June 08, 2009 6:32 PM
> To: svnkit-users@svnkit.com
> Subject: Resolving bindings with ASTParser in JDT with SVNKit
>
>
> I am using Eclipse JDT's ASTParser to parse source files retrieved by
> SVNKit.
> What I do is to checkout the file of interest (typically I go to each
> revision and check out the changed files) and parse them. However,
> ASTParser
> requires the rest of the project to resolve name bindings to external
> classes and methods. One way I can do this is to check out the whole
> project
> to provide the binding but it seems an overkill because I am only
> interested
> in only one or two files. Also I currently checkout each file and store
> it
> as a string to parse, checking out the whole project means creating the
> whole directory structure in some temp location, etc.
>
> Anyone has experience doing this or knows of a better way?
>
> --
> View this message in context: http://www.nabble.com/Resolving-bindings-
> with-ASTParser-in-JDT-with-SVNKit-tp23934976p23934976.html
> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svnkit-users-unsubscribe@svnkit.com
> For additional commands, e-mail: svnkit-users-help@svnkit.com
---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@svnkit.com
For additional commands, e-mail: svnkit-users-help@svnkit.com
« Return to Thread: Resolving bindings with ASTParser in JDT with SVNKit
| Free embeddable forum powered by Nabble | Forum Help |