but why would the WEB-INF ever be a subfolder of a source folder?

Also, how is this different from what SDK projects do?  Are those projects
different because the java files are always a subdirectory of the WEB-INF
folder?


On Tue, Apr 15, 2014 at 4:25 PM, simon.jiang <notifications@github.com>wrote:

> In
> maven/plugins/com.liferay.ide.maven.core/src/com/liferay/ide/maven/core/MavenProjectRemoteServerPublisher.java:
>
> > +                        {
> > +                            delaZip = true;
> > +                            deltaPath = new Path( deltaPrefix + deltaFullPath.makeRelativeTo( containerFullPath ) );
> > +                        }
> > +                    }
> > +                }
> > +
> > +
> > +                if ( delaZip ==false )
> > +                {
> > +                    IFolder[] folders = CoreUtil.getSrcFolders( deltaProject );
> > +                    for( IFolder folder : folders )
> > +                    {
> > +                        IPath folderPath = folder.getFullPath();
> > +                        final IPath deltaFullPath = deltaResource.getFullPath();
> > +                        if ( folderPath.isPrefixOf( deltaFullPath ) || new Path("WEB-INF").isPrefixOf( delta.getModuleRelativePath() ))
>
> add this block used to get compiled class file, it can support delta
> deploy process while we only change some java files these file didn't cause
> web.xml, porlet.xml chagne and can't invoke full module publish process.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/gamerson/liferay-ide/pull/524/files#r11624178>
> .
>



-- 
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com