Skip to main content

[vmfx~fx8:16] Remove bss-files if they exist before recompiling them (seems overwrite i

  • From:
  • To:
  • Subject: [vmfx~fx8:16] Remove bss-files if they exist before recompiling them (seems overwrite i
  • Date: Sun, 6 Oct 2013 15:56:39 +0000

Project:    vmfx
Repository: fx8
Revision:   16
Author:     sven
Date:       2013-10-06 15:56:18 UTC
Link:       

Log Message:
------------
Breaking change: Modes are now Areas (better naming)
Remove bss-files if they exist before recompiling them (seems overwrite is 
somehow broken)


Revisions:
----------
15
16


Modified Paths:
---------------
vmfx.vm.ui.heap/src/org/vmfx/ui/heap/HeapViewer.java
vmfx.vm.ui.heap/src/org/vmfx/ui/heap/LoadHeapHandler.java
vmfx.vm.ui/src/org/vmfx/vm/ui/VMAccordion.java
vmfx.vm.ui/src/org/vmfx/vm/ui/VMMonitoring.java
jfx.xml


Diffs:
------
diff -r 48e4dcee1370 -r 8c5f4be40c22 
vmfx.vm.ui.heap/src/org/vmfx/ui/heap/HeapViewer.java
--- a/vmfx.vm.ui.heap/src/org/vmfx/ui/heap/HeapViewer.java      Sat Sep 28 
05:18:10 2013 +0200
+++ b/vmfx.vm.ui.heap/src/org/vmfx/ui/heap/HeapViewer.java      Sun Oct 06 
17:55:59 2013 +0200
@@ -153,7 +153,7 @@
         }
 
         @Override
-        public String getMode() {
+        public String getArea() {
             return "editor";
         }
     }

diff -r 48e4dcee1370 -r 8c5f4be40c22 
vmfx.vm.ui.heap/src/org/vmfx/ui/heap/LoadHeapHandler.java
--- a/vmfx.vm.ui.heap/src/org/vmfx/ui/heap/LoadHeapHandler.java Sat Sep 28 
05:18:10 2013 +0200
+++ b/vmfx.vm.ui.heap/src/org/vmfx/ui/heap/LoadHeapHandler.java Sun Oct 06 
17:55:59 2013 +0200
@@ -70,7 +70,7 @@
         }
         try {
             Heap heap = HeapFactory.createHeap(file);
-            WindowManager.openInMode(new HeapViewer.UIEDescriptorImpl(heap), 
"editor");
+            WindowManager.openInArea(new HeapViewer.UIEDescriptorImpl(heap), 
"editor");
         } catch (FileNotFoundException ex) {
             Exceptions.printStackTrace(ex);
         } catch (IOException ex) {
@@ -87,7 +87,7 @@
                 Heap heap = HeapFactory.createHeap(file);
                 // trigger init before ui becomes visible;
                 heap.getAllClasses();
-                Platform.runLater(() -> WindowManager.openInMode(new 
HeapViewer.UIEDescriptorImpl(heap), "editor"));
+                Platform.runLater(() -> WindowManager.openInArea(new 
HeapViewer.UIEDescriptorImpl(heap), "editor"));
             } catch (FileNotFoundException ex) {
                 Exceptions.printStackTrace(ex);
             } catch (IOException ex) {

diff -r 48e4dcee1370 -r 8c5f4be40c22 
vmfx.vm.ui/src/org/vmfx/vm/ui/VMAccordion.java
--- a/vmfx.vm.ui/src/org/vmfx/vm/ui/VMAccordion.java    Sat Sep 28 05:18:10 
2013 +0200
+++ b/vmfx.vm.ui/src/org/vmfx/vm/ui/VMAccordion.java    Sun Oct 06 17:55:59 
2013 +0200
@@ -157,7 +157,7 @@
                     new EventHandler<ActionEvent>() {
                 @Override
                 public void handle(ActionEvent t) {
-                    WindowManager.openInMode(new 
VMMonitoring.UIEDImpl(VMTitledPane.this.lvm), "editor");
+                    WindowManager.openInArea(new 
VMMonitoring.UIEDImpl(VMTitledPane.this.lvm), "editor");
                 }
             });
             cm.getItems().addAll(open);
@@ -248,7 +248,7 @@
     @UIElement.Description(
         displayName = "#CTL_VMAccordion",
     preferredID = "vmfx.ui.VMAccordion",
-    mode = "explorer",
+    area = "explorer",
     iconBase = "org/vmfx/vm/ui/resources/dukesmall.png",
     css = "org/vmfx/vm/ui/resources/vminfo.css",
     openAtStartup = true,

diff -r 48e4dcee1370 -r 8c5f4be40c22 
vmfx.vm.ui/src/org/vmfx/vm/ui/VMMonitoring.java
--- a/vmfx.vm.ui/src/org/vmfx/vm/ui/VMMonitoring.java   Sat Sep 28 05:18:10 
2013 +0200
+++ b/vmfx.vm.ui/src/org/vmfx/vm/ui/VMMonitoring.java   Sun Oct 06 17:55:59 
2013 +0200
@@ -126,7 +126,7 @@
         }
 
         @Override
-        public String getMode() {
+        public String getArea() {
             return "editor";
         }
 


diff -r 8c5f4be40c22 -r 04d432f864bf jfx.xml
--- a/jfx.xml   Sun Oct 06 17:55:59 2013 +0200
+++ b/jfx.xml   Sun Oct 06 17:56:18 2013 +0200
@@ -37,7 +37,12 @@
         </fileset>
         <property name="cssfileslist" refid="cssfiles"/>
         <echo message="css files to binary convert: " 
level="info">${cssfileslist}</echo>
-        <fx:csstobin outdir="${build.classes.dir}">
+        <delete>
+            <fileset  dir="${build.classes.dir}">
+                <include name="**/*.bss"/>
+            </fileset>
+        </delete>
+        <fx:csstobin outdir="${build.classes.dir}" >
             <fileset refid="cssfiles"/>
         </fx:csstobin>
     </target>






[vmfx~fx8:16] Remove bss-files if they exist before recompiling them (seems overwrite i

sven 10/06/2013
 
 
Close
loading
Please Confirm
Close