Skip to main content



      Home
Home » Eclipse Projects » Eclipse Kapua » How to compile the console automatic(i found that console wasn't compiled automatic with the full re-build)
How to compile the console automatic [message #1772467] Mon, 11 September 2017 02:38 Go to next message
Eclipse UserFriend
I import the kapua Eclipse project by the document.

Then i type these to build the docker images:
mvn clean install;
mvn install -f assembly -Pdocker


However, I found that my docker list[docker images] doesn't contain the
kapua/kapua-console docker image.
so i input those command:
mvn install -f console
mvn install -f assembly/console -Pdocker


That's going well. and my code changes is available.

So, i can't find the way to build console with
mvn clean install;
mvn install -f assembly -Pdocker


PS: I just change some texture with the console, such as:
console/src/main/java/org/eclipse/kapua/app/console/client/WestNavigationView.java
@@ -370,7 +370,8 @@ public class WestNavigationView extends LayoutContainer {
                 cloudResourcesTreeStore.add(newItem("connection", MSGS.connections(), IconSet.PLUG), false);
             }
             if (currentSession.hasDataReadPermission()) {
-                cloudResourcesTreeStore.add(newItem("data", "Data", IconSet.DATABASE), false);
+                cloudResourcesTreeStore.add(newItem("data", MSGS.datastore(), IconSet.DATABASE), false);
+//                cloudResourcesTreeStore.add(newItem("data", "Data", IconSet.DATABASE), false);
             }
             if (currentSession.hasTagReadPermission()) {
                 cloudResourcesTreeStore.add(newItem("tags", MSGS.tags(), IconSet.TAGS), false);


anyone can help me?
thx a lot.

[Updated on: Mon, 11 September 2017 02:41] by Moderator

Re: How to compile the console automatic [message #1772473 is a reply to message #1772467] Mon, 11 September 2017 03:53 Go to previous messageGo to next message
Eclipse UserFriend
Okay, i tried this, which is working good.

assembly/pom.xml
@@ -35,6 +35,7 @@
         <module>sql</module>
         <module>broker</module>
         <module>api</module>
+        <module>console</module>
     </modules>
     
     <profiles>


Or, someone has a better solution?

Reagards
Re: How to compile the console automatic [message #1808751 is a reply to message #1772473] Mon, 01 July 2019 04:56 Go to previous message
Eclipse UserFriend
Hi Steelix,

There is a dedicated profile to enable the build of the Web Console.

mvn clean install -Pconsole,docker


Regards,

- Alberto
Previous Topic:How to send sms or e-mail through kapua to Subscribers
Next Topic:Kapua over Linux VM
Goto Forum:
  


Current Time: Sat Jul 12 17:39:42 EDT 2025

Powered by FUDForum. Page generated in 0.03650 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top