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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
I found it, for somewhat reason idea.jar itself was not included in the SDK classpath.
JetBrains does not include idea.jar by default because it contains non-openAPI classes.
I'm glad you found it
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
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.