Platform and Studio 7.0 BETA

@artamonov
Thanks, where is the gradle.properties file?
01%20AM

Please create ~/.gradle/gradle.properties in your user directory.

Thanks @artamonov. This was an easy setup in version 6.10 to link licensed components. May we hope that it will be simplified in final v7?

Sure it will.
For now it is explained in release notes: CUBA Platform and Studio Release Notes

1 Like

@knstvk Thank you.
I haven’t connected to BPM yet, curious that which one have you finally selected as I know you had been evaluating two options to replace current Activiti BPM! I am also waiting for the user guide of the new BPM add-on since I deferred to work on BPM for my project waiting to start with the new one in V7.

Hi Mortoza,

The new BP management add-on is in active development, but its release is not bound to the framework release cycle. It will be available later, not in sync with framework 7.0.

Hi Konstantin
Thanks for the update. Is there any high level planning? And please also let me know which one you have selected so that I can start learning it.

Could you please start a separate topic about BPM plans in General Discussions?

1 Like

Hi all!
Here are a few observations I made while testing Studio 7.0 Beta:

Changing Project/Properties Module prefix from default “app” value to any other leads to IDE Fatal Error:
java.lang.IllegalArgumentException: Property cuba.dbmsType is not found. Check app.properties file.

    at com.haulmont.studio.backend.util.Preconditions.checkNotNullArgument(Preconditions.java:44)
    at com.haulmont.studio.backend.ed.ddl.DdlLoader.getDbScriptsPath(DdlLoader.java:424)
    at com.haulmont.studio.backend.ed.ddl.DdlLoader.getDbUpdateScriptsPath(DdlLoader.java:413)
    at com.haulmont.studio.backend.ed.ddl.DdlLoader.getExistingUpdatesFilenames(DdlLoader.java:281)
    at com.haulmont.studio.backend.ed.ddl.DdlLoader.getUnappliedUpdates(DdlLoader.java:362)
    at com.haulmont.studio.intellij.action.cubamenu.GenerateDbScriptsAction.doActionPerformed(GenerateDbScriptsAction.java:74)
    at com.haulmont.studio.intellij.action.CubaProjectAction.actionPerformed(CubaProjectAction.java:65)
    at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:220)

- UI Designer: Creating a button property “invoke” doesn’t create corresponding method in controller class

- UI Designer: Creating an action property “invoke” shows Info-Message “Set component’s ID or method name” even when ID is set. Setting method name manually works, but in XML-View the Attribute “invoke” is marked as “… not allowed here”.

- In STUDIO Welcome Screen: After clicking on the “x” Button to remove Project from list, it would be nice to have the option to remove files too. Trying to create a new project with same name after removement results in Exception

java.lang.RuntimeException: java.io.IOException: 'C:/Users/vge/StudioProjects/go-base1/settings.gradle' already exists in VFS
    at com.haulmont.studio.backend.pm.ProjectCreator.createProject(ProjectCreator.java:126)
    at com.haulmont.studio.intellij.newproject.CubaModuleBuilder.lambda$commit$0(CubaModuleBuilder.java:67)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1038)
    at com.haulmont.studio.intellij.newproject.CubaModuleBuilder.commit(CubaModuleBuilder.java:67)
    at com.intellij.ide.impl.NewProjectUtil.doCreate(NewProjectUtil.java:138)
    at com.intellij.ide.impl.NewProjectUtil.createFromWizard(NewProjectUtil.java:60)
    at com.intellij.ide.impl.NewProjectUtil.createNewProject(NewProjectUtil.java:54)
    at com.intellij.ide.actions.NewProjectAction.lambda$actionPerformed$0(NewProjectAction.java:40)

... even if project files are deleted manually before.

How? I get an error about artifacts not found.

imagen

Added to that, I got it compiling if I disable premium addons, but changing to V7 trying to start the server I get:

> Task :komerzia-gui:compileJava FAILED
C:\Dev\komerziaerpbeta7\modules\gui\src\com\komenco\komerziaerp\web\ControlledExceptionHandler.java:9: error: package org.apache.commons.lang does not exist
import org.apache.commons.lang.StringUtils;
                              ^
Note: C:\Dev\komerziaerpbeta7\modules\gui\src\com\komenco\komerziaerp\web\ControlledExceptionHandler.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

FAILURE: Build failed with an exception.

Hi,
Please check the release notes. Old commons-lang dependency is replaced with commons-lang3.

Hi Volker,
Thank you for this bug report!

Regards,
Konstantin

Hi Konstantin,
You are welcome!
… and here is another one:
The Remove Button Action in the new “Lookup Screen Template” doesn’t work as expected - the selected entry is only removed from datasource but is not deleted in database (same scenario with Legacy Screen Template “Entity Browser” works fine).

Regards,
Volker

The new version looks great!

I know you’re busy on other things, but do you already have some plans for kotlin support?
I’d really like to start writing 100% kotlin CUBA apps! :wink:

Thx, P.

1 Like

Thanks, we’ll check it!

Hi Paolo,

Unfortunately we couldn’t make it in 7.0, but Kotlin support is one of our priority tasks for 2019.

Hi there,
Sorry if I miss something, but I do not know how to zoom the design tab out for smaller view.
As shown in the picture below, it is so big in my studio.

In addition, I don’t know how to properly delete a defined entity. The new studio does not delete relevant screens and message as earlier version does.

image

1 Like

Could you tell us what is your screen resolution and scaling factor?

1920 x 1080 and 150%
That is windows’ recommendation.

OK, thanks.
We are going to add zoom controls, see https://youtrack.cuba-platform.com/issue/STUDIO-5163

1 Like