summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorShireesh Anjal <shireesh@gluster.com>2011-11-17 20:55:00 +0530
committerShireesh Anjal <shireesh@gluster.com>2011-11-17 20:55:00 +0530
commit531ded8bb1aa6de575f4f43c0f164fd031d01f2d (patch)
tree1d503c5b6d043a4e89b53e4fa17c303d798813d3 /build
parentc4e193b47434463aae090ece26e0fba8dbeedd16 (diff)
Moved all build related sources (cquery, rmap, etc) from src/com.gluster.storage.management.releng to build directory, deleted the project com.gluster.storage.management.releng.
Diffstat (limited to 'build')
-rw-r--r--build/com.gluster.storage.management.console.feature.webstart.cquery4
-rw-r--r--build/com.gluster.storage.management.core.cquery4
-rw-r--r--build/com.gluster.storage.management.gateway.cquery4
-rw-r--r--build/gluster-management-console.target13
-rw-r--r--build/glustermc.rmap12
-rw-r--r--build/glustermc_build.properties14
-rwxr-xr-xbuild/gmc-gui-buckminster.commands4
-rwxr-xr-xbuild/gmg-buckminster.commands8
-rwxr-xr-xbuild/junit-buckminster.commands5
9 files changed, 46 insertions, 22 deletions
diff --git a/build/com.gluster.storage.management.console.feature.webstart.cquery b/build/com.gluster.storage.management.console.feature.webstart.cquery
new file mode 100644
index 00000000..ffd8dec8
--- /dev/null
+++ b/build/com.gluster.storage.management.console.feature.webstart.cquery
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="glustermc.rmap">
+ <cq:rootRequest name="com.gluster.storage.management.console.feature.webstart" componentType="eclipse.feature"/>
+</cq:componentQuery>
diff --git a/build/com.gluster.storage.management.core.cquery b/build/com.gluster.storage.management.core.cquery
new file mode 100644
index 00000000..a97d350d
--- /dev/null
+++ b/build/com.gluster.storage.management.core.cquery
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="glustermc.rmap">
+ <cq:rootRequest name="com.gluster.storage.management.client" componentType="osgi.bundle"/>
+</cq:componentQuery>
diff --git a/build/com.gluster.storage.management.gateway.cquery b/build/com.gluster.storage.management.gateway.cquery
new file mode 100644
index 00000000..1f663cbe
--- /dev/null
+++ b/build/com.gluster.storage.management.gateway.cquery
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="glustermc.rmap">
+ <cq:rootRequest name="com.gluster.storage.management.gateway" componentType="unknown"/>
+</cq:componentQuery>
diff --git a/build/gluster-management-console.target b/build/gluster-management-console.target
deleted file mode 100644
index b74d8040..00000000
--- a/build/gluster-management-console.target
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?pde version="3.6"?>
-
-<target includeMode="feature" name="Gluster Storage Platform Target">
-<locations>
-<location path="gmc-target/com.gluster.storage.management.console.target/rcp.sdk.helios.SR1" type="Directory"/>
-<location path="gmc-target/com.gluster.storage.management.console.target/richclientgui.rcptoolbox" type="Directory"/>
-<location path="gmc-target/com.gluster.storage.management.console.target/birt.charts.helios" type="Directory"/>
-<location path="gmc-target/com.gluster.storage.management.console.target/delta.pack.helios" type="Directory"/>
-<location path="gmc-target/com.gluster.storage.management.console.target/org.eclipse.tm.terminal" type="Directory"/>
-</locations>
-<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-</target>
diff --git a/build/glustermc.rmap b/build/glustermc.rmap
new file mode 100644
index 00000000..73df2b06
--- /dev/null
+++ b/build/glustermc.rmap
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rm:rmap xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0">
+ <rm:locator searchPathRef="glustermc"/>
+ <rm:searchPath name="glustermc">
+ <rm:provider componentTypes="osgi.bundle,eclipse.feature,unknown" readerType="local">
+ <rm:uri format="file:///{0}/src/{1}/">
+ <bc:propertyRef key="workspace.root"/>
+ <bc:propertyRef key="buckminster.component"/>
+ </rm:uri>
+ </rm:provider>
+ </rm:searchPath>
+</rm:rmap>
diff --git a/build/glustermc_build.properties b/build/glustermc_build.properties
new file mode 100644
index 00000000..d50782d8
--- /dev/null
+++ b/build/glustermc_build.properties
@@ -0,0 +1,14 @@
+# Buckminster build properties file for Gluster Management Console
+
+# Where all the output should go
+#buckminster.output.root=/tmp/buckminster/glustermc
+# Where the temp files should go
+#buckminster.temp.root=/tmp/buckminster
+# How .qualifier in versions should be replaced
+qualifier.replacement.*=generator:lastRevision
+
+# Do not include source
+cbi.include.source=false
+
+# Sets the Java compiler compliance level
+org.eclipse.buckminster.core.jdt.compliancelevel=1.6
diff --git a/build/gmc-gui-buckminster.commands b/build/gmc-gui-buckminster.commands
index a5d3fa39..86b254e1 100755
--- a/build/gmc-gui-buckminster.commands
+++ b/build/gmc-gui-buckminster.commands
@@ -1,8 +1,8 @@
# Buckminster commands to build Gluster Management Console projects
-importtarget --active src/com.gluster.storage.management.releng/gluster-management-console.target
+importtarget --active gmc-target/com.gluster.storage.management.console.target/gmc.target
-import src/com.gluster.storage.management.releng/com.gluster.storage.management.console.feature.webstart.cquery
+import build/com.gluster.storage.management.console.feature.webstart.cquery
perform com.gluster.storage.management.console.feature.webstart#create.eclipse.jnlp.product
perform com.gluster.storage.management.console.feature.webstart#copy.root.files
perform com.gluster.storage.management.console.feature.webstart#unsign.jars
diff --git a/build/gmg-buckminster.commands b/build/gmg-buckminster.commands
index 96175b57..2d6ea9e6 100755
--- a/build/gmg-buckminster.commands
+++ b/build/gmg-buckminster.commands
@@ -1,11 +1,9 @@
# Buckminster commands to build Gluster Management Console projects
-importtarget --active src/com.gluster.storage.management.releng/gluster-management-console.target
+importtarget --active gmc-target/com.gluster.storage.management.console.target/gmc.target
-import src/com.gluster.storage.management.releng/com.gluster.storage.management.core.cquery
-#import src/com.gluster.storage.management.releng/com.gluster.storage.management.client.cquery
-import src/com.gluster.storage.management.releng/com.gluster.storage.management.gateway.cquery
+import build/com.gluster.storage.management.core.cquery
+import build/com.gluster.storage.management.gateway.cquery
perform com.gluster.storage.management.core#bundle.jar
-#perform com.gluster.storage.management.client#bundle.jar
perform com.gluster.storage.management.gateway#archive
diff --git a/build/junit-buckminster.commands b/build/junit-buckminster.commands
index 1d1a7efd..bfd7a320 100755
--- a/build/junit-buckminster.commands
+++ b/build/junit-buckminster.commands
@@ -1,5 +1,6 @@
-importtarget --active src/com.gluster.storage.management.releng/gluster-management-console.target
+importtarget --active gmc-target/com.gluster.storage.management.console.target/gmc.target
-import src/com.gluster.storage.management.releng/com.gluster.storage.management.core.cquery
+import build/com.gluster.storage.management.core.cquery
perform com.gluster.storage.management.core#java.binaries
+
junit -o test-reports/core.xml -l /com.gluster.storage.management.core/junit/core.junit.launch