Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-dev] Using Virtual Path API

Yes, the code snippet does not include the logic for detecting that the
"source" path is a java source directory and substituting the output
directory.

I am not sure what exactly you mean by not handling "dependent projects
with multiple source/output folders". If all of the source folders are
correctly recorded in the .wtpmodules, this code will "link" them all
in. 

- Konstantin


-----Original Message-----
From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx]
On Behalf Of Igor Fedorenko
Sent: Monday, August 29, 2005 12:38 PM
To: General discussion of project-wide or architectural issues.
Subject: Re: [wtp-dev] Using Virtual Path API

Thank you for the pointer, Konstantin. Am I corrent that the code 
snippet from the bug report does not habdle dependent projects with 
multiple source/output folders? And I still need to write code to 
resolve source->output folder, right?

Konstantin Komissarchik wrote:
> Igor,
> 
> You might be interested in tracking this related bugzilla entry:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=103888
> 
> - Konstantin
> 
> -----Original Message-----
> From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Igor Fedorenko
> Sent: Monday, August 29, 2005 11:38 AM
> To: wtp-dev@xxxxxxxxxxx
> Subject: [wtp-dev] Using Virtual Path API
> 
> Hello,
> 
> I am working on "improved" tomcat server support that does not depend
on
> 
> .deployables but instead knows how to deploy web applications from 
> workspace directly.
> 
> To make this happen, I need to prepare "war module map" file that 
> explains tomcat mapping between files and directories in logical WAR
and
> 
> their physical filesystem location.
> 
> What would be the easiest way to produce such file? I think I know how

> to manually traverse IVirtualComponent and how to find physical paths
of
> 
> all virtual resources. This code however looks too generic and I hope 
> there is existing API already. Can somebody please point me in the
right
> 
> direction?

_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev




Back to the top