gtnarg
01/22/2017, 3:47 PMConfigure Kotlin Plugin Updates
to Early Access Preview 1.0.x
-> check for updates - working 🎉 thanks!gtnarg
01/22/2017, 6:12 PMpermalmberg
01/22/2017, 6:14 PMedvin
01/22/2017, 6:14 PMgtnarg
01/22/2017, 7:17 PMedvin
01/22/2017, 7:27 PMedvin
01/22/2017, 7:27 PMworkspace.backButton.removeFromParent()
) or set the maxViewStackDepth
to
0
you can disregard this particular challenge, but to leverage this powerful navigation paradigm, there are some things
you need to think about.
Consider our prevous example with an injected CustomerModel
that represents the currently selected customer in the CustomerList
while also being used by the CustomerEditor
to edit that same customer. Then let's assume that there is a way to search for
a customer and edit it, perhaps using a TextField
in the ToolBar of the Workspace as a search entry point. If you search for
a new customer and go on to edit it, then navigate back to the previous customer editor, it would suddenly operate on the
last customer you set in the CustomerModel
. You can probably imagine the ensuing havoc.permalmberg
01/22/2017, 7:29 PMedvin
01/22/2017, 7:30 PMedvin
01/22/2017, 7:31 PMpermalmberg
01/22/2017, 7:33 PMpermalmberg
01/22/2017, 7:35 PMjava -jar jarfile.jar
just gives Error: Could not find or load main class XXXXX
. It doesn't even give a class not found exception. My frustration level is quite high right now. 😕edvin
01/22/2017, 7:35 PMpermalmberg
01/22/2017, 7:36 PM<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>hap.Cli</mainClass>
</manifest>
</archive>
</configuration>
permalmberg
01/22/2017, 7:36 PMedvin
01/22/2017, 7:36 PMmaven-jar-plugin
right?permalmberg
01/22/2017, 7:36 PMedvin
01/22/2017, 7:36 PMMETA-INF/manifest.mf
looks?permalmberg
01/22/2017, 7:37 PMManifest-Version: 1.0
Archiver-Version: Plexus Archiver
Built-By: perma
Class-Path: BaseModule-1.0-SNAPSHOT.jar CmdParser4J--6b13637820-1.jar
ChainedFSM4J-v1.0.1.jar org.eclipse.paho.client.mqttv3-1.1.0.jar Comm
on-1.0-SNAPSHOT.jar
Created-By: Apache Maven 3.3.9
Build-Jdk: 1.8.0_60
Main-Class: hap.Cli
edvin
01/22/2017, 7:37 PMError: Could not find or load main class XXXXX
like you wrote? Actually with X'es?permalmberg
01/22/2017, 7:38 PMhap.Cli
edvin
01/22/2017, 7:39 PMClass-Path
in the plugin. Does this classpath list the jar that contain the actual hap.Cli
class, or is that class included in this jar?permalmberg
01/22/2017, 7:40 PMpermalmberg
01/22/2017, 7:42 PMedvin
01/22/2017, 7:42 PMaddClasspath
?permalmberg
01/22/2017, 7:42 PMpermalmberg
01/22/2017, 7:44 PMpermalmberg
01/22/2017, 7:46 PMedvin
01/22/2017, 7:46 PMedvin
01/22/2017, 7:46 PM