Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Programmatically import java sources to a java Project
Programmatically import java sources to a java Project [message #106027] Thu, 16 October 2003 06:45
Eclipse UserFriend
Originally posted by: ajing.sg.systemaccess.com

Hi,
Newbie question...

Im creating a plugin wherein it will call my java code generator using
XSL. It has its own source directory wherein it will dump all the
generated java sources. (the code generator generates a minimum of 3 java
source files in different packages but the same root package eg.
com.x.y.z, com.x.y, com.r.j, that means it has only one absolute root
directory eg. [d:\com\ and the rest will be a subdirectory of it,
d:\com\x\y etc] which i can pick up and dump to the java project, if
eclipse will permit me =) )

The next step would be to copy all the generated sources (with the
packaging intact to the Eclipse java project) Is this possible? Just like
the manual
existing: Source Folder (right click) --> import --> File System (choose
files) --> Finish and voila! new java sources. Is there any apis or
packages that can do this programmatically?


Thanks in advance...
Previous Topic:Problems with templates in M4
Next Topic:Change Java Code Formatter
Goto Forum:
  


Current Time: Sun Jun 08 08:13:58 EDT 2025

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

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

Back to the top