[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: Import source from jar file
|
Alternately, you can change your Project's build source paths in the Project
Properties/Java Build Path/Source/Add Existing Folders... to point to the
appropriate sub-directories that contain the top-level packages.
Jeff.
"Nick Edgar" <nick_edgar@xxxxxxx> wrote in message
news:9k3p4t$129$1@xxxxxxxxxxxxxxxx
> David,
>
> The import wizard does not parse the .java files. This is mainly because
> the Zip import functionality (which also handles Jars), is not
specifically
> tied to the Java support in JDT. It's a general workbench feature, which
> would be there even if you didn't have JDT installed. It just imports the
> files with no parsing.
> VAME was smarter because its import was Java-specific.
>
> It would help to have an option in the Zip import for specifying a prefix
to
> ignore; "a" in your case. I've filed a PR for this.
> This would be similar to how you can specify a prefix when associating a
> source zip with your jar for debugging.
>
> In the mean time, your only recourse is to import it, allowing "a" to be
> created, then move "b" up one level and delete the empty "a".
>
> Nick
>
>