IDE-1569 custom jsps add ability to quickly disable validation

I agree, we can just let HookDescriptorHelper do the checking so this
method doesn't have to do any checking at all should be ok.

On Mon, Sep 29, 2014 at 10:15 AM, simon.jiang <notifications@github.com>
wrote:

> In
> tools/plugins/com.liferay.ide.hook.core/src/com/liferay/ide/hook/core/util/HookUtil.java:
>
> > @@ -154,6 +163,30 @@ public static IFolder getCustomJspFolder(Hook hook, IProject project)
> >          return null;
> >      }
> >
> > +    public static IPath getCustomJspPath( IProject project )
> > +    {
> > +        if( ProjectUtil.isLiferayFacetedProject( project ) )
>
> As we discuss this before, All Liferay portlet and hook project can add
> hook configuration, so I only check the project is liferay project is ok.
> Maybe wo don't need to check anythin, if HookDescriptorHelper can't get
> custom jsp folder definination then we can directly iginore it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/gamerson/liferay-ide/pull/688/files#r18135214>.
>



-- 
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com