ISIS-839: adding IntelliJ launch configurations to example apps
Project: http://git-wip-us.apache.org/repos/asf/isis/repo Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/ff2b84c4 Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/ff2b84c4 Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/ff2b84c4 Branch: refs/heads/prepare/isis-1.6.0-RC3 Commit: ff2b84c4d08eb4beffabc8259c5edc91db14dd59 Parents: db28e30 Author: Dan Haywood <[email protected]> Authored: Wed Jul 23 22:50:48 2014 +0100 Committer: Dan Haywood <[email protected]> Committed: Thu Jul 24 06:34:31 2014 +0100 ---------------------------------------------------------------------- .../webapp/ide/intellij/launch/README.txt | 2 ++ .../ide/intellij/launch/SimpleApp_PROTOTYPE.xml | 29 ++++++++++++++++++++ .../launch/SimpleApp__enhance_only_.xml | 23 ++++++++++++++++ .../webapp/ide/intellij/launch/README.txt | 3 ++ .../ide/intellij/launch/TodoApp_PROTOTYPE.xml | 29 ++++++++++++++++++++ .../intellij/launch/TodoApp__enhance_only_.xml | 23 ++++++++++++++++ 6 files changed, 109 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/isis/blob/ff2b84c4/example/application/simpleapp/webapp/ide/intellij/launch/README.txt ---------------------------------------------------------------------- diff --git a/example/application/simpleapp/webapp/ide/intellij/launch/README.txt b/example/application/simpleapp/webapp/ide/intellij/launch/README.txt new file mode 100644 index 0000000..5f8e5ab --- /dev/null +++ b/example/application/simpleapp/webapp/ide/intellij/launch/README.txt @@ -0,0 +1,2 @@ +Copy into workspace\.idea\runConfigurations directory, and adjust file paths for Maven tasks. + http://git-wip-us.apache.org/repos/asf/isis/blob/ff2b84c4/example/application/simpleapp/webapp/ide/intellij/launch/SimpleApp_PROTOTYPE.xml ---------------------------------------------------------------------- diff --git a/example/application/simpleapp/webapp/ide/intellij/launch/SimpleApp_PROTOTYPE.xml b/example/application/simpleapp/webapp/ide/intellij/launch/SimpleApp_PROTOTYPE.xml new file mode 100644 index 0000000..4d77092 --- /dev/null +++ b/example/application/simpleapp/webapp/ide/intellij/launch/SimpleApp_PROTOTYPE.xml @@ -0,0 +1,29 @@ +<component name="ProjectRunConfigurationManager"> + <configuration default="false" name="SimpleApp-PROTOTYPE" type="Application" factoryName="Application" singleton="true"> + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> + <option name="MAIN_CLASS_NAME" value="org.apache.isis.WebServer" /> + <option name="VM_PARAMETERS" value="" /> + <option name="PROGRAM_PARAMETERS" value="--type SERVER_PROTOTYPE --port 8080" /> + <option name="WORKING_DIRECTORY" value="file://$MODULE_DIR$" /> + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> + <option name="ALTERNATIVE_JRE_PATH" value="" /> + <option name="ENABLE_SWING_INSPECTOR" value="false" /> + <option name="ENV_VARIABLES" /> + <option name="PASS_PARENT_ENVS" value="true" /> + <module name="simpleapp-webapp" /> + <envs /> + <RunnerSettings RunnerId="Debug"> + <option name="DEBUG_PORT" value="" /> + <option name="TRANSPORT" value="0" /> + <option name="LOCAL" value="true" /> + </RunnerSettings> + <RunnerSettings RunnerId="Run" /> + <ConfigurationWrapper RunnerId="Debug" /> + <ConfigurationWrapper RunnerId="Run" /> + <method> + <option name="Make" enabled="false" /> + <option name="Maven.BeforeRunTask" enabled="true" file="C:/Apache/Isis/core/pom.xml" goal="-f pom-jdo-enhance-all.xml datanucleus:enhance -o" /> + <option name="Maven.BeforeRunTask" enabled="true" file="C:/Apache/Isis/example/application/simpleapp/dom/pom.xml" goal="datanucleus:enhance -o" /> + </method> + </configuration> +</component> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/isis/blob/ff2b84c4/example/application/simpleapp/webapp/ide/intellij/launch/SimpleApp__enhance_only_.xml ---------------------------------------------------------------------- diff --git a/example/application/simpleapp/webapp/ide/intellij/launch/SimpleApp__enhance_only_.xml b/example/application/simpleapp/webapp/ide/intellij/launch/SimpleApp__enhance_only_.xml new file mode 100644 index 0000000..daa30cf --- /dev/null +++ b/example/application/simpleapp/webapp/ide/intellij/launch/SimpleApp__enhance_only_.xml @@ -0,0 +1,23 @@ +<component name="ProjectRunConfigurationManager"> +s <configuration default="false" name="SimpleApp (enhance only)" type="Application" factoryName="Application"> + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> + <option name="MAIN_CLASS_NAME" value="org.apache.isis.Dummy" /> + <option name="VM_PARAMETERS" value="" /> + <option name="PROGRAM_PARAMETERS" value="" /> + <option name="WORKING_DIRECTORY" value="file://$MODULE_DIR$" /> + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> + <option name="ALTERNATIVE_JRE_PATH" value="" /> + <option name="ENABLE_SWING_INSPECTOR" value="false" /> + <option name="ENV_VARIABLES" /> + <option name="PASS_PARENT_ENVS" value="true" /> + <module name="simpleapp-webapp" /> + <envs /> + <RunnerSettings RunnerId="Run" /> + <ConfigurationWrapper RunnerId="Run" /> + <method> + <option name="Make" enabled="false" /> + <option name="Maven.BeforeRunTask" enabled="true" file="C:/Apache/Isis/core/pom.xml" goal="-f pom-jdo-enhance-all.xml datanucleus:enhance -o" /> + <option name="Maven.BeforeRunTask" enabled="true" file="C:/Apache/Isis/example/application/simpleapp/dom/pom.xml" goal="datanucleus:enhance -o" /> + </method> + </configuration> +</component> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/isis/blob/ff2b84c4/example/application/todoapp/webapp/ide/intellij/launch/README.txt ---------------------------------------------------------------------- diff --git a/example/application/todoapp/webapp/ide/intellij/launch/README.txt b/example/application/todoapp/webapp/ide/intellij/launch/README.txt new file mode 100644 index 0000000..16391ab --- /dev/null +++ b/example/application/todoapp/webapp/ide/intellij/launch/README.txt @@ -0,0 +1,3 @@ +Copy into workspace\.idea\runConfigurations directory, and adjust file paths for Maven tasks. + + http://git-wip-us.apache.org/repos/asf/isis/blob/ff2b84c4/example/application/todoapp/webapp/ide/intellij/launch/TodoApp_PROTOTYPE.xml ---------------------------------------------------------------------- diff --git a/example/application/todoapp/webapp/ide/intellij/launch/TodoApp_PROTOTYPE.xml b/example/application/todoapp/webapp/ide/intellij/launch/TodoApp_PROTOTYPE.xml new file mode 100644 index 0000000..d6d7e5f --- /dev/null +++ b/example/application/todoapp/webapp/ide/intellij/launch/TodoApp_PROTOTYPE.xml @@ -0,0 +1,29 @@ +<component name="ProjectRunConfigurationManager"> + <configuration default="false" name="TodoApp-PROTOTYPE" type="Application" factoryName="Application" singleton="true"> + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> + <option name="MAIN_CLASS_NAME" value="org.apache.isis.WebServer" /> + <option name="VM_PARAMETERS" value="" /> + <option name="PROGRAM_PARAMETERS" value="--type SERVER_PROTOTYPE --port 8080" /> + <option name="WORKING_DIRECTORY" value="file://$MODULE_DIR$" /> + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> + <option name="ALTERNATIVE_JRE_PATH" value="" /> + <option name="ENABLE_SWING_INSPECTOR" value="false" /> + <option name="ENV_VARIABLES" /> + <option name="PASS_PARENT_ENVS" value="true" /> + <module name="todoapp-webapp" /> + <envs /> + <RunnerSettings RunnerId="Debug"> + <option name="DEBUG_PORT" value="" /> + <option name="TRANSPORT" value="0" /> + <option name="LOCAL" value="true" /> + </RunnerSettings> + <RunnerSettings RunnerId="Run" /> + <ConfigurationWrapper RunnerId="Debug" /> + <ConfigurationWrapper RunnerId="Run" /> + <method> + <option name="Make" enabled="false" /> + <option name="Maven.BeforeRunTask" enabled="true" file="C:/Apache/Isis/core/pom.xml" goal="-f pom-jdo-enhance-all.xml datanucleus:enhance -o" /> + <option name="Maven.BeforeRunTask" enabled="true" file="C:/Apache/Isis/example/application/todoapp/dom/pom.xml" goal="datanucleus:enhance -o" /> + </method> + </configuration> +</component> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/isis/blob/ff2b84c4/example/application/todoapp/webapp/ide/intellij/launch/TodoApp__enhance_only_.xml ---------------------------------------------------------------------- diff --git a/example/application/todoapp/webapp/ide/intellij/launch/TodoApp__enhance_only_.xml b/example/application/todoapp/webapp/ide/intellij/launch/TodoApp__enhance_only_.xml new file mode 100644 index 0000000..e74845c --- /dev/null +++ b/example/application/todoapp/webapp/ide/intellij/launch/TodoApp__enhance_only_.xml @@ -0,0 +1,23 @@ +<component name="ProjectRunConfigurationManager"> + <configuration default="false" name="TodoApp (enhance only)" type="Application" factoryName="Application"> + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> + <option name="MAIN_CLASS_NAME" value="org.apache.isis.Dummy" /> + <option name="VM_PARAMETERS" value="" /> + <option name="PROGRAM_PARAMETERS" value="" /> + <option name="WORKING_DIRECTORY" value="file://$MODULE_DIR$" /> + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> + <option name="ALTERNATIVE_JRE_PATH" value="" /> + <option name="ENABLE_SWING_INSPECTOR" value="false" /> + <option name="ENV_VARIABLES" /> + <option name="PASS_PARENT_ENVS" value="true" /> + <module name="todoapp-webapp" /> + <envs /> + <RunnerSettings RunnerId="Run" /> + <ConfigurationWrapper RunnerId="Run" /> + <method> + <option name="Make" enabled="false" /> + <option name="Maven.BeforeRunTask" enabled="true" file="C:/Apache/Isis/core/pom.xml" goal="-f pom-jdo-enhance-all.xml datanucleus:enhance -o" /> + <option name="Maven.BeforeRunTask" enabled="true" file="C:/Apache/Isis/example/application/todoapp/dom/pom.xml" goal="datanucleus:enhance -o" /> + </method> + </configuration> +</component> \ No newline at end of file
