This is an automated email from the ASF dual-hosted git repository.

jonmeredith pushed a commit to branch cassandra-4.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/cassandra-4.0 by this push:
     new 4e0aad3319 Split and order IDEA workspace template VM_PARAMETERS
4e0aad3319 is described below

commit 4e0aad3319f90eaf7a5e5aed1fd3c5bb7a949fbd
Author: Jon Meredith <https://jonmered...@apache.org>
AuthorDate: Fri Feb 10 10:05:42 2023 -0700

    Split and order IDEA workspace template VM_PARAMETERS
    
    patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-18242
---
 ide/idea/workspace.xml | 40 +++++++++++++++++++++++++++++++++++++---
 1 file changed, 37 insertions(+), 3 deletions(-)

diff --git a/ide/idea/workspace.xml b/ide/idea/workspace.xml
index ba826e39cf..5f28853c98 100644
--- a/ide/idea/workspace.xml
+++ b/ide/idea/workspace.xml
@@ -143,7 +143,14 @@
     <configuration default="true" type="Application" factoryName="Application">
       <extension name="coverage" enabled="false" merge="false" 
sample_coverage="true" runner="idea" />
       <option name="MAIN_CLASS_NAME" value="" />
-      <option name="VM_PARAMETERS" 
value="-Dcassandra.config=file://$PROJECT_DIR$/conf/cassandra.yaml 
-Dcassandra.storagedir=$PROJECT_DIR$/data 
-Dlogback.configurationFile=file://$PROJECT_DIR$/conf/logback.xml 
-Dcassandra.logdir=$PROJECT_DIR$/data/logs 
-Djava.library.path=$PROJECT_DIR$/lib/sigar-bin -DQT_SHRINKS=0 -ea" />
+      <option name="VM_PARAMETERS" value="
+                                          -DQT_SHRINKS=0
+                                          
-Dcassandra.config=file://$PROJECT_DIR$/conf/cassandra.yaml
+                                          
-Dcassandra.logdir=$PROJECT_DIR$/data/logs
+                                          
-Dcassandra.storagedir=$PROJECT_DIR$/data
+                                          
-Djava.library.path=$PROJECT_DIR$/lib/sigar-bin
+                                          
-Dlogback.configurationFile=file://$PROJECT_DIR$/conf/logback.xml
+                                          -ea" />
       <option name="PROGRAM_PARAMETERS" value="" />
       <option name="WORKING_DIRECTORY" value="" />
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
@@ -173,7 +180,25 @@
       <option name="MAIN_CLASS_NAME" value="" />
       <option name="METHOD_NAME" value="" />
       <option name="TEST_OBJECT" value="class" />
-      <option name="VM_PARAMETERS" 
value="-Dcassandra.config=file://$PROJECT_DIR$/test/conf/cassandra.yaml 
-Dlogback.configurationFile=file://$PROJECT_DIR$/test/conf/logback-test.xml 
-Dcassandra.logdir=$PROJECT_DIR$/build/test/logs 
-Djava.library.path=$PROJECT_DIR$/lib/sigar-bin 
-Dlegacy-sstable-root=$PROJECT_DIR$/test/data/legacy-sstables 
-Dinvalid-legacy-sstable-root=$PROJECT_DIR$/test/data/invalid-legacy-sstables 
-Dcassandra.ring_delay_ms=1000 -Dcassandra.skip_sync=true -ea -XX:MaxMet [...]
+      <option name="VM_PARAMETERS" value="
+                                          
-Dcassandra.config=file://$PROJECT_DIR$/test/conf/cassandra.yaml
+                                          
-Dcassandra.logdir=$PROJECT_DIR$/build/test/logs
+                                          -Dcassandra.ring_delay_ms=1000
+                                          -Dcassandra.skip_sync=true
+                                          
-Dcassandra.strict.runtime.checks=true
+                                          
-Dcassandra.test.flush_local_schema_changes=false
+                                          
-Dcassandra.test.messagingService.nonGracefulShutdown=true
+                                          
-Dcassandra.tolerate_sstable_size=true
+                                          
-Dcassandra.use_nix_recursive_delete=true
+                                          
-Dinvalid-legacy-sstable-root=$PROJECT_DIR$/test/data/invalid-legacy-sstables
+                                          
-Djava.library.path=$PROJECT_DIR$/lib/sigar-bin
+                                          
-Dlegacy-sstable-root=$PROJECT_DIR$/test/data/legacy-sstables
+                                          
-Dlogback.configurationFile=file://$PROJECT_DIR$/test/conf/logback-test.xml
+                                          
-Dmigration-sstable-root=$PROJECT_DIR$/test/data/migration-sstables
+                                          -XX:ActiveProcessorCount=4
+                                          -XX:MaxMetaspaceSize=384M
+                                          -XX:SoftRefLRUPolicyMSPerMB=0
+                                          -ea" />
       <option name="PARAMETERS" value="" />
       <fork_mode value="class" />
       <option name="WORKING_DIRECTORY" value="" />
@@ -193,7 +218,16 @@
     <configuration default="false" name="Cassandra" type="Application" 
factoryName="Application">
       <extension name="coverage" enabled="false" merge="false" 
sample_coverage="true" runner="idea" />
       <option name="MAIN_CLASS_NAME" 
value="org.apache.cassandra.service.CassandraDaemon" />
-      <option name="VM_PARAMETERS" value="-Dcassandra-foreground=yes 
-Dcassandra.config=file://$PROJECT_DIR$/conf/cassandra.yaml 
-Dcassandra.storagedir=$PROJECT_DIR$/data 
-Dlogback.configurationFile=file://$PROJECT_DIR$/conf/logback.xml 
-Dcassandra.logdir=$PROJECT_DIR$/data/logs 
-Djava.library.path=$PROJECT_DIR$/lib/sigar-bin -Dcassandra.jmx.local.port=7199 
-ea -Xmx1G" />
+      <option name="VM_PARAMETERS" value="
+                                          -Dcassandra-foreground=yes
+                                          
-Dcassandra.config=file://$PROJECT_DIR$/conf/cassandra.yaml
+                                          -Dcassandra.jmx.local.port=7199
+                                          
-Dcassandra.logdir=$PROJECT_DIR$/data/logs
+                                          
-Dcassandra.storagedir=$PROJECT_DIR$/data
+                                          
-Djava.library.path=$PROJECT_DIR$/lib/sigar-bin
+                                          
-Dlogback.configurationFile=file://$PROJECT_DIR$/conf/logback.xml
+                                          -Xmx1G
+                                          -ea" />
       <option name="PROGRAM_PARAMETERS" value="" />
       <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to