Summary: | Export java project into a jar via headless operation | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dave Spriet <spriet> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | VERIFIED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | lcolby, Olivier_Thomann, spriet |
Version: | 3.2 | ||
Target Milestone: | 3.6 M1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Dave Spriet
2007-03-26 20:18:12 EDT
You might want to see if the new API org.eclipse.jdt.core.JavaCore#getGeneratedResources(IRegion, boolean) meets your needs. Note that Dave was asking for an API in Eclipse 3.2. So to answer your question Dave, there is no such API in 3.2. As Olivier said, we introduced a new API in the 3.3 stream that would help you. Can you switch to 3.3 M6 ? If you can't then you might want to get the project output folders (through IJavaProject#getOutputLocation() and IClasspathEntry#getOutputLocation() if you have output folders per source folders). Then copy the content of those to the jar. Closing as WONTFIX. Verified for 3.6M1 |