Menu

plugin development

2007-11-13
2013-04-19
  • Thomas Hartwig

    Thomas Hartwig - 2007-11-13

    Hello, I'm interested in this project too, but can not deploy it to a plugin. Are there any third part libraries which you might have not included in the standard project base? I'm using Idea Development 6.0.6 but get complie errors like this:

    Information:/home/th/projects/idea-php/branches/idea6/src/net/jay/plugins/php/lang/psi/PHPFile.java:38: cannot find symbol
    Information:Compilation completed with 8 errors and 0 warnings
    Information:8 errors
    Information:0 warnings
    /home/th/projects/idea-php/branches/idea6/src/net/jay/plugins/php/lang/psi/PHPFile.java
        Error:Error:line (19)cannot access com.intellij.psi.impl.source.PsiFileImpl
    class file for com.intellij.psi.impl.source.PsiFileImpl not found
        Error:Error:line (36)cannot find symbol variable this
    /home/th/projects/idea-php/branches/idea6/src/net/jay/plugins/php/lang/psi/elements/impl/PHPPsiElementImpl.java
        Error:Error:line (17)cannot access com.intellij.psi.impl.ElementBase
    class file for com.intellij.psi.impl.ElementBase not found
        Error:Error:line (24)cannot find symbol method getNode()
    /home/th/projects/idea-php/branches/idea6/src/net/jay/plugins/php/lang/highlighter/PHPSyntaxHighlighter.java
        Error:Error:line (10)cannot find symbol class XmlTokenType
    /home/th/projects/idea-php/branches/idea6/src/net/jay/plugins/php/lang/lexer/PHPFlexLexer.java
        Error:Error:line (2.390)cannot find symbol method fromSequenceWithoutCopying(java.lang.CharSequence)
    /home/th/projects/idea-php/branches/idea6/src/net/jay/plugins/php/lang/parser/PHPParserDefinition.java
        Error:Error:line (57)incompatible types
    found   : net.jay.plugins.php.lang.psi.PHPFile
    required: com.intellij.psi.PsiFile
    /home/th/projects/idea-php/branches/idea6/src/net/jay/plugins/php/lang/psi/elements/impl/PHPCodeImpl.java
        Error:Error:line (13)net.jay.plugins.php.lang.psi.elements.impl.PHPCodeImpl is not abstract and does not override abstract method getNode() in com.intellij.psi.PsiElement

     
    • Thomas Hartwig

      Thomas Hartwig - 2007-11-13

      I found it, for somewhat reason idea.jar itself was not included in the SDK classpath.

       
      • Jay

        Jay - 2007-11-14

        JetBrains does not include idea.jar by default because it contains non-openAPI classes.

        I'm glad you found it

         
      • Thomas Hartwig

        Thomas Hartwig - 2007-12-04

        Link to it in the dependencies of the module setup for this plugin. But you only need this if you want to develop/change the plugin and compile it.

        HTH
        Thomas

         
    • bracken

      bracken - 2007-12-03

      How do I resolve this issue within the project?  Should I copy the idea.jar from the intellij install directory into the code base's folder, or just link to intellij's copy?
      Also, what version of Java should I be using for this? 1.5, 1.6? Thanks.

       

Log in to post a comment.

MongoDB Logo MongoDB