Hi Kaveen,
Seems like you have not added generated sources as a valid source
path in
your IDEA project settings: if you successfully build the asterix
top-project with maven you should see auto-generated source files
under
asterix-test-framework/target/generated-sources/xjc/org/apache/asterix/testframework/xml.
You should make those files visible to IDEA.
This process is described here for Eclipse
https://asterixdb.apache.org/dev-setup.html#setting-up-an-asterix-development-environment-in-eclipse
<
https://asterixdb.apache.org/dev-setup.html#setting-up-an-asterix-development-environment-in-eclipse>,
but the settings are pretty similar to IntelliJ.
On May 17, 2016, at 02:25, Kaveen Rodrigo <u.k.k.rodr...@gmail.com>
wrote:
Hello all,
Hello first something about me I'm working on the new Web Interface
and
new
API via Google Summer Of Code.
I'm running Mac OS X with InteliiJ IDEA community edition, I'm hit
with
this issue while building
*Error:(29, 48) java: cannot find symbol*
* symbol: class TestSuite*
* location: package org.apache.asterix.testframework.xml*
*Error:(30, 87) java: cannot find symbol*
* symbol: class TestSuite*
* location: package org.apache.asterix.testframework.xml*
*Error:(31, 53) java: cannot find symbol*
* symbol: class TestSuite*
* location: package org.apache.asterix.testframework.xml*
*Error:(27, 44) java: cannot find symbol*
* symbol: class CategoryEnum*
* location: package org.apache.asterix.testframework.xml*
*Error:(28, 44) java: cannot find symbol*
* symbol: class TestCase*
* location: package org.apache.asterix.testframework.xml*
*Error:(29, 53) java: package
org.apache.asterix.testframework.xml.TestCase
does not exist*
*Error:(30, 44) java: cannot find symbol*
* symbol: class TestGroup*
* location: package org.apache.asterix.testframework.xml*
*Error:(31, 44) java: cannot find symbol*
* symbol: class TestSuite*
* location: package org.apache.asterix.testframework.xml*
*Error:(98, 13) java: cannot find symbol*
* symbol: class TestSuite*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(100, 13) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(102, 13) java: cannot find symbol*
* symbol: class TestCase*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(104, 41) java: cannot find symbol*
* symbol: class TestSuite*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(104, 62) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(104, 86) java: cannot find symbol*
* symbol: class TestCase*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(115, 12) java: cannot find symbol*
* symbol: class TestSuite*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(119, 12) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(123, 12) java: cannot find symbol*
* symbol: class TestCase*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(162, 47) java: cannot find symbol*
* symbol: class CompilationUnit*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(166, 57) java: cannot find symbol*
* symbol: class CompilationUnit*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(170, 37) java: cannot find symbol*
* symbol: class CompilationUnit*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(66, 55) java: cannot find symbol*
* symbol: class CompilationUnit*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.OutputFormat*
*Error:(218, 47) java: cannot find symbol*
* symbol: class TestSuite*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(218, 66) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(218, 90) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(227, 47) java: cannot find symbol*
* symbol: class TestSuite*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(227, 66) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(68, 22) java: cannot find symbol*
* symbol: variable TEXT*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.OutputFormat*
*Error:(70, 22) java: constant string expression required*
*Error:(72, 22) java: constant string expression required*
*Error:(74, 22) java: constant string expression required*
*Error:(76, 22) java: constant string expression required*
*Error:(78, 22) java: cannot find symbol*
* symbol: variable INSPECT*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.OutputFormat*
*Error:(79, 22) java: cannot find symbol*
* symbol: variable IGNORE*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.OutputFormat*
*Error:(81, 22) java: constant string expression required*
*Error:(83, 22) java: constant string expression required*
*Error:(180, 15) java: cannot find symbol*
* symbol: class TestCase*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(183, 14) java: cannot find symbol*
* symbol: class CompilationUnit*
* location: class
org.apache.asterix.testframework.context.TestCaseContext*
*Error:(211, 13) java: cannot find symbol*
* symbol: class TestSuite*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(213, 18) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(213, 52) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(220, 18) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(228, 13) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(229, 18) java: cannot find symbol*
* symbol: class TestCase*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(230, 53) java: cannot find symbol*
* symbol: variable CategoryEnum*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
*Error:(235, 38) java: package TestCase does not exist*
*Error:(247, 85) java: cannot find symbol*
* symbol: class TestGroup*
* location: class
org.apache.asterix.testframework.context.TestCaseContext.Builder*
the error is regarding the testframework. Thanks in advance
cheers,
--
Kaveen Rodrigo
Personal Website - (lifeofenigma.com)
Software Engineering Undergraduate,
Informatics Institute of Technology Sri Lanka (Affiliated with
University
of Westminster, UK)
*Contact Information*
*Mobile* +94779684740
*E-Mail* kaveen.2013...@iit.ac.lk | u.k.k.rodr...@gmail.com
Best regards,
Ildar