Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TableView2Demo does not run, missing imports #60

Open
rich-coe opened this issue Aug 25, 2018 · 2 comments
Open

TableView2Demo does not run, missing imports #60

rich-coe opened this issue Aug 25, 2018 · 2 comments

Comments

@rich-coe
Copy link

Missing Person definition and imports to support Person

`org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/usr/local/ext/src/github.com/groovyfx-project/groovyfx/src/demo/groovy/TableView2Demo.groovy: 27: unable to resolve class Person
@ line 27, column 5.
new Person(

[....]
`

@rich-coe
Copy link
Author

pull request #61 fixes this issue.

@glockenstein
Copy link
Contributor

glockenstein commented Oct 24, 2018

the fix for this bug is not okay, because Person and Gender are defined in TableViewDemo and now when I start any demo via gradle e.g. (gradle SwingDemo) I get a compilation error.

> Task :compileDemoGroovy FAILED
startup failed:
/extra/git/groovyfx/src/demo/groovy/TableViewDemo.groovy: 23: Invalid duplicate class definition of class Gender : The sources /extra/git/groovyfx/src/demo/groovy/TableViewDemo.groovy and /extra/git/groovyfx/src/demo/groovy/TableView2Demo.groovy each contain a class with the name Gender.
 @ line 23, column 1.
   enum Gender {
   ^
/extra/git/groovyfx/src/demo/groovy/TableViewDemo.groovy: 27: Invalid duplicate class definition of class Person : The sources /extra/git/groovyfx/src/demo/groovy/TableViewDemo.groovy and /extra/git/groovyfx/src/demo/groovy/TableView2Demo.groovy each contain a class with the name Person.
 @ line 27, column 1.
   @Canonical
   ^
2 errors
FAILURE: Build failed with an exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants