hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6355) Allow HBase to compile against JDK7
Date Wed, 11 Jul 2012 00:16:35 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411090#comment-13411090
] 

Elliott Clark commented on HBASE-6355:
--------------------------------------

When trying to create a new project from a maven source on intellij the intellij error log
reads:

{code}
org.jdom.IllegalNameException: The name "-options" is not legal for JDOM/XML elements: XML
names cannot begin with the character "-".
	at org.jdom.Element.setName(Element.java:207)
	at org.jdom.Element.<init>(Element.java:141)
	at org.jdom.Element.<init>(Element.java:153)
	at org.jetbrains.idea.maven.utils.MavenJDOMUtil$1.startTag(MavenJDOMUtil.java:82)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.processTagNode(XmlBuilderDriver.java:184)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.processTagNode(XmlBuilderDriver.java:195)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.processTagNode(XmlBuilderDriver.java:195)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.processTagNode(XmlBuilderDriver.java:195)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.processTagNode(XmlBuilderDriver.java:195)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.processTagNode(XmlBuilderDriver.java:195)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.processTagNode(XmlBuilderDriver.java:195)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.processTagNode(XmlBuilderDriver.java:195)
	at com.intellij.psi.impl.source.parsing.xml.XmlBuilderDriver.build(XmlBuilderDriver.java:74)
	at org.jetbrains.idea.maven.utils.MavenJDOMUtil.doRead(MavenJDOMUtil.java:128)
	at org.jetbrains.idea.maven.utils.MavenJDOMUtil.read(MavenJDOMUtil.java:59)
	at org.jetbrains.idea.maven.project.MavenProjectReader.readXml(MavenProjectReader.java:524)
{code}

I don't think one ide not working is enough to pull the commit.  I mostly commented so that
others who might need the help see it.  The workaround is just to remove that one line while
creating the project.

It might be a bug in intellij, dunno.
                
> Allow HBase to compile against JDK7
> -----------------------------------
>
>                 Key: HBASE-6355
>                 URL: https://issues.apache.org/jira/browse/HBASE-6355
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 0.96.0, 0.94.1
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.96.0, 0.94.1
>
>         Attachments: 6355-trunk.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message