added comments
authorCherian Mathew <c.mathew@bgbm.org>
Mon, 23 Mar 2015 17:21:20 +0000 (17:21 +0000)
committerCherian Mathew <c.mathew@bgbm.org>
Mon, 23 Mar 2015 17:21:20 +0000 (17:21 +0000)
eu.etaxonomy.taxeditor.feature/README.txt
pom.xml

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a4a2fdf6dfcbefd0eeee47e8c0cdb9f33aaf48ed 100644 (file)
@@ -0,0 +1,3 @@
+when updating the build.properties file make sure to apply the updates on both
+build.properties.with.jre and
+build.properties.wo.jre
diff --git a/pom.xml b/pom.xml
index dfc37c48a9280e64aa4123150f79d44aecf9bc3a..30bbbcfd91d10296937000b671e213b1eda19f0e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       </repositories>
     </profile>
     <profile>
-      <!-- Installs the jre bundle, which is done by 1) copying the jre directories 
-        as set in the ~/.m2/settings.xml to the corresponding folders in the feature 
-        dir 2) adding the -vm jre/bin option the eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product -->
-
+    <!-- making sure that the jre bundle can be built only on linux.
+    this is due to the fact since Java has problem with setting permissions on 
+    files (this is specifically for the jre/bin files which need to be executable), 
+    Eclipse RCP (http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Ftasks%2Fpde_rootfiles.htm)
+    uses chmod to set these, but since chmod is (usually) available on unix like systems, this check has been added
+     (to be on the safe side) to not allow the jre bundle to be built on other systems. -->
       <id>bundleJre</id>
       <build>
         <plugins>