SlickEdit Community

Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2018 v23 Beta Discussion => Topic started by: jporkkahtc on October 02, 2018, 06:50:03 PM

Title: gradle project: test fails
Post by: jporkkahtc on October 02, 2018, 06:50:03 PM
I imported a gradle project, then I did build -> Unit Test -> Debug.
I get this slick stack
 This property or method is not allowed on this object
gradle.ex 13237 gradle_debug_unittest()   p_window_id: 316   p_object: OI_FORM   p_name:
unittest.ex 15838 project_unittest_debug()   p_window_id: 20   p_object: OI_EDITOR   p_name:

Title: Re: gradle project: test fails
Post by: patrick on October 02, 2018, 07:19:23 PM
I think I see the problem, I'm referencing p_buf_name, and there probably isn't a buffer open.  Which should mean it will work for you if you have a buffer open.  I'll fix that for the next drop.  Thanks for the report.
Title: Re: gradle project: test fails
Post by: jporkkahtc on October 02, 2018, 07:53:36 PM
I definitely have a bunch of buffers open.
Title: Re: gradle project: test fails
Post by: patrick on October 02, 2018, 07:57:57 PM
You're right.  When executed from a menu, it's going to stack not matter whether there are buffers or not.  This will be fixed for the next drop.
Title: Re: gradle project: test fails
Post by: jporkkahtc on October 08, 2018, 07:44:42 PM
I also found that a Gradle project does not include all the files I'd like it to.
I know I can add more once the project is created, but it would seem reasonable to include
gradle.build
settings.gradle
*.XML

Maybe better to include everything but build artifacts, but I don't know how you figure that out -- unless you rely on parsing .gitignore.
Title: Re: gradle project: test fails
Post by: patrick on October 08, 2018, 07:51:20 PM
I'm a little surprised we're not adding the gradle files, we should be adding those at the very least.  I'll take a look at it.