You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nitay Joffe (JIRA)" <ji...@apache.org> on 2009/01/31 10:58:59 UTC

[jira] Updated: (HBASE-1167) JSP doesn't work in a git checkout

     [ https://issues.apache.org/jira/browse/HBASE-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nitay Joffe updated HBASE-1167:
-------------------------------

    Attachment: hbase-1167.patch

The problem is that the jspcompiler requires theĀ folder where the output is being written to to already exist. For example, for the master jsp, this means build/webapps/master/WEB-INF must exist. In ant init we copy over everything from svn src/ to build. We have an empty WEB-INF checked into src/webapps/master (and src/webapps/regionserver). These get copied over to the build directory and everything runs fine.

In git this is broken because git doesn't track empty directories. Rather than hacking in some .gitignore or other file to make git track the directory, this patch just forces ant to create the build directory before executing the jspcompiler step. This should work with any build system.

> JSP doesn't work in a git checkout
> ----------------------------------
>
>                 Key: HBASE-1167
>                 URL: https://issues.apache.org/jira/browse/HBASE-1167
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Nitay Joffe
>            Assignee: Nitay Joffe
>         Attachments: hbase-1167.patch
>
>
> Running from a git checkout, the JSP pages are not getting compiled right. HBase is up and running fine, but I get 404s on any requests to the info server.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.