Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] Can one use the org.eclipse.jdt.core classes outside Eclipse?.

JDT/Core needs underlying resources contributed by the platform core
plug-ins. So the quick answer would be no.
The batch compiler can be used in a stand-alone way, and the code formatter
too.



                                                                                                                                    
                      roman@xxxxxxxxxxxx                                                                                            
                      (Roman Salvador)            To:      jdt-core-dev@xxxxxxxxxxx                                                 
                      Sent by:                    cc:                                                                               
                      jdt-core-dev-admin@         Subject: [jdt-core-dev] Can one use the org.eclipse.jdt.core classes outside      
                      eclipse.org                 Eclipse?.                                                                         
                                                                                                                                    
                                                                                                                                    
                      05/02/2002 10:11 PM                                                                                           
                      Please respond to                                                                                             
                      jdt-core-dev                                                                                                  
                                                                                                                                    
                                                                                                                                    



One can use the SWT classes outside eclipse by just having the right
Eclipse .jar files in the classpath.

Is the same possible with the org.eclipse.jdt.core classes?. I.e.
can one do something like:

IPath path_to_java_file = ...
ICompilationUnit compilation_unit = JavaCore.createCompilationUnitFrom
(path_to_java_file);

and/or

IPath path_to_class_file = ...
IClassFile class_file = JavaCore.createClassFileFrom
(path_to_class_file);

outside Eclipse?.

Thanks for any info or pointers.

Roman

_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev






Back to the top