提交 73ab6d9f 编写于 作者: J Joram Barrez

Updated and moven Explorer startup script. Also added rebel.xml generation to...

Updated and moven Explorer startup script. Also added rebel.xml generation to any of the web app dependencies such that we now have sweet, lovely and shiny reloading of everything
上级 ab0516ae
......@@ -748,6 +748,39 @@
<module>modules/activiti-engine</module>
</modules>
</profile>
<profile>
<!-- Profile used by the start-explorer.sh script to build the Explorer webapp and all its dependencies -->
<id>buildWebappDependencies</id>
<modules>
<module>modules/activiti-engine</module>
<module>modules/activiti-spring</module>
<module>modules/activiti-explorer</module>
<module>modules/activiti-modeler</module>
<module>modules/activiti-json-converter</module>
<module>modules/activiti-bpmn-converter</module>
<module>modules/activiti-bpmn-model</module>
</modules>
<properties>
<skipTests>true</skipTests>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
......
#!/bin/bash
export MAVEN_OPTS="-Xms521M -Xmx1024M -noverify -javaagent:/Applications/ZeroTurnaround/JRebel/jrebel.jar -Xdebug -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
mvn -Dspring.profiles.active="dev" clean package jetty:run
\ No newline at end of file
cd ..
mvn -T 1C -PbuildWebappDependencies clean install
STATUS=$?
if [ $STATUS -eq 0 ]
then
cd modules/activiti-webapp-explorer2
mvn clean package jetty:run
else
echo "Build failure in dependent project. Cannot boot Activiti Explorer."
fi
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册